rosgraph_msgs

asked 2019-05-28 04:17:49 -0500

Aesz14 gravatar image

Hello,

I'm trying to do a simple suscriber on rosout but I can't get it to work (I'm a begineer).

I'm working on a computer from work.

When I type "rosgraph_msgs.msg import Clock", python says "can't open file 'rosgraph_msgs' : [Errno 2] No such file or directory".

I'm on Ubuntu 14.04.6 Lts. I'm using ROSindigo. I can't understand why I can't import a basic dependancy when Ros itself is working very fine (I can, for instance, display the data of the topic rosout when it's running).

"from std_msgs.msg import String" works too. Just not "from rosgraph_msgs.msg import Clock". I don't understand why.

If you have any ideas,

Kind Regards,

edit retag flag offensive close merge delete