plug in battery and turn on robot with the power switch, give it a moment and wait for the lidar to start spinning.
run tailscale status | grep <name>
to find the robot’s IP address. Replace with the name of the robot you are trying to connect to.
go to .bashrc in my_ros_data folder and get it to look like this with your robot’s name and IP address instead:
Open a new terminal and you should see:
You can then ssh into the robot, ssh ubuntu@100.117.252.97
(enter your robot’s IP) and enter the password that is in the lab.
Once onboard the robot, enter the command bringup
which starts roscore and the Turtlebot’s basic functionalities. For the Platform robots, run this: roslaunch platform full_bringup.launch
After that, open a new terminal (you’ll be in real mode again) and run your program!
To go back to simulation mode, go back to .bashrc and uncomment the settings for simulation mode and comment out the settings for a physical robot. Or type the command sim
in the terminal. You will need to do this in every terminal that you open then. To switch to real mode, type command real
.
When you're done, run sudo shutdown now
onboard the robot (where is ran bringup) and then turn off the robot with the power switch.