Object Hunt  v0.2
Hunts for a not specified object in an unknown environment
Namespaces | Classes | Variables
Rotation Namespace Reference

Contains definitions regarding rotation. More...

Namespaces

 Direction
 The direction definitions.
 

Classes

struct  Command
 Rotation command. More...
 

Variables

const int ROTATION_AGENT_TIMEOUT_MS = 5
 Measurement timeout in milliseconds. More...
 
const uint8_t DUTY_CYCLE = 90
 Duty cycle for the motors. More...
 

Detailed Description

Contains definitions regarding rotation.

Defines commands for the inter-process communication and more.

Variable Documentation

◆ DUTY_CYCLE

const uint8_t Rotation::DUTY_CYCLE = 90

Duty cycle for the motors.

Each rotation movement will be performed with this duty cycle.

◆ ROTATION_AGENT_TIMEOUT_MS

const int Rotation::ROTATION_AGENT_TIMEOUT_MS = 5

Measurement timeout in milliseconds.

If a valid rotation request arrived the base process, it will start a rotation movement and check the current rotation angle in this interval.