Tarek Lule / CreaBotLib

Fork of CreaBotLib by CreaLab

Embed: (wiki syntax)

« Back to documentation index

BotCommand Struct Reference

BotCommand Struct Reference

Structure of a CreaBot Command. More...

#include <CreaBot.h>

Public Member Functions

void set (BotCmdVerb Acommand, float Aturn_angle_deg, float Adist_cm)
 Helper; set structure fields to values.
void set (BotCmdVerb Acommand, float Aparam)
 Helper; set structure fields to values.

Data Fields

BotCmdVerb command
 Command type that gives movement direction.
float dist_cm
 Distance in dist_cm for translational movements .
float turn_angle_deg
 Angle in degree for rotational movement .

Detailed Description

Structure of a CreaBot Command.

The command structure is put into command Queue, and treated by the Queue-Handler

Definition at line 60 of file CreaBot.h.


Member Function Documentation

void set ( BotCmdVerb  Acommand,
float  Aturn_angle_deg,
float  Adist_cm 
)

Helper; set structure fields to values.

Definition at line 8 of file CreaBot.cpp.

void set ( BotCmdVerb  Acommand,
float  Aparam 
)

Helper; set structure fields to values.

Definition at line 15 of file CreaBot.cpp.


Field Documentation

BotCmdVerb command

Command type that gives movement direction.

Definition at line 61 of file CreaBot.h.

float dist_cm

Distance in dist_cm for translational movements .

Definition at line 62 of file CreaBot.h.

Angle in degree for rotational movement .

Definition at line 63 of file CreaBot.h.