Ariv Diggi | 0af59c0 | 2023-10-07 13:15:39 -0700 | [diff] [blame] | 1 | #ifndef Y2023_CONSTANTS_SIMULATED_CONFIG_SENDER_H_ |
| 2 | #define Y2023_CONSTANTS_SIMULATED_CONFIG_SENDER_H_ |
| 3 | |
| 4 | #include "aos/events/simulated_event_loop.h" |
| 5 | #include "aos/testing/path.h" |
| 6 | |
| 7 | namespace y2023_bot3 { |
| 8 | // Returns true, to allow this to be easily called in the initializer list of a |
| 9 | // constructor. |
| 10 | bool SendSimulationConstants( |
| 11 | aos::SimulatedEventLoopFactory *factory, int team, |
| 12 | std::string constants_path = |
| 13 | aos::testing::ArtifactPath("y2023_bot3/constants/test_constants.json")); |
| 14 | } // namespace y2023_bot3 |
| 15 | |
| 16 | #endif // Y2023_CONSTANTS_SIMULATED_CONFIG_SENDER_H_ |