Eric Wu / Mbed 2 deprecated WifiRobot

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

irobotSensorGroup2_t Struct Reference

irobotSensorGroup2_t Struct Reference

Sensor Group 2. More...

#include <irobotSensorTypes.h>

Data Fields

uint8_t infrared
 Most recently received byte from the IR receiver. A value of 0xFF (255) indicates no byte is being received.
irobotButtons_t buttons
 iRobot button sensors.
int16_t distance
 Distance (in mm) the robot has traveled since the last sensor packet.
int16_t angle
 Angle (in degrees) through which the robot has rotated since the last sensor packet.

Detailed Description

Sensor Group 2.

Definition at line 253 of file irobotSensorTypes.h.


Field Documentation

int16_t angle

Angle (in degrees) through which the robot has rotated since the last sensor packet.

Definition at line 264 of file irobotSensorTypes.h.

iRobot button sensors.

Definition at line 258 of file irobotSensorTypes.h.

int16_t distance

Distance (in mm) the robot has traveled since the last sensor packet.

Definition at line 261 of file irobotSensorTypes.h.

uint8_t infrared

Most recently received byte from the IR receiver. A value of 0xFF (255) indicates no byte is being received.

Definition at line 255 of file irobotSensorTypes.h.