-
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.
There exists a script to set up a STARDOS environment. I think it works. Answer the questions it asks and it should set everything up nicely.
You can also get everything yourself using the following steps.
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 idea.
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.
There are multiple ways to acquire the STARDOS source files.
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. This may not be fully up-to-date, and it may not be comprehensive but it can work.
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.
You can also download stardos packages individually by placing them all in /opt/stardos/workspace.