29 #ifndef HECTOR_POSE_ESTIMATION_BARO_H
30 #define HECTOR_POSE_ESTIMATION_BARO_H
35 #ifdef USE_HECTOR_UAV_MSGS
36 #include <hector_uav_msgs/Altimeter.h>
91 Baro(
const std::string& name =
"baro");
94 void setElevation(
double elevation) { getModel()->setElevation(elevation); }
97 void setQnh(
double qnh) { getModel()->setQnh(qnh); }
98 double getQnh()
const {
return getModel()->getQnh(); }
100 virtual void onReset();
101 virtual bool prepareUpdate(
State &state,
const Update &update);
106 #endif // HECTOR_POSE_ESTIMATION_BARO_H