|
Caddy
A 2005 Roborodentia entry with vision and path planning capability
|
#include "robot_control.h"#include "line_tracking.h"#include "ball_tracking.h"#include "path_planning.h"#include "motor_control.h"#include "camera.h"#include "servos.h"#include "buttons.h"#include "node_list.h"#include "tether_ui.h"#include "tweak_data.h"#include "lcd_16x2.h"#include "utility.h"#include <string.h>
Go to the source code of this file.
Macros | |
| #define | BEAM_IGNORE_COUNT 6 |
| #define | CORRAL_COUNT 3 |
| #define | LIFT_DONE_COUNT 8 |
Functions | |
| void | runRoborodentiaCourse (void) |
| Run the Roborodentia course from start to finish. | |
| void | bonusBallPickUpManeuver (int8_t bbHeading, int8_t nextHeading) |
| Orients Caddy to grab a bonus ball, grabs the ball, and reorients for the next node. | |
| 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) |
Variables | |
| uint8_t | botNode = START_NODE |
| int8_t | botHeading = START_HEADING |
| uint8_t | numUnreachedGoals = NUM_GOALS |
Definition in file robot_control.c.
|
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