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.
Robot Class Reference
#include <Robot.h>
Public Member Functions | |
| Robot () | |
| Constructor. | |
| virtual | ~Robot () |
| Destructor. | |
| void | MoveStraightPulses (float s, int clix) |
| Move Straight. | |
| void | MoveStraightInches (float speed, float in) |
| Move Straight. | |
| void | MoveStraightRotations (float speed, float rotations) |
| Move Straight. | |
| void | StopLeft () |
| Stop Left Wheel. | |
| void | StopRight () |
| Stop Right Wheel. | |
| void | Stop () |
| Stop. | |
| void | PivetLeft (float deg) |
| Pivet left. | |
| void | PivetRight (float deg) |
| Pivet right. | |
| int | IsBusy () |
| Returns 0 if robot is not moving Returns 1 otherwise. | |
Protected Member Functions | |
| void | Call () |
| Ticker function. | |
Detailed Description
Robot class.
Definition at line 30 of file Robot.h.
Constructor & Destructor Documentation
Member Function Documentation
| int IsBusy | ( | ) |
| void MoveStraightInches | ( | float | speed, |
| float | in | ||
| ) |
| void MoveStraightPulses | ( | float | s, |
| int | clix | ||
| ) |
| void MoveStraightRotations | ( | float | speed, |
| float | rotations | ||
| ) |
| void PivetLeft | ( | float | deg ) |
| void PivetRight | ( | float | deg ) |
Generated on Sat Jul 16 2022 16:53:19 by
1.7.2