mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-02 14:13:42 -04:00
13 lines
310 B
C++
13 lines
310 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.Log_Write_Airspeed(airspeed);
|
|
}
|