mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 14:40:34 +08:00
Add airspeed sensor to sensor_simulator
This commit is contained in:
@@ -13,8 +13,9 @@ Flow::~Flow()
|
||||
{
|
||||
}
|
||||
|
||||
void Flow::send(uint32_t time)
|
||||
void Flow::send(uint64_t time)
|
||||
{
|
||||
_flow_data.dt = time - _time_last_data_sent;
|
||||
_ekf->setOpticalFlowData(time, &_flow_data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user