- Download this zip file from the link provided.
- Unzip the file.
- cd into the new folder (realrobot).
- Run
./enable_usb_rules.sh
on your machine (not in the container). Will ask you for root password, will copy some USB rules under/etc/udev/rules.d
to allow the laptop to recognise the robot and the camera when connected through USB. - Then run
./run_singularity.sh
you are now in the container. - If not in your
.bashrc
, you need to run:source /opt/ros/noetic/setup.bash
- Within the unzipped folder, there is a new
catkin_ws
(different from your~/catkin_ws
, feel free to merge if you want). Go there:cd catkin_ws
(not~/catkin_ws
but probably~/Downloads/realrobot/catkin_ws
) and runcatkin_make
. Now runsource devel/setup.bash
You should be able to run the commands on the real robot. You can open multiple terminal windows using:terminator &
from that main singularity window. You will need to runsource devel/setup.bash
in every terminator window.
Created
May 11, 2023 14:18
-
-
Save rpapallas/3e328e3917656aa66d5330c868ec7609 to your computer and use it in GitHub Desktop.
Running real-robot commands in singularity
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment