Problems running ros2 with nix
Hey @hanikevi ,
as mentioned I have bugs trying to run ros2 in nix env:
- I built the nix env according to your suggestions here,
- from encoder_dynamics (latest code in main) I run 'nix develop .#ros2' which still works fine,
- If I go ahead and try some ros2 commands in my (nix-jax-ros) env I get bugs:
/nix/store/i1x9sidnvhhbbha2zhgpxkhpysw6ajmr-bash-5.2p26/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/nix/store/i1x9sidnvhhbbha2zhgpxkhpysw6ajmr-bash-5.2p26/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
[ERROR] [1728645758.950466408] [rcl]: Error getting RMW implementation identifier / RMW implementation not installed
(expected identifier of 'rmw_cyclonedds_cpp'), with error message 'failed to load shared library 'librmw_cyclonedds_cpp.so'
due to dlopen error: librmw_cyclonedds_cpp.so: cannot open shared object file: No such file or directory,
at /build/rcutils-release-release-rolling-rcutils-6.9.0-1/src/shared_library.c:99, at
/build/rmw_implementation-release-release-rolling-rmw_implementation-3.0.0-1/src/functions.cpp:65',
exiting with 1., at /build/rcl-release-release-rolling-rcl-9.4.0-1/src/rcl/rmw_implementation_identifier_check.c:143
Thanks!