[[Tutorial using ROS for ver.3]]

* Turtlebot2 follows a human [#turtlebot2_follower]

** Startup Procedure [#y3f07e57]

Start the Ubuntu side and then the Windows side.

*** Ubuntu side startup procedure [#ge25aa6a]

Open a new terminal and run the following command:
 $ roslaunch sigverse_turtlebot2 follower.launch 


*** Windows side startup procedure [#u521891c]

Start the [Assets/SIGVerse/SampleScenes/Turtlebot2/Turtlebot2Follower(.unity)] scene with reference to [[here>Tutorial using ROS for ver.3#open_scene]].


** Run [#b584cb20]

When you press the arrow key on the Unity screen, the human avatar moves and TurtleBot2 follows the avatar.
When you press the arrow key after focusing on the Unity screen, the human avatar moves and TurtleBot2 follows the avatar.

~* To check the TurtleBot2 camera image on the ROS side, execute 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

If you want to finish, stop the Unity side and then the ROS side.

#ref(TurtleBot2Follower.png)


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