class MapEvent

June 4, 2021 ยท View on GitHub

Member values

Member nameData typeDescriptionUsage
safety_eventoneof:events SafetyEventMapped safety event (not implemented yet)You can manipulate the field safety_event as if it were a regular field. To clear the value of safety_event and reset it to the default value for its type, you call the ClearField() method of the Message interface. The message class also has a WhichOneof method that lets you find out which field (if any) in the oneof has been set.
gpio_eventoneof:events GpioEventMapped GPIO eventYou can manipulate the field gpio_event as if it were a regular field. To clear the value of gpio_event and reset it to the default value for its type, you call the ClearField() method of the Message interface. The message class also has a WhichOneof method that lets you find out which field (if any) in the oneof has been set.
controller_eventoneof:events ControllerEventMapped controller eventYou can manipulate the field controller_event as if it were a regular field. To clear the value of controller_event and reset it to the default value for its type, you call the ClearField() method of the Message interface. The message class also has a WhichOneof method that lets you find out which field (if any) in the oneof has been set.
namestrMap event friendly nameYou can manipulate the field name as if it were a regular field. To clear the value of name and reset it to the default value for its type, you call the ClearField() method of the Message interface.

Parent topic: Base (Python)