You are on page 1of 2

ASSIGNMENT 1

ROBOTIC PROGRAMMING LAB


21BRS1191 KUSH KUMAR KUSHWAHA

DATE
AIM: TO SETUP CATKIN WORKSPACE, CREATE A PACKAGE AND WRITE A PYTHON
NODE IN ROS

PROCEDURE AND OUTPUTS:

A. SETTING UP A WORKSPACE
B. CREATING A PACKAGE

C. CREATE A PYTHON NODE AND RUN THE NODE


ENTER ~/ROS_LAB/catkin_ws/src/robot_tut_lab2/scripts and create a python file, say
my_first_node.py and enter the following code:

Now in a seperate shell run roscore and then in the current terminal run the python script to get the
output:

You might also like