ardupilot/Tools/Replay/MsgHandler_ARSP.cpp

12 lines
306 B
C++

#include "MsgHandler_ARSP.h"
void MsgHandler_ARSP::process_message(uint8_t *msg)
{
wait_timestamp_from_msg(msg);
airspeed.setHIL(require_field_float(msg, "Airspeed"),
require_field_float(msg, "DiffPress"),
require_field_float(msg, "Temp"));
dataflash.WriteBlock(msg, f.length);
}