1 #include "../BlockLocalPositionEstimator.hpp" 25 "mean %d cm stddev %d cm",
47 if (d > max_dist || d < min_dist) {
56 y(0) = (d + _param_lpe_ldr_off_z.get()) *
83 R(0, 0) = _param_lpe_ldr_z.get() * _param_lpe_ldr_z.get();
102 float beta = (r.
transpose() * (S_I * r))(0, 0);
static const float BETA_TABLE[7]
BlockStats< float, n_y_lidar > _lidarStats
matrix::Vector< Type, M > getMean()
orb_advert_t mavlink_log_pub
uORB::SubscriptionData< distance_sensor_s > * _sub_lidar
Matrix< Type, N, M > transpose() const
#define mavlink_and_console_log_info(_pub, _text,...)
Send a mavlink emergency message and print to console.
uORB::SubscriptionData< vehicle_attitude_s > _sub_att
static const uint32_t REQ_LIDAR_INIT_COUNT
Vector< float, 6 > f(float t, const Matrix< float, 6, 1 > &, const Matrix< float, 3, 1 > &)
static const uint32_t LIDAR_TIMEOUT
uint64_t _time_last_lidar
int lidarMeasure(Vector< float, n_y_lidar > &y)
__BEGIN_DECLS typedef void * orb_advert_t
ORB topic advertiser handle.
Matrix< float, n_x, n_x > m_P
matrix::Vector< Type, M > getStdDev()
uORB::PublicationData< ekf2_innovations_s > _pub_innov
void update(const matrix::Vector< Type, M > &u)