You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
272 B

#include "Baro.h"
namespace sensor_simulator::sensor
{
Baro::Baro(Ekf* ekf):Sensor(ekf)
{
}
Baro::~Baro()
{
}
void Baro::send(uint32_t time)
{
_ekf->setBaroData(time,_baro_data);
_time_last_data_sent = time;
}
void Baro::setData(float baro)
{
_baro_data = baro;
}