ROS2 connection missing Float32MultiArray
Posted: 21 Feb 2024, 11:48
Hello!
I have ran into a following problem when trying to subscribe to rostopic that passes Float32MultiArray type messages
Traceback (most recent call last):
script, line 42, in sysCall_init
Exception in sim.genericFunctionHandler: Unsupported message type 'std_msgs/msg/Float32MultiArray'. You may want to add it to meta/interfaces.txt and recompile the ROS2Interface plugin.
I tried to do as it said in the error message - added std_msgs/msg/Float32MuliArray into meta/interfaces.txt file and recompiled the ROS2Interface plugin as it is said in the tutorial with following commands
But to no success, what could be solution to this problem?
Thanks!
I have ran into a following problem when trying to subscribe to rostopic that passes Float32MultiArray type messages
Traceback (most recent call last):
script, line 42, in sysCall_init
Exception in sim.genericFunctionHandler: Unsupported message type 'std_msgs/msg/Float32MultiArray'. You may want to add it to meta/interfaces.txt and recompile the ROS2Interface plugin.
I tried to do as it said in the error message - added std_msgs/msg/Float32MuliArray into meta/interfaces.txt file and recompiled the ROS2Interface plugin as it is said in the tutorial with following commands
Code: Select all
$ export COPPELIASIM_ROOT_DIR=~/path/to/coppeliaSim/folder
$ ulimit -s unlimited #otherwise compilation might freeze/crash
$ colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
Thanks!