Classes | Namespaces | Enumerations | Functions
Message.h File Reference
#include <iostream>
#include <cstdlib>
#include <stdint.h>
#include "husky_base/horizon_legacy/Exception.h"
Include dependency graph for Message.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  clearpath::Message
class  clearpath::MessageException

Namespaces

namespace  clearpath

Enumerations

enum  clearpath::MessageTypes {
  clearpath::SET_PLATFORM_NAME = 0x0002, clearpath::SET_PLATFORM_TIME = 0x0005, clearpath::SET_SAFETY_SYSTEM = 0x0010, clearpath::SET_DIFF_WHEEL_SPEEDS = 0x0200,
  clearpath::SET_DIFF_CTRL_CONSTS = 0x0201, clearpath::SET_DIFF_WHEEL_SETPTS = 0x0202, clearpath::SET_ACKERMANN_SETPT = 0x0203, clearpath::SET_VELOCITY_SETPT = 0x0204,
  clearpath::SET_TURN_SETPT = 0x0205, clearpath::SET_MAX_SPEED = 0x0210, clearpath::SET_MAX_ACCEL = 0x0211, clearpath::SET_GEAR_SETPOINT = 0x0212,
  clearpath::SET_GPADC_OUTPUT = 0x0300, clearpath::SET_GPIO_DIRECTION = 0x0301, clearpath::SET_GPIO_OUTPUT = 0x0302, clearpath::SET_PTZ_POSITION = 0x0400,
  clearpath::CMD_PROCESSOR_RESET = 0x2000, clearpath::CMD_RESTORE_SETTINGS = 0x2001, clearpath::CMD_STORE_SETTINGS = 0x2002, clearpath::REQUEST_ECHO = 0x4000,
  clearpath::REQUEST_PLATFORM_INFO = 0x4001, clearpath::REQUEST_PLATFORM_NAME = 0x4002, clearpath::REQUEST_FIRMWARE_INFO = 0x4003, clearpath::REQUEST_SYSTEM_STATUS = 0x4004,
  clearpath::REQUEST_POWER_SYSTEM = 0x4005, clearpath::REQUEST_SAFETY_SYSTEM = 0x4010, clearpath::REQUEST_DIFF_WHEEL_SPEEDS = 0x4200, clearpath::REQUEST_DIFF_CTRL_CONSTS = 0x4201,
  clearpath::REQUEST_DIFF_WHEEL_SETPTS = 0x4202, clearpath::REQUEST_ACKERMANN_SETPTS = 0x4203, clearpath::REQUEST_VELOCITY_SETPT = 0x4204, clearpath::REQUEST_TURN_SETPT = 0x4205,
  clearpath::REQUEST_MAX_SPEED = 0x4210, clearpath::REQUEST_MAX_ACCEL = 0x4211, clearpath::REQUEST_GEAR_SETPT = 0x4212, clearpath::REQUEST_GPADC_OUTPUT = 0x4300,
  clearpath::REQUEST_GPIO_STATUS = 0x4301, clearpath::REQUEST_GPADC_INPUT = 0x4303, clearpath::REQUEST_PTZ_POSITION = 0x4400, clearpath::REQUEST_DISTANCE_DATA = 0x4500,
  clearpath::REQUEST_DISTANCE_TIMING = 0x4501, clearpath::REQUEST_ORIENT = 0x4600, clearpath::REQUEST_ROT_RATE = 0x4601, clearpath::REQUEST_ACCEL = 0x4602,
  clearpath::REQUEST_6AXIS = 0x4603, clearpath::REQUEST_6AXIS_ORIENT = 0x4604, clearpath::REQUEST_ENCODER = 0x4800, clearpath::REQUEST_ENCODER_RAW = 0x4801,
  clearpath::DATA_ECHO = 0x8000, clearpath::DATA_PLATFORM_INFO = 0x8001, clearpath::DATA_PLATFORM_NAME = 0x8002, clearpath::DATA_FIRMWARE_INFO = 0x8003,
  clearpath::DATA_SYSTEM_STATUS = 0x8004, clearpath::DATA_POWER_SYSTEM = 0x8005, clearpath::DATA_PROC_STATUS = 0x8006, clearpath::DATA_SAFETY_SYSTEM = 0x8010,
  clearpath::DATA_DIFF_WHEEL_SPEEDS = 0x8200, clearpath::DATA_DIFF_CTRL_CONSTS = 0x8201, clearpath::DATA_DIFF_WHEEL_SETPTS = 0x8202, clearpath::DATA_ACKERMANN_SETPTS = 0x8203,
  clearpath::DATA_VELOCITY_SETPT = 0x8204, clearpath::DATA_TURN_SETPT = 0x8205, clearpath::DATA_MAX_SPEED = 0x8210, clearpath::DATA_MAX_ACCEL = 0x8211,
  clearpath::DATA_GEAR_SETPT = 0x8212, clearpath::DATA_GPADC_OUTPUT = 0x8300, clearpath::DATA_GPIO_STATUS = 0x8301, clearpath::DATA_GPADC_INPUT = 0x8303,
  clearpath::DATA_PTZ_POSITION = 0x8400, clearpath::DATA_DISTANCE_DATA = 0x8500, clearpath::DATA_DISTANCE_TIMING = 0x8501, clearpath::DATA_ORIENT = 0x8600,
  clearpath::DATA_ROT_RATE = 0x8601, clearpath::DATA_ACCEL = 0x8602, clearpath::DATA_6AXIS = 0x8603, clearpath::DATA_6AXIS_ORIENT = 0x8604,
  clearpath::DATA_MAGNETOMETER = 0x8606, clearpath::DATA_ENCODER = 0x8800, clearpath::DATA_ENCODER_RAW = 0x8801, clearpath::DATA_CURRENT_RAW = 0xA110,
  clearpath::DATA_VOLTAGE_RAW = 0xA111, clearpath::DATA_TEMPERATURE_RAW = 0xA112, clearpath::DATA_ORIENT_RAW = 0xA113, clearpath::DATA_GYRO_RAW = 0xA114,
  clearpath::DATA_ACCEL_RAW = 0xA115, clearpath::DATA_MAGNETOMETER_RAW = 0xA116
}

Functions

std::ostream & operator<< (std::ostream &stream, clearpath::Message &msg)

Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
clearpath::Message msg 
)

Definition at line 498 of file Message.cpp.



husky_base
Author(s): Mike Purvis , Paul Bovbel
autogenerated on Sat Jun 8 2019 18:26:01