Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of CreaBotLib by
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 |
| float dist_cm |
| float turn_angle_deg |
Generated on Wed Jul 13 2022 17:45:26 by
1.7.2
