tier4/AWSIM

ROS2 not working

Closed this issue · 0 comments

Hi,
I just cloned main and have this error with ROS library:

RuntimeError: failed to get symbol 'rmw_init_options_init' due to Environment variable 'AMENT_PREFIX_PATH' is not set or empty, at ./src/functions.cpp:171, at ./src/rcl/init_options.c:75
ROS2.Utils.CheckReturnEnum (System.Int32 ret) (at <2034886caef046439cfa6ebcd9ed8cd7>:0)
ROS2.Ros2cs.Init () (at <2034886caef046439cfa6ebcd9ed8cd7>:0)
ROS2.ROS2ForUnity..ctor () (at Assets/Ros2ForUnity/Scripts/ROS2ForUnity.cs:326)
ROS2.ROS2UnityCore..ctor () (at Assets/Ros2ForUnity/Scripts/ROS2UnityCore.cs:55)
AWSIM.SimulatorROS2Node.Initialize () (at Assets/AWSIM/Scripts/ROS/SimulatorROS2Node.cs:37)

This error is the first then each ROS commands fails.
Do you know what could be the issue? do i need to set AMENT_PREFIX_PATH?

I am already using original version of AWSIM without any issue.