blob: 1138538c06aad68a788c541578f03641ffd288f4 [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
16// Sets *horizontal to how many radians from the hall effect transition point
17// to horizontal for the wrist.
18bool horizontal_offset(double *horizontal);
19// Sets *center to how many pixels off center the vertical line
20// on the camera view is.
21bool camera_center(int *center);
brians343bc112013-02-10 01:53:46 +000022
23} // namespace constants
24} // namespace frc971