blob: 1d64d2c1d7f08cdc06fd9e7a59447649cdb4f0b5 [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
Stephan Pleinesd99b1ee2024-02-02 20:56:44 -08009namespace frc971::wpilib {
Brian Silverman811f8ec2015-12-06 01:29:42 -050010
11// Sends out a message on ::aos::robot_state.
Alex Perrycb7da4b2019-08-28 19:35:56 -070012flatbuffers::Offset<aos::RobotState> PopulateRobotState(
13 aos::Sender<::aos::RobotState>::Builder *builder, int32_t my_pid);
Brian Silverman811f8ec2015-12-06 01:29:42 -050014
Stephan Pleinesd99b1ee2024-02-02 20:56:44 -080015} // namespace frc971::wpilib
Brian Silverman811f8ec2015-12-06 01:29:42 -050016
17#endif // FRC971_WPILIB_WPILIB_INTERFACE_H_