mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-12 11:07:35 +08:00
Update baro interface
This commit is contained in:
committed by
Paul Riseborough
parent
74ec80cdc7
commit
b8a3ed5f09
@@ -15,7 +15,8 @@ Baro::~Baro()
|
||||
|
||||
void Baro::send(uint64_t time)
|
||||
{
|
||||
_ekf->setBaroData(time,_baro_data);
|
||||
const baroSample baro_sample {_baro_data, time};
|
||||
_ekf->setBaroData(baro_sample);
|
||||
}
|
||||
|
||||
void Baro::setData(float baro)
|
||||
|
||||
Reference in New Issue
Block a user