maliput / maliput_infrastructure

Driving simulation repository for workspace .repo indexes, Makefiles, etc.
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Env vars: Issue with debians #278

Closed francocipollone closed 2 years ago

francocipollone commented 2 years ago

From https://github.com/maliput/maliput_infrastructure/issues/269#issuecomment-1172567688

Summary

I tried installing them via apt. While they aren't part in main in the ros2 repository, we can use the ros-testing branch for try them out. See testing

The only conflict I found is related to environment variables after doing source /opt/ros/foxy/setup.bash: maliput-related environment variables aren't pointing correctly to the path:

franco@aerilon $ env | grep maliput
MALIPUT_PLUGIN_PATH=/maliput_malidrive/lib/plugins:/maliput_multilane/lib/plugins:/maliput_dragway/lib/plugins
MALIPUT_MALIDRIVE_RESOURCE_ROOT=/maliput_malidrive/share/maliput_malidrive
MULTILANE_RESOURCE_ROOT=/maliput_multilane/share/maliput_multilane

We are using MALIPUT_MALIDRIVE_RESOURCE_ROOT $COLCON_PREFIX_PATH/maliput_malidrive/share/maliput_malidrive when adding the env var. See maliput_malidrive/setup.sh.in but I think we should use AMENT_CURRENT_PREFIX instead.

francocipollone commented 2 years ago

Fixes are in. I will create releases in maliput_malidrive, maliput_dragway and maliput_multilane.

francocipollone commented 2 years ago
francocipollone commented 2 years ago

Tried it using the testing repositories and it is working correclty