Robotics StackExchange | Archived questions

rospy diagnostic

host ubuntu 16.04

ros:kinetic

Other message objects imported with rospy seems to have (as expected) the msg as the only attribute with sub items for each message in the class/message group. for some reason import diagnostic_msgs returns an object with no msg attribute and therefor none of the expected/required messages

can someone else confirm the issue? or help with a solution

Output showing geometrymsgs and diagnosticmsgs in the debugger;

image description

image description

i can publish topics to the instance of ROS (via rosbridge) just fine, i just can create subscriber because of this issue.

Asked by erics on 2017-06-09 16:30:59 UTC

Comments

Could I ask you to attach your screenshot to this question directly? I've given you enough karma to do that. Thanks.

Asked by gvdhoorn on 2017-06-10 01:57:04 UTC

@gvdhoorn, updated as requested. I was able to work around this by creating a custom message type (which was a non-trivial to get to work as well). So: a 10lb cure for a 1lb problem.

Asked by erics on 2017-06-12 15:19:14 UTC

Answers