Gazebo | Ignition | Community
Ask Your Question
0

sdf required attribute

asked 2019-08-18 22:02:11 -0600

xuzhongxing gravatar image

In sdf schema element definition, there is a "required" attribute. It's value might be "1", "0", "". What is the meaning of "" in this context?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-08-19 12:53:33 -0600

chapulina gravatar image

As documented here, these are the possible values for required:

  • 1: Exactly one is required
  • +: At least one is required, may have more
  • *: Zero or more elements are accepted
  • 0: Optional, not required, If present, there should be only one.
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-08-18 22:02:11 -0600

Seen: 95 times

Last updated: Aug 19 '19