|
Caddy
A 2005 Roborodentia entry with vision and path planning capability
|
High-level logic controlling Caddy's actions. More...
#include <stdint.h>#include <stdbool.h>

Go to the source code of this file.
Macros | |
| #define | BALL_DIST 0 |
| #define | BALL_NODE_NUM 1 |
Functions | |
| void | runRoborodentiaCourse (void) |
| Run the Roborodentia course from start to finish. | |
| void | moveToJunction (uint8_t numJunctions, bool justTurned) |
| Move to next junction in pathList. | |
| void | nestSequence (void) |
| Sequence of actions to peform once the nest is reached. | |
| void | junctionCode (void) |
| void | bonusBallPickUpManeuver (int8_t bbHeading, int8_t nextHeading) |
| Orients Caddy to grab a bonus ball, grabs the ball, and reorients for the next node. | |
Variables | |
| uint8_t | botNode |
| int8_t | botHeading |
| uint8_t | numUnreachedGoals |
High-level logic controlling Caddy's actions.
Definition in file robot_control.h.
|
inline |
Orients Caddy to grab a bonus ball, grabs the ball, and reorients for the next node.
| [in] | bbHeading | Heading Caddy must have for bonus ball pickup |
| [in] | nextHeading | Heading Caddy must have after bonus ball pickup |
Definition at line 266 of file robot_control.c.
| void nestSequence | ( | void | ) |
Sequence of actions to peform once the nest is reached.
Main purpose is to release the balls from the hopper.
Definition at line 496 of file robot_control.c.
|
inline |
Run the Roborodentia course from start to finish.
Returns once all balls have been collected and placed in the nest.
Definition at line 79 of file robot_control.c.
1.8.1.2