Caddy
A 2005 Roborodentia entry with vision and path planning capability
 All Data Structures Files Functions Variables Typedefs Macros Pages
Macros | Functions | Variables
ball_tracking.c File Reference
#include "ball_tracking.h"
#include "line_tracking.h"
#include "camera.h"
#include "servos.h"
#include "robot_control.h"
#include "motor_control.h"
#include "tweak_data.h"
#include "utility.h"
#include "rprintf.h"
#include <stdint.h>
#include <stdbool.h>
Include dependency graph for ball_tracking.c:

Go to the source code of this file.

Macros

#define BALL_RMIN   150
#define BALL_RMAX   240
#define BALL_GMIN   16
#define BALL_GMAX   60
#define BALL_BMIN   16
#define BALL_BMAX   50

Functions

void trackColorInit (int8_t dir)
uint8_t getBallY (void)
bool seeBall (void)
bool cameraSeekLeft (uint8_t uncheckedBalls[][2], uint8_t numUncheckedBalls)
bool cameraSeekRight (uint8_t uncheckedBalls[][2], uint8_t numUncheckedBalls)

Variables

volatile bool colorStatsProcessed
bool inSeekPosition

Detailed Description

Definition in file ball_tracking.c.