definitions.h File Reference

Various constants used in destjil project. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros

#define | OPEN_COM_DMB 'o'
#define | CLOSE_COM_DMB 'C'
#define | DMB_PING 'p'
#define | DMB_IDLE 'r'
#define | DMB_START_WITHOUT_WD 'u'
#define | DMB_START_WITH_WD 'W'
#define | DMB_RELOAD_WD 'w'
#define | DMB_GET_VBAT 'v'
#define | DMB_IS_BUSY 'b'
#define | DMB_MOVE 'M'
#define | DMB_TURN 'T'
#define | DMB_GO_FORWARD 'F'
#define | DMB_GO_BACK 'B'
#define | DMB_GO_LEFT 'L'
#define | DMB_GO_RIGHT 'R'
#define | DMB_STOP_MOVE 'S'
#define | ROBOT_TIMED_OUT -3
#define | ROBOT_UKNOWN_CMD -2
#define | ROBOT_ERROR -1
#define | ROBOT_CHECKSUM -4
#define | ROBOT_OK 0
#define | CAM_OPEN 'A'
#define | CAM_CLOSE 'I'
#define | CAM_ASK_ARENA 'y'
#define | CAM_ARENA_CONFIRM 'x'
#define | CAM_ARENA_INFIRM 'z'
#define | CAM_COMPUTE_POSITION 'p'
#define | CAM_STOP_COMPUTE_POSITION 's'
#define | DMB_BAT_LOW 0
#define | DMB_BAT_MEDIUM 1
#define | DMB_BAT_HIGH 2
#define | DMB_BUSY 1
#define | DMB_DO_NOTHING 0

## Detailed Description

Various constants used in destjil project.

Author
  PE.Hladik

Version
  1.0

Date
  06/06/2017

Definition in file definitions.h.

## Macro Definition Documentation

## CAM_ARENA_CONFIRM

#define CAM_ARENA_CONFIRM 'x'

Definition at line 57 of file definitions.h.

## CAM_ARENA_INFIRM

#define CAM_ARENA_INFIRM 'z'

Definition at line 58 of file definitions.h.

## CAM_ASK_ARENA

#define CAM_ASK_ARENA 'y'

Definition at line 56 of file definitions.h.

## CAM_CLOSE

#define CAM_CLOSE 'I'

Definition at line 55 of file definitions.h.

## CAM_COMPUTE_POSITION

#define CAM_COMPUTE_POSITION 'p'

Definition at line 59 of file definitions.h.

## CAM_OPEN

#define CAM_OPEN 'A'

Definition at line 54 of file definitions.h.

## CAM_STOP_COMPUTE_POSITION

#define CAM_STOP_COMPUTE_POSITION 's'

Definition at line 60 of file definitions.h.

## CLOSE_COM_DMB

#define CLOSE_COM_DMB 'C'

Definition at line 31 of file definitions.h.

## DMB_BAT_HIGH

#define DMB_BAT_HIGH 2

Definition at line 64 of file definitions.h.

## DMB_BAT_LOW

#define DMB_BAT_LOW 0

Definition at line 62 of file definitions.h.

## DMB_BAT_MEDIUM

#define DMB_BAT_MEDIUM 1

Definition at line 63 of file definitions.h.

## DMB_BUSY

#define DMB_BUSY 1

Definition at line 66 of file definitions.h.

## DMB_DO_NOTHING

#define DMB_DO_NOTHING 0

Definition at line 67 of file definitions.h.

## DMB_GET_VBAT

#define DMB_GET_VBAT 'v'

Definition at line 38 of file definitions.h.

## DMB_GO_BACK

#define DMB_GO_BACK 'B'

Definition at line 43 of file definitions.h.

## DMB_GO_FORWARD

#define DMB_GO_FORWARD 'F'

Definition at line 42 of file definitions.h.

## DMB_GO_LEFT

#define DMB_GO_LEFT 'L'

Definition at line 44 of file definitions.h.

## DMB_GO_RIGHT

#define DMB_GO_RIGHT 'R'

Definition at line 45 of file definitions.h.

## DMB_IDLE

#define DMB_IDLE 'r'

Definition at line 34 of file definitions.h.

## DMB_IS_BUSY

#define DMB_IS_BUSY 'b'

Definition at line 39 of file definitions.h.

## DMB_MOVE

#define DMB_MOVE 'M'

Definition at line 40 of file definitions.h.

## DMB_PING

#define DMB_PING 'p'

Definition at line 33 of file definitions.h.

## DMB_RELOAD_WD

#define DMB_RELOAD_WD 'w'

Definition at line 37 of file definitions.h.

## DMB_START_WITH_WD

#define DMB_START_WITH_WD 'W'

Definition at line 36 of file definitions.h.

## DMB_START_WITHOUT_WD

#define DMB_START_WITHOUT_WD 'u'

Definition at line 35 of file definitions.h.

## DMB_STOP_MOVE

#define DMB_STOP_MOVE 'S'

Definition at line 46 of file definitions.h.

## DMB_TURN

#define DMB_TURN 'T'

Definition at line 41 of file definitions.h.

## OPEN_COM_DMB

#define OPEN_COM_DMB 'o'

Definition at line 30 of file definitions.h.

## ROBOT_CHECKSUM

#define ROBOT_CHECKSUM -4

Definition at line 51 of file definitions.h.

## ROBOT_ERROR

#define ROBOT_ERROR -1

Definition at line 50 of file definitions.h.

## ROBOT_OK

#define ROBOT_OK 0

Definition at line 52 of file definitions.h.

## ROBOT_TIMED_OUT

#define ROBOT_TIMED_OUT -3

Definition at line 48 of file definitions.h.

## ROBOT_UKNOWN_CMD

#define ROBOT_UKNOWN_CMD -2

Definition at line 49 of file definitions.h.