ssh turtle@<TURTLEBOTP_IP>
|
echo export ROS_MASTER_URI=http://IP_OF_TURTLEBOT:11311 >> ~/.bashrc
echo export ROS_HOSTNAME=IP_OF_TURTLEBOT >> ~/.bashrc
|
*NOTE: Source the .bashrc in each terminal, before you try to run any launch file. Always run “roscore” on the turtlebot laptop.
roslaunch turtlebot_bringup minimal.launch
|
echo export ROS_MASTER_URI=http://IP_OF_TURTLEBOT:11311 >> ~/.bashrc
echo export ROS_HOSTNAME=IP_OF_PC >> ~/.bashrc
|
roslaunch turtlebot_teleop keyboard_teleop.launch
|
- Press the keys listed in the terminal and move the turtlebot around.
Note: Most of the commands run successfully in the remote PC/laptop after ssh-ing into the Turtlebot. However, Rviz should be run in a different terminal (not in the ssh-ed terminal).