blob: 9ac4152d4dc4378a0425ed4b2b5d77694e4ffb89 [file] [log] [blame]
brians343bc112013-02-10 01:53:46 +00001#include <stdint.h>
2
3namespace frc971 {
4namespace constants {
5
6// Has all of the numbers that change for both robots and makes it easy to
7// retrieve the values for the current one.
8//
9// All of the public functions to retrieve various values take a pointer to
10// store their output value into and assume that aos::robot_state->get() is
11// not null and is correct. They return true on success.
12
13const uint16_t kCompTeamNumber = 971;
14const uint16_t kPracticeTeamNumber = 5971;
15
Austin Schuhfa033692013-02-24 01:00:55 -080016// Sets *angle to how many radians from horizontal to the location of interest.
17bool horizontal_hall_effect_start_angle(double *angle);
18bool horizontal_hall_effect_stop_angle(double *angle);
19// These are the soft stops for up and down.
20bool horizontal_lower_limit(double *angle);
21bool horizontal_upper_limit(double *angle);
22// These are the hard stops. Don't use these for anything but testing.
23bool horizontal_lower_physical_limit(double *angle);
24bool horizontal_upper_physical_limit(double *angle);
25
26// Returns the speed to move the wrist at when zeroing in rad/sec
27bool horizontal_zeroing_speed(double *speed);
28
brians343bc112013-02-10 01:53:46 +000029// Sets *center to how many pixels off center the vertical line
30// on the camera view is.
31bool camera_center(int *center);
brians343bc112013-02-10 01:53:46 +000032
33} // namespace constants
34} // namespace frc971