Basic Rospy code to move turtlebot forward and rotate for x number of seconds.
Unfortunely, for now docker version of ROS has issues relating to real sense lib, so manual download on VM or local is required.
-
Install Ubuntu 16.04
-
Install ROS Kinetic full desktop version http://wiki.ros.org/kinetic/Installation/Ubuntu
-
Install Extra Packages for turtlebots https://yainnoware.blogspot.com/2018/09/install-turtlebot-on-ros-kinetic-ubuntu.html
-
If you are using VM - Fix issue with listening on image view (rosrun image_view image_view image:=/camera/rgb/image_raw fails) https://stackoverflow.com/questions/55181205/gazebo-crashing-when-subscribing-to-scan
- Ensure main node is running
roslaunch turtlebot_bringup minimal.launch
ORroslaunch turtlebot_gazebo turtlebot_world.launch
- Run move.py in specified pacakage.
rosrun [package] move.py
- If running in simulator and you are having issues with time durations:
- rosparam set /use_sim_time false