[ros-users] [Discourse.ros.org] [Next Generation ROS] Optional Fields in Message

Daniel Stonier ros.discourse at gmail.com
Wed Dec 21 02:42:16 UTC 2016




> Can you clarify what you mean by this? Are you trying to represent an arbitrary REST message?

Alexandre is the technical guy :) 

More simply, yes we were trying to represent or parse an arbitrary REST message. I wanted our ROS guys to talk to an external REST service without having to know or use REST.  Once the REST API is known, in most cases we can spec the ROS engineers a set of messages and services they can use that will talk to the REST service via ROStful. Unfortunately that REST service is not always something we design/control, so it will often have optional fields in it.

Vice versa also happens - if we do have control over the design of the REST api, then the REST lads are then forced to become aware of the non-optional constraint.






---
[Visit Topic](https://discourse.ros.org/t/optional-fields-in-message/991/11) or reply to this email to respond.




More information about the ros-users mailing list