blob: 9b975667250e22097a60aefd4ecc4adc78783e1d [file] [log] [blame]
James (Peilun) Lia70e5752024-09-18 20:43:00 -07001#include "y2024_bot3/constants.h"
2
3#include <cinttypes>
4#include <map>
5
6#if __has_feature(address_sanitizer)
7#include "sanitizer/lsan_interface.h"
8#endif
9
10#include "absl/base/call_once.h"
11#include "absl/log/check.h"
12#include "absl/log/log.h"
13
14#include "aos/mutex/mutex.h"
15#include "aos/network/team_number.h"
16
17namespace y2024_bot3::constants {
18
19Values MakeValues(uint16_t team) {
20 LOG(INFO) << "creating a Constants for team: " << team;
21
22 Values r;
23
24 switch (team) {
25 // A set of constants for tests.
26 case 1:
27 break;
28
29 case kThirdRobotTeamNumber:
30 break;
31
32 default:
33 LOG(FATAL) << "unknown team: " << team;
34 }
35
36 return r;
37}
38
39Values MakeValues() { return MakeValues(aos::network::GetTeamNumber()); }
40
41} // namespace y2024_bot3::constants