Go to the documentation of this file.
32 #include <boost/bind.hpp>
36 template class Measurement_<BaroModel>;
42 parameters().add(
"qnh",
qnh_);
61 return 288.15 / 0.0065 * (1.0 - pow(
update.getVector()(0) /
qnh_, 1.0/5.255));
virtual const boost::shared_ptr< PositionStateType > & position() const
virtual Model * getModel() const
double resetElevation(const State &state, boost::function< double()> altitude_func)
double getElevation() const
virtual ConstPositionType getPosition() const
void update(const std::string &key, const XmlRpc::XmlRpcValue &v)
Baro(const std::string &name="baro")
virtual void getExpectedValue(MeasurementVector &y_pred, const State &state)
void setElevation(double elevation)
virtual bool prepareUpdate(State &state, const Update &update)
double getAltitude(const BaroUpdate &update)
virtual void getStateJacobian(MeasurementMatrix &C, const State &state, bool init)