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

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

Stats

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

Seen: 98 times

Last updated: Mar 21 '19