Moving around

From Lofaro Lab Wiki
Jump to: navigation, search

change directory

cd catkin_ws/src

clone the package

git clone nodes

move up one directory

cd ..

run catkin make


make the python scripts executable

sudo chmod +x src/nodes/files/

Close all the terminals and open a new terminal and run


Now open a new terminal and run command to open gazebo with 2 youbots

roslaunch youbot_gazebo_robot youbot.launch 

Open a new terminal and run the python script

rosrun nodes

You should see 2 youbots doing movements such as forward, backwards, sideways, and rotating.