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

Contains definitions for action identifiers. More...

Variables

const uint8_t MOTOR = 0
 Motor action. More...
 
const uint8_t STEPPER = 1
 Stepper action. More...
 
const uint8_t ULTRA_SONIC = 2
 Ultra sonic action. More...
 
const uint8_t REVOLUTION = 3
 Revolution action. More...
 
const uint8_t SPEED = 4
 Speed action. More...
 
const uint8_t ROTATION = 5
 Rotation action. More...
 
const uint8_t ORIENTATION = 6
 Orientation action. More...
 
const uint8_t START = 7
 Start action. More...
 
const uint8_t TERMINATE = 8
 Terminate action. More...
 
const uint8_t IDENTIFIER_MAPPING = 9
 Mapping identifier action. More...
 
const uint8_t IDENTIFIER_CAMERA = 10
 Camera identifier action. More...
 
const uint8_t OBJECT_DETECTED = 11
 Object detected action. More...
 
const uint8_t ROTATION_COMPLETE = 12
 Rotation complete action. More...
 
const uint8_t OBJECT_DETECTED_ACK = 13
 Acknowledges the object detection. More...
 

Detailed Description

Contains definitions for action identifiers.

Action identifiers are sent before every command, request or response. They help the receiving program to estimate and classify the following data.

Variable Documentation

◆ IDENTIFIER_CAMERA

const uint8_t Action::IDENTIFIER_CAMERA = 10

Camera identifier action.

Identifies the sending process as the camera process. No data will follow.

◆ IDENTIFIER_MAPPING

const uint8_t Action::IDENTIFIER_MAPPING = 9

Mapping identifier action.

Identifies the sending process as the mapping process. No data will follow.

◆ MOTOR

const uint8_t Action::MOTOR = 0

Motor action.

The following data will be a motor command.

◆ OBJECT_DETECTED

const uint8_t Action::OBJECT_DETECTED = 11

Object detected action.

Tells the receiving process that the object was found and the hunt is over. No data will follow.

◆ OBJECT_DETECTED_ACK

const uint8_t Action::OBJECT_DETECTED_ACK = 13

Acknowledges the object detection.

Tells the camera process that the object detected message was received successfully.

◆ ORIENTATION

const uint8_t Action::ORIENTATION = 6

Orientation action.

The following data will be an orientation request or response

◆ REVOLUTION

const uint8_t Action::REVOLUTION = 3

Revolution action.

The following data will be a revolution request or response.

◆ ROTATION

const uint8_t Action::ROTATION = 5

Rotation action.

The following data will be a rotation request or response

◆ ROTATION_COMPLETE

const uint8_t Action::ROTATION_COMPLETE = 12

Rotation complete action.

Tells the receiving process that the rotation command has succeeded.

◆ SPEED

const uint8_t Action::SPEED = 4

Speed action.

The following data will be a value request or response.

◆ START

const uint8_t Action::START = 7

Start action.

Tells the receiving process to start the object hunt. No data will follow.

◆ STEPPER

const uint8_t Action::STEPPER = 1

Stepper action.

The following data will be a stepper command.

◆ TERMINATE

const uint8_t Action::TERMINATE = 8

Terminate action.

Tells the receiving process to terminate the object hunt. No data will follow.

◆ ULTRA_SONIC

const uint8_t Action::ULTRA_SONIC = 2

Ultra sonic action.

The following data will be an ultra sonic request or response.