text
stringlengths
0
715
enum
orientationType { orientationType::roll, orientationType::pitch, orientationType::yaw }
The defined units for inertial sensor orientation. More...
enum
sizeType { sizeType::none, sizeType::small, sizeType::medium, sizeType::large }
The defined units for distance sensor object size. More...
enum
ledState { ledState::off, ledState::on }
The defined units for optical sensor led state. More...
Functions
void
wait (double time, timeUnits units=timeUnits::sec)
Wait for a specific amount of time. Identical to sleep() More...
void
sleep (double duration, timeUnits units=timeUnits::sec)
Wait for a specific amount of time. Identical to wait() More...
void
sleepMs (uint32_t duration)
Wait for a specific amount of time (in milliseconds) More...
double
clock ()
System time, in seconds. More...
uint32_t
clockMs ()
System time, in milliseconds. More...
uint64_t
clockUs ()
System time, in microseconds. More...
Variables
const rotationUnits
degrees
const rotationUnits
turns
const percentUnits
percent
const timeUnits
seconds
const distanceUnits
inches
const distanceUnits
mm
const directionType
forward
const directionType
reverse
const turnType
left
const turnType
right
const axisType
xaxis
const axisType
yaxis
const axisType
zaxis
const orientationType
roll
const orientationType
pitch
const orientationType
yaw
const fontType