Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

ssh root@desktop1.ros.campusrover.org -p 2222
100.89.2.122 desktop-1 \ / robot-1 100.89.2.122
\ /
100.99.32.12 desktop-2 - - - - - robot-2 100.99.31.234
/ \
100.88.77.234 desktop-3 / \ robot-3 100.86.232.111
ssh root@100.89.2.122 # IP of robot-1ip addr show dev tailscale0 | grep -Eo '([0-9]{1,3}[\.]){3}[0-9]{1,3}'cat /etc/hostnamesudo apt-get update
sudo apt-get upgrade
wget https://raw.githubusercontent.com/ROBOTIS-GIT/robotis_tools/master/install_ros_melodic.sh && chmod 755 ./install_ros_melodic.sh && bash ./install_ros_melodic.shsudo apt-get install ros-melodic-joy ros-melodic-teleop-twist-joy ros-melodic-teleop-twist-keyboard ros-melodic-laser-proc ros-melodic-rgbd-launch ros-melodic-depthimage-to-laserscan ros-melodic-rosserial-arduino ros-melodic-rosserial-python ros-melodic-rosserial-server ros-melodic-rosserial-client ros-melodic-rosserial-msgs ros-melodic-amcl ros-melodic-map-server ros-melodic-move-base ros-melodic-urdf ros-melodic-xacro ros-melodic-compressed-image-transport ros-melodic-rqt-image-view ros-melodic-gmapping ros-melodic-navigation ros-melodic-interactive-markers ros-melodic-turtle-tf2 ros-melodic-tf2-tools ros-melodic-tfcd ~/catkin_ws/src/
# Robotis
git clone https://github.com/ROBOTIS-GIT/turtlebot3_msgs.git
git clone https://github.com/ROBOTIS-GIT/turtlebot3.git
git clone https://github.com/ROBOTIS-GIT/turtlebot3_simulations.git
# Cosi119a PRR Samples
git clone https://github.com/campusrover/prrexamples.git
exitcd ~/catkin_ws && catkin_make

