TrekkingPhoenix / Mbed 2 deprecated Trekking_Controller_refac

Dependencies:   mbed mbed-rtos MotionSensor EthernetInterface

Embed: (wiki syntax)

« Back to documentation index

protocol.h File Reference

protocol.h File Reference

Protocol definitions. More...

Go to the source code of this file.

Enumerations

enum  {
  NONE, BRAKE, GYRO_ZERO, ANG_SET,
  ANG_RST, LED_ON, LED_OFF, ABS_ANG_REF,
  REL_ANG_REF, MAG_ANG_REF, GND_VEL, JOG_VEL,
  MAG_CALIB, PID_PARAMS
}
 

Messages to send via protocol.

More...

Detailed Description

Protocol definitions.

Definition in file protocol.h.


Enumeration Type Documentation

anonymous enum

Messages to send via protocol.

Enumerator:
NONE 

Do nothing.

BRAKE 

Brake the robot.

GYRO_ZERO 

Reset gyroscope.

ANG_SET 

Set zero axis to current angle measure.

ANG_RST 

Reset angle zero axis.

LED_ON 

Turn on leds.

LED_OFF 

Turn off leds.

ABS_ANG_REF 

Set new angle reference relative to zero axis.

REL_ANG_REF 

Set new angle reference relative to robot axis.

MAG_ANG_REF 

Set new angle reference relative to north using magnetometer.

GND_VEL 

Set new ground velocity for robot.

JOG_VEL 

Set new jogging speed for robot.

MAG_CALIB 

Magnetometer calibration (min_x, max_x, min_y, max_y).

PID_PARAMS 

Send PID control parameters (P, I, D, N).

Definition at line 91 of file protocol.h.