Brian Silverman | 811f8ec | 2015-12-06 01:29:42 -0500 | [diff] [blame] | 1 | #ifndef FRC971_WPILIB_WPILIB_INTERFACE_H_ |
| 2 | #define FRC971_WPILIB_WPILIB_INTERFACE_H_ |
| 3 | |
| 4 | #include <stdint.h> |
| 5 | |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 6 | #include "aos/events/event_loop.h" |
| 7 | #include "aos/robot_state/robot_state_generated.h" |
Austin Schuh | df6cbb1 | 2019-02-02 13:46:52 -0800 | [diff] [blame] | 8 | |
Brian Silverman | 811f8ec | 2015-12-06 01:29:42 -0500 | [diff] [blame] | 9 | namespace frc971 { |
| 10 | namespace wpilib { |
| 11 | |
| 12 | // Sends out a message on ::aos::robot_state. |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 13 | flatbuffers::Offset<aos::RobotState> PopulateRobotState( |
| 14 | aos::Sender<::aos::RobotState>::Builder *builder, int32_t my_pid); |
Brian Silverman | 811f8ec | 2015-12-06 01:29:42 -0500 | [diff] [blame] | 15 | |
| 16 | } // namespace wpilib |
| 17 | } // namespace frc971 |
| 18 | |
| 19 | #endif // FRC971_WPILIB_WPILIB_INTERFACE_H_ |