Tutorial using ROS for ver.3

Turtlebot2 follows humans

Startup procedure

First, start Ubuntu. Then start Windows.

Ubuntu side startup procedure

Open a new terminal and run the following command:

$ roslaunch sigverse_turtlebot2 follower.launch 

Windows startup procedure

Start the [Assets/SIGVerse/SampleScenes/Turtlebot2/Turtlebot2Follower(.unity)] scene with reference to here.

Run

When the cross key is operated with the focus on the Windows Unity screen, the avatar moves and TurtleBot2 follows the avatar.

If you want to check the TurtleBot2 camera image on the ROS side, you can check it with the following command.

$ rosrun image_view image_view image:=/camera/rgb/image_raw

You can also check with rviz.

$ roslaunch turtlebot_rviz_launchers view_robot.launch

When exiting, stop the Unity side before exiting the ROS side.

TurtleBot2Follower.png

Front page   New List of pages Search Recent changes   Help   RSS of recent changes