Install RoboStack packages with micromamba
First, Install Micromamba
Section titled “First, Install Micromamba”"${SHELL}" <(curl -L micro.mamba.pm/install.sh)For details, see the official Micromamba Installation instructions.
By default, the installer will set up conda-forge, the prefix location at ~/micromamba, and initialise shell variables in your ~/.bashrc.
Once installed, you can update micromamba with:
micromamba self-updateInstalling 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 environmentmicromamba create -n ros_env -c conda-forge -c robostack-noetic ros-noetic-desktop# Activate the environmentmicromamba activate ros_env# Add the robostack channel to the environmentmicromamba config append channels robostack-noetic --env# Create a ros-humble desktop environmentmicromamba create -n ros_env -c conda-forge -c robostack-humble ros-humble-desktop# Activate the environmentmicromamba activate ros_env# Add the robostack channel to the environmentmicromamba config append channels robostack-humble --env# Create a ros-jazzy desktop environmentmicromamba create -n ros_env -c conda-forge -c robostack-jazzy ros-jazzy-desktop# Activate the environmentmicromamba activate ros_env# Add the robostack channel to the environmentmicromamba config append channels robostack-jazzy --env# Create a ros-kilted desktop environmentmicromamba create -n ros_env -c conda-forge -c robostack-kilted ros-kilted-desktop# Activate the environmentmicromamba activate ros_env# Add the robostack channel to the environmentmicromamba config append channels robostack-kilted --env# Create a ros-lyrical desktop environmentmicromamba create -n ros_env -c conda-forge -c robostack-lyrical ros-lyrical-desktop# Activate the environmentmicromamba activate ros_env# Add the robostack channel to the environmentmicromamba config append channels robostack-lyrical --env# Create a ros-rolling desktop environmentmicromamba create -n ros_env -c conda-forge -c robostack-rolling ros-rolling-desktop# Activate the environmentmicromamba activate ros_env# Add the robostack channel to the environmentmicromamba config append channels robostack-rolling --envInstalling tools for local development
Section titled “Installing tools for local development”micromamba activate ros_envmicromamba 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.
micromamba activate ros_envroscoremicromamba activate ros_envrvizmicromamba 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:
micromamba 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.
micromamba deactivate