blob: 096ee204bb9f307adab37fc4b55f283e984e49e4 [file] [log] [blame]
James Kuszmauld67f6d22023-02-05 17:37:25 -08001#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
7namespace y2023 {
James Kuszmaulcf451fb2023-03-10 20:42:36 -08008// Returns true, to allow this to be easily called in the initializer list of a
9// constructor.
10bool SendSimulationConstants(
James Kuszmaul04a343c2023-02-20 16:38:22 -080011 aos::SimulatedEventLoopFactory *factory, int team,
12 std::string constants_path =
13 aos::testing::ArtifactPath("y2023/constants/test_constants.json"));
James Kuszmauld67f6d22023-02-05 17:37:25 -080014} // namespace y2023
15
16#endif // Y2023_CONSTANTS_SIMULATED_CONFIG_SENDER_H_