blob: b992aa3dc6f0d2f82b0654041213af9fa9e6b45f [file] [log] [blame]
Brian Silverman811f8ec2015-12-06 01:29:42 -05001#ifndef FRC971_WPILIB_WPILIB_INTERFACE_H_
2#define FRC971_WPILIB_WPILIB_INTERFACE_H_
3
Tyler Chatowbf0609c2021-07-31 16:13:27 -07004#include <cstdint>
Brian Silverman811f8ec2015-12-06 01:29:42 -05005
Alex Perrycb7da4b2019-08-28 19:35:56 -07006#include "aos/events/event_loop.h"
James Kuszmaul7077d342021-06-09 20:23:58 -07007#include "frc971/input/robot_state_generated.h"
Austin Schuhdf6cbb12019-02-02 13:46:52 -08008
Brian Silverman811f8ec2015-12-06 01:29:42 -05009namespace frc971 {
10namespace wpilib {
11
12// Sends out a message on ::aos::robot_state.
Alex Perrycb7da4b2019-08-28 19:35:56 -070013flatbuffers::Offset<aos::RobotState> PopulateRobotState(
14 aos::Sender<::aos::RobotState>::Builder *builder, int32_t my_pid);
Brian Silverman811f8ec2015-12-06 01:29:42 -050015
16} // namespace wpilib
17} // namespace frc971
18
19#endif // FRC971_WPILIB_WPILIB_INTERFACE_H_