raccoon_transport.channels

Channel-name helpers shared by the Python transport implementation.

Classes

Channels

Stable application-level channel names used by the Python transport.

ProtocolChannels

Internal protocol channels used for reliable and retained delivery.

Module Contents

class raccoon_transport.channels.Channels

Stable application-level channel names used by the Python transport.

GYRO = 'libstp/gyro/value'
ACCELEROMETER = 'libstp/accel/value'
LINEAR_ACCELERATION = 'libstp/linear_accel/value'
ACCEL_VELOCITY = 'libstp/accel_velocity/value'
MAGNETOMETER = 'libstp/mag/value'
ORIENTATION = 'libstp/imu/quaternion'
HEADING = 'libstp/imu/heading'
TEMPERATURE = 'libstp/imu/temp/value'
BATTERY_VOLTAGE = 'libstp/battery/voltage'
GYRO_ACCURACY = 'libstp/gyro/accuracy'
ACCEL_ACCURACY = 'libstp/accel/accuracy'
COMPASS_ACCURACY = 'libstp/mag/accuracy'
QUATERNION_ACCURACY = 'libstp/imu/quaternion_accuracy'
CPU_TEMPERATURE = 'libstp/cpu/temp/value'
IMU_GYRO_ORIENTATION_CMD = 'libstp/imu/gyro_orientation_cmd'
IMU_COMPASS_ORIENTATION_CMD = 'libstp/imu/compass_orientation_cmd'
AXIS_REMAP_CMD = 'libstp/imu/axis_remap_cmd'
BEMF_NOMINAL_VOLTAGE_CMD = 'libstp/bemf/nominal_voltage_cmd'
ERROR_MESSAGES = 'libstp/errors'
SHUTDOWN_CMD = 'libstp/system/shutdown_cmd'
SHUTDOWN_STATUS = 'libstp/system/shutdown_status'
static servo_mode(port: int) str
static servo_position(port: int) str
static servo_position_command(port: int) str
static back_emf(port: int) str
static bemf_scale_command(port: int) str
static bemf_offset_command(port: int) str
static analog(port: int) str
static digital(bit: int) str
static motor_power_command(port: int) str
static motor_mode_command(port: int) str
static motor_stop_command(port: int) str
static motor_velocity_command(port: int) str
static motor_position_command(port: int) str
static motor_pid_command(port: int) str
static motor_position_reset_command(port: int) str
static motor_power(port: int) str
static motor_position(port: int) str
static motor_done(port: int) str
class raccoon_transport.channels.ProtocolChannels

Internal protocol channels used for reliable and retained delivery.

ACK = '__raccoon/ack'
RETAIN_REQUEST = '__raccoon/retain_request'
static reliable_channel(channel: str) str

Return the wrapped channel name used by the reliability layer.