ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

unable to load msg: invalid name

asked 2017-01-08 06:05:17 -0600

hvn gravatar image


Using Ubuntu 16.04, ROS Kinetic and Python, I've created a msg in ~/catkin_ws/src/roboti_pi/msg: Num.msg with content:

int32[] data

My code to use this message:

a = Num() = [1, 2, 3]

This somehow gives an error for Num() so from ~/catkin_ws, I checked as shown at with "rosmsg show src/roboti_pi/msg/Num and the result is

unable to load msg [src/roboti_pi/msg/Num]: invalid name [src/roboti_pi/msg/Num]

But what's invalid about it?



edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-01-08 06:07:32 -0600

NEngelhard gravatar image

updated 2017-01-08 13:49:02 -0600

ahendrix gravatar image

It should be rosmsg show robot_pi/Num

edit flag offensive delete link more


Thank you! This works.

hvn gravatar image hvn  ( 2017-01-08 06:13:40 -0600 )edit

Question Tools

1 follower


Asked: 2017-01-08 06:05:17 -0600

Seen: 913 times

Last updated: Jan 08 '17