(See also: Turtlebot Bringup Tutorial and Turtlebot Teleoperation Tutorial. )
rosdep update rospack profile
roslaunch turtlebot_bringup minimal.launchIf all goes well, the terminal should fill with notification messages and the robot should make a pleasant electronic startup sound.
roslaunch turtlebot_teleop keyboard_teleop.launchOnce the instructions appear you should be able to drive your Turtlebot from the keyboard.
ifconfig
into a terminal window. You should see something like:
eth0 Link encap:Ethernet HWaddr b8:88:e3:46:b4:db UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:18 eth1 Link encap:Ethernet HWaddr e0:06:e6:16:ed:bd inet addr:134.126.83.227 Bcast:134.126.87.255 Mask:255.255.248.0 inet6 addr: fe80::e206:e6ff:fe16:edbd/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:84410 errors:0 dropped:0 overruns:0 frame:5372523 TX packets:5590 errors:16 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:12745516 (12.7 MB) TX bytes:856694 (856.6 KB) Interrupt:17 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:311754 errors:0 dropped:0 overruns:0 frame:0 TX packets:311754 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:93860812 (93.8 MB) TX bytes:93860812 (93.8 MB)You are looking for an "inet addr" field that looks like an IP address. In this case it is 134.126.83.227. Note that IP address for later use.
ssh -X robot@134.126.83.227
Work through the ROS Tutorials on nodes and topics.
If you have extra time, test your new found knowledge of nodes and
topics by switching on the Turtlebot's LED's from the command line.
You will need publish an appropriate message to the appropriate topic
using the rostopic
command.