Public Member Functions | Public Attributes
clearpath.horizon.payloads.RawCurrentSensor Class Reference
Inheritance diagram for clearpath.horizon.payloads.RawCurrentSensor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
 Create A Horizon Message Payload.
def print_format
 Human Readable Payload String.

Public Attributes

 raw_currents

Detailed Description

Horizon Message Payload - Raw Current Data

Definition at line 3364 of file payloads.py.


Constructor & Destructor Documentation

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).

Parameters:
rawRaw data buffer to parse
timestampPayload Send / Create Time (milliseconds)
Exceptions:
LookupErrorIf auto-detect version fails
ValueErrorIf 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.


Member Function Documentation

Human Readable Payload String.

Returns:
Human readable string representation of the payload
Return the payload as a human readable string

Reimplemented from clearpath.horizon.payloads.Payload.

Definition at line 3374 of file payloads.py.


Member Data Documentation

Definition at line 3367 of file payloads.py.


The documentation for this class was generated from the following file:


clearpath_base
Author(s): Mike Purvis
autogenerated on Sun Oct 5 2014 22:52:08