This tool sets up the turtlebot2-tutorials
environment so that the tutorials can run without setup. It assumes that the ROS setup has been completed.
Use git to copy this entire repository onto your Turtlebot and Master computer and follow the other commands:
git clone --recursive https://github.com/dabit-industries/turtlebot2-tutorials ~/turtlebot2-tutorials
If you’d like the most recent version of the code on this site, you can update it with following commands:
cd ~/turtlebot2-tutorials
git pull
These commands are to be run on both the Master and Turtlebot computer
cd ~/turtlebot2-tutorials
source ~/turtlebot2-tutorials/Setup/automated/automate.sh
Environment setup successful
dabit-setup-utility install
~/catkin_ws
and ~/workspace
to ~/backup/old_workspace_DD-MM-YY_hh-mm-ss
change_master IP_OF_TURTLEBOT
roslaunch turtlebot_bringup minimal.launch
rosrun turtlebot_dabit roscpp_hello_world
You should see the following in your terminal:
[ INFO] [1492930878.699859775]: Hello from ROS node /roscpp_example
These commands are to be run on both the master and turtlebot computer
dabit-setup-utility update
dabit-setup-utility reset
~/catkin_ws
and ~/workspace
to ~/backup/old_workspace_DD-MM-YY_hh-mm-ss
dabit-setup-utility install
~/catkin_ws
and ~/workspace
to ~/backup/old_workspace_DD-MM-YY_hh-mm-ss
roslaunch turtlebot_dabit turtlebot.launch
rosrun turtlebot_dabit rospy_hello_world.py
rosrun turtlebot_dabit rospy_opencv.py
roslaunch turtlebot_bringup 3dsensor.launch
before running this coderosrun turtlebot_dabit rospy_example_class
rosrun turtlebot_dabit roscpp_hello_world
rosrun turtlebot_dabit roscpp_opencv
roslaunch turtlebot_bringup 3dsensor.launch
before running this coderosrun turtlebot_dabit roscpp_pcl_example
rosrun turtlebot_dabit roscpp_publisher
rosrun turtlebot_dabit roscpp_subscriber
roslaunch turtlebot_dabit arduino.launch
WORK-IN-PROGRESS
rqt_image_view
doesn’t runsudo apt remove python-qt4