Hello everyone!
The conda-forge packages for Gazebo Jetty are now available. That means that you can run:
conda create -n gzjetty -c conda-forge gz-jetty
conda activate gzjetty
or
pixi init .
pixi add gz-jetty
pixi shell
and then you would be able to run gz sim or any other Gazebo command on Linux, macOS or Windows.
This package contain all the new features described in Gazebo Jetty Released!, and some conda-specific changes, described in the following.
Support for gz sim command on Windows and macOS
This is not really something conda-specific, but as conda-forge is a multi-platform focused package manager, it is probably worth stress that with Gazebo Jetty now the command:
gz sim
works out of the box also on Windows and macOS, there is no need to launch separately the gz sim -s for the server and gz sim -g for the client.
Versionless package names
Coherently with official apt and homebrew packages, also on conda-forge with Gazebo Jetty the package names of Gazebo packages dropped the major version from the name of the package.
So for example if you want to install with conda gz-math 9, you can install it as:
conda create -n gzmath9 -c conda-forge gz-math=9.*
In the specific case of conda-forge packages, the versionless package names have been backported also to Gazebo Harmonic and Gazebo Ionic packages, so for example if you want to install earlier versions of gz-math you can simply install them as:
conda create -n gzmath8 -c conda-forge "gz-math=8.*"
or
conda create -n gzmath7 -c conda-forge "gz-math=7.*"
see Add versionless outputs · Issue #102 · conda-forge/gz-sim-feedstock · GitHub for the original issue tracking this improvement.
Distro metapackages
Historically apt and homebrew packaging of Gazebo included helper metapackages to install all packages of a given distro, like gz-harmonic or gz-ionic . This was lacking in conda-forge, but with Gazebo Jetty you can now simply install the gz-jetty metapackage to install all Gazebo Jetty packages, as show in the top of this post:
conda create -n gzjetty -c conda-forge gz-jetty
As for versionless package names, also this change was backported to Gazebo Harmonic and Gazebo Ionic, so you can easily install those Gazebo distros:
conda create -n gzionic -c conda-forge gz-ionic
or
conda create -n gzharmonic -c conda-forge gz-harmonic
Feedback
If you encounter any issues in using conda-forge Gazebo packages, feel free to open an issue in https://github.com/conda-forge/gz-sim-feedstock/issues or in the feedstock repo for the specific library for which you are experience problems.