rosmsg show unable to load msg (but it does!)

asked 2021-04-01 19:44:54 -0500

Kansai gravatar image

updated 2021-04-01 19:45:17 -0500

Something strange is happening in a code I am working on.

There is a custom message protocol_msgs/amessage. When I do rosmsg show protocol_msgs/amessage I got unable to load msg [protocol_msgs/amessage] cannot locate message [amessage] unknown package [protocol_msgs]

when I do rosmsg list the message is not listed

Now the strange part: A topic of type protocol_msgs/amessage is publishing without problem!!

How can this be happening?

edit retag flag offensive close merge delete

Comments

Are you sourceing your workspace?

jayess gravatar image jayess  ( 2021-04-01 20:16:58 -0500 )edit

it seems I am. Although the structure of my code is unusual (devel is not next to build but inside) when I do echo $ROS_PACKAGE_PATH the ws appears.

Kansai gravatar image Kansai  ( 2021-04-01 20:44:27 -0500 )edit