Public Member Functions | |
def | __init__ |
Create A Horizon Message Payload. | |
def | print_format |
Human Readable Payload String. | |
Public Attributes | |
raw_currents |
Horizon Message Payload - Raw Current Data
Definition at line 3364 of file payloads.py.
def clearpath.horizon.payloads.RawCurrentSensor.__init__ | ( | self, | |
raw = None , |
|||
timestamp = 0 |
|||
) |
Create A Horizon Message Payload.
Constructor for the Horizon Payload class.
Creates a basic message payload which is simply a byte list.
Subclass overrides should throw ValueError if invalid format and LookupError if it has version detection problems (if supported).
raw | Raw data buffer to parse |
timestamp | Payload Send / Create Time (milliseconds) |
LookupError | If auto-detect version fails |
ValueError | If values are out of range or if raw is invalid |
Create A Horizon Message Payload
Reimplemented from clearpath.horizon.payloads.RawSensor.
Definition at line 3367 of file payloads.py.
Human Readable Payload String.
Return the payload as a human readable string
Reimplemented from clearpath.horizon.payloads.Payload.
Definition at line 3374 of file payloads.py.
Definition at line 3367 of file payloads.py.