Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
irobotSensorGroup6_t Struct Reference
Sensor Group 6. More...
#include <irobotSensorTypes.h>
Data Fields | |
| irobotBumps_WheelDrops_t | bumps_wheelDrops |
| iRobot bump and wheel-drop sensors. | |
| bool | wall |
| Binary interpretation of the infrared wall sensor; if true, the sensor has read above a predefined threshold and indicates a wall (or object) is in front of the robot. | |
| bool | cliffLeft |
| Binary interpretation of the left cliff sensor; if true, the sensor has read below a predefined threshold and indicates the sensor is not immediately above ground. | |
| bool | cliffFrontLeft |
| Binary interpretation of the front left cliff sensor; if true, the sensor has read below a predefined threshold and indicates the sensor is not immediately above ground. | |
| bool | cliffFrontRight |
| Binary interpretation of the front right cliff sensor; if true, the sensor has read below a predefined threshold and indicates the sensor is not immediately above ground. | |
| bool | cliffRight |
| Binary interpretation of the right cliff sensor; if true, the sensor has read below a predefined threshold and indicates the sensor is not immediately above ground. | |
| bool | virtualWall |
| Virtual Wall sensor is a particular infrared packet omitted by a virtual wall device, and received by the IR on top of the robot. If the signal is received, the value is true. | |
| irobotLowSideDriver_WheelOvercurrent_t | lowSideDriver_WheelOvercurrent |
| iRobot low-side driver and wheel overcurrent sensors. | |
| 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. | |
| irobotChargingState_t | chargingState |
| iRobot charging state sensor. | |
| uint16_t | voltage |
| Voltage of the iRobot battery, in mV. | |
| int16_t | current |
| Current (mA) flowing into or out of the battery. Negative currents indicate current is leaving the battery; positive currents (present in charging) indicate current is entering the battery. | |
| int8_t | batteryTemperature |
| Temperature of the battery, in degrees Celcius. | |
| uint16_t | batteryCharge |
| Current charge of the create battery, in mAh. | |
| uint16_t | batteryCapacity |
| Estimated charging capacity of the battery, in mAh. | |
| uint16_t | wallSignal |
| Sampled value of the analog wall sensor, range 0-4095. | |
| uint16_t | cliffLeftSignal |
| Sampled value of the analog left cliff sensor, range 0-4095. | |
| uint16_t | cliffFrontLeftSignal |
| Sampled value of the analog front left cliff sensor, range 0-4095. | |
| uint16_t | cliffFrontRightSignal |
| Sampled value of the analog front right cliff sensor, range 0-4095. | |
| uint16_t | cliffRightSignal |
| Sampled value of the analog right cliff sensor, range 0-4095. | |
| irobotCargoBayDigitalInputs_t | cargoBayDigitalInputs |
| digital inputs | |
| uint16_t | cargoBayAnalogSignal |
| sampled cargo bay analog line; range 0-1023 | |
| irobotChargingSourcesAvailable_t | chargingSourcesAvailable |
| charging sources available | |
| irobotOIState_t | oiState |
| irobot OI mode | |
| uint8_t | songNumber |
| index of the song that is loaded or is playing | |
| bool | songPlaying |
| song is playing? | |
| uint8_t | nStreamPackets |
| number of packets in each stream broadcast | |
| int16_t | requestedVelocity |
| requested velocity, in mm/s for DRIVE mode | |
| int16_t | requestedRadius |
| requested radius, in mm for DRIVE mode | |
| int16_t | requestedRightWheelVelocity |
| requested right wheel velocity in mm/s for DRIVE_DIRECT mode | |
| int16_t | requestedLeftWheelVelocity |
| requested left wheel velocity in mm/s for DRIVE_DIRECT mode | |
Detailed Description
Sensor Group 6.
Definition at line 324 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 356 of file irobotSensorTypes.h.
| uint16_t batteryCapacity |
Estimated charging capacity of the battery, in mAh.
Definition at line 374 of file irobotSensorTypes.h.
| uint16_t batteryCharge |
Current charge of the create battery, in mAh.
Definition at line 371 of file irobotSensorTypes.h.
| int8_t batteryTemperature |
Temperature of the battery, in degrees Celcius.
Definition at line 368 of file irobotSensorTypes.h.
iRobot bump and wheel-drop sensors.
Definition at line 326 of file irobotSensorTypes.h.
iRobot button sensors.
Definition at line 350 of file irobotSensorTypes.h.
| uint16_t cargoBayAnalogSignal |
sampled cargo bay analog line; range 0-1023
Definition at line 386 of file irobotSensorTypes.h.
digital inputs
Definition at line 383 of file irobotSensorTypes.h.
charging sources available
Definition at line 389 of file irobotSensorTypes.h.
iRobot charging state sensor.
Definition at line 359 of file irobotSensorTypes.h.
| bool cliffFrontLeft |
Binary interpretation of the front left cliff sensor; if true, the sensor has read below a predefined threshold and indicates the sensor is not immediately above ground.
Definition at line 334 of file irobotSensorTypes.h.
| uint16_t cliffFrontLeftSignal |
Sampled value of the analog front left cliff sensor, range 0-4095.
Definition at line 378 of file irobotSensorTypes.h.
| bool cliffFrontRight |
Binary interpretation of the front right cliff sensor; if true, the sensor has read below a predefined threshold and indicates the sensor is not immediately above ground.
Definition at line 336 of file irobotSensorTypes.h.
| uint16_t cliffFrontRightSignal |
Sampled value of the analog front right cliff sensor, range 0-4095.
Definition at line 379 of file irobotSensorTypes.h.
| bool cliffLeft |
Binary interpretation of the left cliff sensor; if true, the sensor has read below a predefined threshold and indicates the sensor is not immediately above ground.
Definition at line 332 of file irobotSensorTypes.h.
| uint16_t cliffLeftSignal |
Sampled value of the analog left cliff sensor, range 0-4095.
Definition at line 377 of file irobotSensorTypes.h.
| bool cliffRight |
Binary interpretation of the right cliff sensor; if true, the sensor has read below a predefined threshold and indicates the sensor is not immediately above ground.
Definition at line 338 of file irobotSensorTypes.h.
| uint16_t cliffRightSignal |
Sampled value of the analog right cliff sensor, range 0-4095.
Definition at line 380 of file irobotSensorTypes.h.
| int16_t current |
Current (mA) flowing into or out of the battery. Negative currents indicate current is leaving the battery; positive currents (present in charging) indicate current is entering the battery.
Definition at line 365 of file irobotSensorTypes.h.
| int16_t distance |
Distance (in mm) the robot has traveled since the last sensor packet.
Definition at line 353 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 347 of file irobotSensorTypes.h.
iRobot low-side driver and wheel overcurrent sensors.
Definition at line 344 of file irobotSensorTypes.h.
| uint8_t nStreamPackets |
number of packets in each stream broadcast
Definition at line 397 of file irobotSensorTypes.h.
irobot OI mode
Definition at line 392 of file irobotSensorTypes.h.
| int16_t requestedLeftWheelVelocity |
requested left wheel velocity in mm/s for DRIVE_DIRECT mode
Definition at line 403 of file irobotSensorTypes.h.
| int16_t requestedRadius |
requested radius, in mm for DRIVE mode
Definition at line 400 of file irobotSensorTypes.h.
| int16_t requestedRightWheelVelocity |
requested right wheel velocity in mm/s for DRIVE_DIRECT mode
Definition at line 402 of file irobotSensorTypes.h.
| int16_t requestedVelocity |
requested velocity, in mm/s for DRIVE mode
Definition at line 399 of file irobotSensorTypes.h.
| uint8_t songNumber |
index of the song that is loaded or is playing
Definition at line 394 of file irobotSensorTypes.h.
| bool songPlaying |
song is playing?
Definition at line 395 of file irobotSensorTypes.h.
| bool virtualWall |
Virtual Wall sensor is a particular infrared packet omitted by a virtual wall device, and received by the IR on top of the robot. If the signal is received, the value is true.
Definition at line 341 of file irobotSensorTypes.h.
| uint16_t voltage |
Voltage of the iRobot battery, in mV.
Definition at line 362 of file irobotSensorTypes.h.
| bool wall |
Binary interpretation of the infrared wall sensor; if true, the sensor has read above a predefined threshold and indicates a wall (or object) is in front of the robot.
Definition at line 329 of file irobotSensorTypes.h.
| uint16_t wallSignal |
Sampled value of the analog wall sensor, range 0-4095.
Definition at line 376 of file irobotSensorTypes.h.
Generated on Wed Jul 13 2022 12:36:28 by
1.7.2