Skip to content

Instantly share code, notes, and snippets.

@rpapallas
Created May 11, 2023 14:18
Show Gist options
  • Save rpapallas/3e328e3917656aa66d5330c868ec7609 to your computer and use it in GitHub Desktop.
Save rpapallas/3e328e3917656aa66d5330c868ec7609 to your computer and use it in GitHub Desktop.
Running real-robot commands in singularity
  1. Download this zip file from the link provided.
  2. Unzip the file.
  3. cd into the new folder (realrobot).
  4. 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.
  5. Then run ./run_singularity.sh you are now in the container.
  6. If not in your .bashrc, you need to run: source /opt/ros/noetic/setup.bash
  7. 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 run catkin_make. Now run source 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 run source devel/setup.bash in every terminator window.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment