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

Daniel Stonier ros.discourse at gmail.com
Tue Dec 20 18:54:01 UTC 2016

The [Capn Proto FAQ](https://capnproto.org/faq.html#how-do-i-make-a-field-required-like-in-protocol-buffers) has a rant about the required field that elucidates (in part) the history behind it.

Note also that both Capn Proto and Protocol Buffers 3 still support the notion of optional - Capn Proto via [unions](https://capnproto.org/faq.html#how-do-i-make-a-field-optional) and Protocol Buffers 3 via [OneOf](https://developers.google.com/protocol-buffers/docs/proto3#oneof).

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

More information about the ros-users mailing list