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

rosmsg show Num error

asked 2019-03-20 12:28:27 -0500

Leo Lee gravatar image

updated 2019-03-21 03:43:33 -0500

jayess gravatar image

I'm following the ROS Tutorial ''Creating a ROS msg and srv'' and meet a problem. When I type

$ rosmsg show Num

It shows

Unable to load msg [beginner_tutorials/Num]: /home/xxx/catkin_ws/src/beginner_tutorials/msg/Num.msg: Invalid declaration: int 64 num

can anybody explain this error? thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2019-03-20 12:42:22 -0500

Looks like you have an extra space in your Num.msg message definition. It should be int64 num not int 64 num.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-03-20 12:28:27 -0500

Seen: 258 times

Last updated: Mar 21 '19