-
Notifications
You must be signed in to change notification settings - Fork 0
STARDOS Setup
STARDOS is currently on ROS2 version Humble. ROS2 versions mirror Ubuntu versions- so we'll need a machine with Ubuntu 22.04 installed to run Humble.
If you're setting up STARDOS for testing, you may want to use 22.04 Desktop.
If you're setting up on a payload, VM, or other headless STARDOS machine, you'll want 22.04 Server.
To start off, you'll probably want to remove any snaps from the system. They add bloat and interop poorly with other programs. The process needs to be updated now and again, but this guide can show you the general process.
Install the version required for your hardware as normal. Make sure you install python and pip, as well as some common build dependencies:
sudo apt install python3 python3-pip build-essential
Next, install Humble from the instructions provided on the ROS2 wiki. Make sure you install the ros-humble-desktop-full package to include build dependencies like colcon.
Make sure you set your environment variables for ROS2 by adding the setup.bash (matching your shell's extension) to your shell's rc file.
Clone the aggieair/STARDOS repo to the VM. You may need to add a new SSH key to your account first, to validate who you are.
git clone git@github.com:AggieAir/STARDOS.git && git submodule init && git submodule update
After this, try running colcon build in the root directory. If you receive an error like /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools., follow the instructions on this ROS Answers question to downgrade the setuptools package to the appropriate version.