Install RoboStack packages with Conda
First, install conda
Section titled “First, install conda”To get started, you’ll need a base conda installation. We recommend using the Miniforge installer.
On Debian- and RPM-based distributions, you can also use the Debian and RPM repository for miniconda. To source the base environment:
source /opt/conda/etc/profile.d/conda.shInstalling ROS
Section titled “Installing ROS”There are different channels depending on the version of ROS that you wish to install, to add these channels and install your desired version, you can run the following:
# Create a ros-noetic desktop environmentconda create -n ros_env -c conda-forge -c robostack-noetic ros-noetic-desktop# Activate the environmentconda activate ros_env# Add the robostack channel to the environmentconda config --env --add channels robostack-noetic# Create a ros-humble desktop environmentconda create -n ros_env -c conda-forge -c robostack-humble ros-humble-desktop# Activate the environmentconda activate ros_env# Add the robostack channel to the environmentconda config --env --add channels robostack-humble# Create a ros-jazzy desktop environmentconda create -n ros_env -c conda-forge -c robostack-jazzy ros-jazzy-desktop# Activate the environmentconda activate ros_env# Add the robostack channel to the environmentconda config --env --add channels robostack-jazzy# Create a ros-kilted desktop environmentconda create -n ros_env -c conda-forge -c robostack-kilted ros-kilted-desktop# Activate the environmentconda activate ros_env# Add the robostack channel to the environmentconda config --env --add channels robostack-kilted# Create a ros-lyrical desktop environmentconda create -n ros_env -c conda-forge -c robostack-lyrical ros-lyrical-desktop# Activate the environmentconda activate ros_env# Add the robostack channel to the environmentconda config --env --add channels robostack-lyrical# Create a ros-rolling desktop environmentconda create -n ros_env -c conda-forge -c robostack-rolling ros-rolling-desktop# Activate the environmentconda activate ros_env# Add the robostack channel to the environmentconda config --env --add channels robostack-rollingInstalling tools for local development
Section titled “Installing tools for local development”conda activate ros_envconda install -c conda-forge ros-dev-toolsTesting installation
Section titled “Testing installation”After installation, you should test if you are able to run rviz/rviz2 and other ROS tools.
conda activate ros_envroscoreconda activate ros_envrvizconda activate ros_envrviz2If you run into any issues or for any frequently asked questions, you can check the FAQ page
Updating
Section titled “Updating”Updating all packages in your environment is as easy as:
conda update --allDeactivating
Section titled “Deactivating”The (de)activation of the ros workspace goes in together with the conda environment. So running the corresponding (de)activation command will also (un)source the ros environment.
conda deactivate