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

Can ROS message declare as type list and set ?

asked 2017-08-20 01:11:09 -0500

ChampionWay gravatar image

updated 2017-08-20 01:13:59 -0500

I would like to define a ROS message, and I try to declare one of them as type "list" and "set" however it cannot catkin_make, it said that type "list" has nothing to depends on Do anyone have experience in this situation?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-08-20 03:55:00 -0500

gvdhoorn gravatar image

updated 2017-08-20 04:51:28 -0500

list and set are not natively supported field types in the ROS msg idl.

Unbouned arrays would probably be equivalent to a list.

I don't think there is a way to get set semantics (ie: collections with a uniqueness guarantee on items) without user-level code (ie: msg producer and consumer) enforcing that.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2017-08-20 01:11:09 -0500

Seen: 495 times

Last updated: Aug 20 '17