ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

rosmsg show Num error

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

Leo Lee gravatar image

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

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

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


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

Seen: 219 times

Last updated: Mar 21 '19