commit | 4d882aaf9a9be45b9de7a7ffd3d08740ad4a1952 | [log] [tgz] |
---|---|---|
author | Brian Silverman <brians> | Fri Feb 20 13:40:42 2015 -0500 |
committer | Brian Silverman <brians> | Fri Feb 20 13:40:42 2015 -0500 |
tree | d32d39dcb8a7f1501e5b54d56bddf8e3a753562f | |
parent | 24e37ad3b748867827abf5882cd49cd447a16632 [diff] [blame] |
log robot_state messages Change-Id: If191edba9e05e42635c0ea05c28a0a07e87055db
diff --git a/frc971/wpilib/wpilib_interface.cc b/frc971/wpilib/wpilib_interface.cc index b5c87b1..d7c23ce 100644 --- a/frc971/wpilib/wpilib_interface.cc +++ b/frc971/wpilib/wpilib_interface.cc
@@ -246,6 +246,8 @@ new_state->voltage_roborio_in = ControllerPower::GetInputVoltage(); new_state->voltage_battery = ds_->GetBatteryVoltage(); + LOG_STRUCT(DEBUG, "robot_state", *new_state); + new_state.Send(); }