Create an empty labelDefinitionCreatorMultisignal object.
Add a label called 'TrafficLight'.
Add a sublabel named 'RedLight' for label 'TrafficLight'.
Add an attribute named 'Active' to the label 'TrafficLight'. Set the attribute type as 'Logical' with the default value true.
Add an attribute called 'isOn' to the sublabel 'RedLight'. Set the attribute type as 'Logical' with the default value false.
Modify the Attribute Description Under a Label
Display information about the label 'TrafficLight'.
Name: "TrafficLight"
SignalType: Image
LabelType: Rectangle
Group: "None"
LabelColor: {''}
Attributes: "Active"
Sublabels: "RedLight"
Description: ' '
Name: "TrafficLight"
SignalType: PointCloud
LabelType: Cuboid
Group: "None"
LabelColor: {''}
Attributes: "Active"
Sublabels: "RedLight"
Description: ' '
Modify the description of the attribute 'Active' under the label 'TrafficLight'.
Display information about the label 'TrafficLight' to verify the modified attribute description.
Name: "Active"
Type: Logical
DefaultValue: 1
Description: 'Is Active: true (DefaultValue: 1), false (DefaultValue: 0)'
Modify the Attribute Description Under a Sublabel
Display information about the sublabel 'RedLight'.
Name: "RedLight"
Type: Rectangle
LabelColor: ''
Attributes: "isOn"
Sublabels: []
Description: ' '
Modify the description of the attribute 'isOn' under the sublabel 'RedLight'.
Display information about the sublabel 'RedLight' to verify the modified attribute description.
Name: "isOn"
Type: Logical
DefaultValue: 0
Description: 'Is On: true (DefaultValue: 1), false (DefaultValue: 0)'