rosmsg show unable to load msg (but it does!)
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?
Are you
source
ing your workspace?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.