Object Hunt  v0.2
Hunts for a not specified object in an unknown environment
Variables
Motor::Direction Namespace Reference

The direction definitions. More...

Variables

const uint8_t FORWARD = 0x01
 Forward. More...
 
const uint8_t BACKWARD = 0x02
 Backward. More...
 
const uint8_t NOT_MOVING = 0x04
 No movement. More...
 

Detailed Description

The direction definitions.

Each direction (forward, backward) and not moving is represented through a regarding bit.

Variable Documentation

◆ BACKWARD

const uint8_t Motor::Direction::BACKWARD = 0x02

Backward.

Should not need further explanation.

◆ FORWARD

const uint8_t Motor::Direction::FORWARD = 0x01

Forward.

Should not need further explanation.

◆ NOT_MOVING

const uint8_t Motor::Direction::NOT_MOVING = 0x04

No movement.

Mainly used in requests of the current rotation direction of the regarding motor.