blob: 909d508ce91e5de5c289074b89b157859505bed0 [file] [log] [blame]
Ariv Diggi0af59c02023-10-07 13:15:39 -07001#include "y2023_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 "glog/logging.h"
12
13#include "aos/mutex/mutex.h"
14#include "aos/network/team_number.h"
15
16namespace y2023_bot3 {
17namespace constants {
18
19Values MakeValues(uint16_t team) {
20 LOG(INFO) << "creating a Constants for team: " << team;
21
22 Values r;
23 switch (team) {
24 // A set of constants for tests.
25 case 1:
26 break;
27
28 case kThirdRobotTeamNumber:
29 break;
30
31 default:
32 LOG(FATAL) << "unknown team: " << team;
33 }
34
35 return r;
36}
37
38Values MakeValues() { return MakeValues(aos::network::GetTeamNumber()); }
39
40} // namespace constants
41} // namespace y2023_bot3