You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use ros-imc-broker as a bridge between ROS and Dune. At this stage, I am running simulations in Dune (e.g. lauv-xplore-1.ini) and intend to subscribe to the generated messages, e.g. /IMC/In/Temperature, IMC/In/Depth, IMC/In/Pressure, etc.
I am using ROS Noetic on Ubuntu 20.04. I had to update the code to C++11, by replacing lines 61 & 63 of params_changer_node.cpp as follows:
I am not compiling the code in a docker container, but rather as a normal ROS package. I am also running dune and neptus for the simulations.
With rostopic list, I can see the full list of messages. By running the Dune simulator on its own (i.e. without initialising a simulated deployment in Neptus), rqt_graph shows that the /IMC/In/Temperature message is being passed by /ros_imc_broker_node to the /settings node.
However, running rostopic echo /IMC/In/Temperature
returns the following error: ERROR: Cannot load message class for [imc/Temperature]. Are your messages built?
I would be tempted to update the CMakeList.txt file, but before going down that route, I was just wondering if you could quickly point out to me where I am going wrong?
Many thanks!
The text was updated successfully, but these errors were encountered:
I am also getting "ERROR: Cannot load message class for [message]. Are your messages built?" Did anyone find a solution to this problem? I noticed someone had a similar problem a few years back (#1 ), but adding -pthread to the CMake file does not work. I am also on Ubuntu 20.04 & ROS Noetic, trying to bridge DUNE and ROS.
I am trying to use
ros-imc-broker
as a bridge between ROS and Dune. At this stage, I am running simulations in Dune (e.g.lauv-xplore-1.ini
) and intend to subscribe to the generated messages, e.g./IMC/In/Temperature
,IMC/In/Depth
,IMC/In/Pressure
, etc.I am using ROS Noetic on Ubuntu 20.04. I had to update the code to C++11, by replacing lines 61 & 63 of
params_changer_node.cpp
as follows:I am not compiling the code in a docker container, but rather as a normal ROS package. I am also running
dune
andneptus
for the simulations.With
rostopic list
, I can see the full list of messages. By running the Dune simulator on its own (i.e. without initialising a simulated deployment in Neptus),rqt_graph
shows that the/IMC/In/Temperature
message is being passed by/ros_imc_broker_node
to the/settings
node.However, running
rostopic echo /IMC/In/Temperature
returns the following error:
ERROR: Cannot load message class for [imc/Temperature]. Are your messages built?
I would be tempted to update the
CMakeList.txt
file, but before going down that route, I was just wondering if you could quickly point out to me where I am going wrong?Many thanks!
The text was updated successfully, but these errors were encountered: