blob: 104ab84f774f805e58caddb0fa6bf7b6a66de844 [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
4#include <stdint.h>
5
Alex Perrycb7da4b2019-08-28 19:35:56 -07006#include "aos/events/event_loop.h"
7#include "aos/robot_state/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_