BE SURE TO CHECK THE BOX TO INSTALL THIRD PARTY SOFTWARE. Without this, you will be unable to connect to WiFi.DO NOT SELECT THE OPTION TO ERASE DISK AND INSTALL UBUNTU. THIS WILL ERASE YOUR CURRENT OS AND MEMORY. BE SURE TO SELECT "SOMETHING ELSE"Use as: ext4
format: checked
Mount point = /Use as: ext4
format: checked
Mount point = /home nmcli con add type wifi con-name "eduroam" ifname wlan0 ssid "eduroam" wifi-sec.key-mgmt wpa-eap 802-1x.identity "exampleemail@brandeis.edu" 802-1x.password "examplepassword123" 802-1x.system-ca-certs yes 802-1x.eap "peap" 802-1x.phase2-auth mschapv2inactivesudo systemctl start sshsudo systemctl enable ssh
sudo apt-get remove tailscale
sudo rm /var/lib/tailscale/tailscaled.state
sudo nano /etc/hostname
# change the hostname in this file from "roba" to your robot's name
sudo reboot now
sudo apt-get install tailscale
sudo tailscale up --authkey=ask-pito-for-code
export OPENCR_PORT=/dev/ttyACM0
export OPENCR_MODEL=burger_noetic # or waffle_noetic if you have a waffle tb3
rm -rf ./opencr_update.tar.bz2
wget https://github.com/ROBOTIS-GIT/OpenCR-Binaries/raw/master/turtlebot3/ROS1/latest/opencr_update.tar.bz2
tar -xvf opencr_update.tar.bz2
cd ./opencr_update
./update.sh $OPENCR_PORT $OPENCR_MODEL.opencr
/{namespace_you_choose}/cmd_vel instead of /cmd_vel. Open the move_base.launch file in the launch folder, you will see why it worked.turtlebot3_navigation.rviz with VSCode or other realiable code editors, since this file is long and a bit messy. Topic: /move_base/local_costmap/footprint
` Topic: /roba/move_base/local_costmap/footprintnano ~/.bashrcexport ROS_NAMESPACE={namespace_you_choose}alias bu='roslaunch turtlebot3_bringup turtlebot3_robot.launch'
export IP="$(ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p')"
export ROS_IP=$IP
export ROS_MASTER_URI=http://roscore1.cs.brandeis.edu:11311
export ROS_NAMESPACE=roba
export TB3_MODEL=burger
export TURTLEBOT3_MODEL=burger <!-- move_base -->
<include file="$(find turtlebot3_navigation)/launch/move_base.launch">
<arg name="model" value="$(arg model)" />
<arg name="move_forward_only" value="$(arg move_forward_only)"/>
</include>
<!-- rviz -->
<group if="$(arg open_rviz)">
<node pkg="rviz" type="rviz" name="rviz" required="true"
args="-d $(find turtlebot3_navigation)/rviz/turtlebot3_navigation.rviz"/>
</group> <!-- Arguments -->
<arg name="model" default="$(env TURTLEBOT3_MODEL)" doc="model type [burger, waffle, waffle_pi]"/>
<arg name="map_file" default="$(find turtlebot3_navigation)/maps/map.yaml"/>
<arg name="open_rviz" default="true"/>
<arg name="move_forward_only" default="false"/>
<arg name="cmd_vel_topic" default="/{namespace_you_choose}/cmd_vel"/><!-- move_base -->
<include file="$(find turtlebot3_navigation)/launch/move_base.launch">
<arg name="model" value="$(arg model)" />
<arg name="move_forward_only" value="$(arg move_forward_only)"/>
<arg name="cmd_vel_topic" value="$(arg cmd_vel_topic)"/>
</include>
100.89.2.122 desktop-1 \ / robot-1 100.89.2.122
\ /
100.99.32.12 desktop-2 - - - - - robot-2 100.99.31.234
/ \
100.88.77.234 desktop-3 / \ robot-3 100.86.232.111
Ubuntu 20.04chmod +x pi_connect.sh
# Run the script with the authkey
sudo ./pi_connect.sh tskey-123abc456
# On successful connect, you should see this
Connected. IP address: 100.xx.xxx.xxxssh pi@100.xx.xxx.xxx# Replace with the robot's Tailscale IP
export ROS_MASTER_URI=http://100.xx.xxx.xxx:11311/
export ROS_IP=100.xx.xxx.xxx# Replace with the robot's Tailscale IP
export ROS_MASTER_URI=http://100.xx.xxx.xxx:11311/
# Replace with the cloud desktop's IP
export ROS_IP=172.xx.xxx.xxxrostopic listchmod +x pi_connect.sh
# Run the script with the authkey
sudo ./pi_connect.sh tskey-123abc456
# On successful connect, you should see this
Connected. IP address: 100.xx.xxx.xxxsudo ./pi_connect.sh tskey-123abc456$(ps -xo comm | grep MacOS/Tailscale$) up --authkey=tskey-123abc456 --accept-routessudo tailscale up --authkey=tskey-123abc456 --accept-routesalias bu='roslaunch turtlebot3_bringup turtlebot3_robot.launch'
export ROS_MASTER_URI=http://roscore1.cs.brandeis.edu:11311
export ROS_NAMESPACE=roba
export ROS_IP=<ip address of computer where this .bashrc is stored>
export TB3_MODEL=burger
export TURTLEBOT3_MODEL=burgerroslaunch turtlebot3_bringup turtlebot3_robot.launchalias connect='ssh $ROBOT@$ROBOT.dyn.brandeis.edu'
export ROBOT=robc
export ROS_MASTER_URI=http://$ROBOT.dyn.brandeis.edu:11311
export IP="$(ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p')"
export ROS_IP=$IP