Step 1 :~$ roscore
Step 2 click Webots icon to launch Webots
Step 3 :~$ rosrun webots_ros rosbot_webots
Step 4 :~$ rosrun my_rosbot rosbot_move
rosbot_move.cpp instructs the robot to move from the starting point to the ending point using the pre-defined hard-coded route. For point-to-point motion, robot starts off with acceleration before travelling at a constant velocity. It will decelerate before stopping at the following point.
Ещё видео!