Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame^] | 1 | #ifndef Y2024_CONSTANTS_SIMULATED_CONFIG_SENDER_H_ |
| 2 | #define Y2024_CONSTANTS_SIMULATED_CONFIG_SENDER_H_ |
| 3 | |
| 4 | #include "aos/events/simulated_event_loop.h" |
| 5 | #include "aos/testing/path.h" |
| 6 | |
| 7 | namespace y2024 { |
| 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("y2024/constants/test_constants.json")); |
| 14 | } // namespace y2024 |
| 15 | |
| 16 | #endif // Y2024_CONSTANTS_SIMULATED_CONFIG_SENDER_H_ |