mirs_esp_pio
読み取り中…
検索中…
一致する文字列を見つけられません
PoseEstimator クラス

#include <PoseEstimator.hpp>

公開メンバ関数

 PoseEstimator (double counts_per_rev, double wheel_radius, double wheel_base, bool use_ekf)
void applyParams (double wheel_radius, double wheel_base)
 パラメータ適用(変更時のみ呼ぶこと)。
void reset ()
 pose・速度・累積をゼロ化する(/reset_odometry 用)。
void update (int64_t dl, int64_t dr, double dist_l, double dist_r, const EstimatorImu &imu, double dt_sec)
 状態推定1ステップ。
float x () const
float y () const
float theta () const
float v () const
float w () const
float velL () const
float velR () const

静的公開変数類

static constexpr int64_t kMaxDeltaPerCycle = 2048

詳解

PoseEstimator.hpp の 28 行目に定義があります。

構築子と解体子

◆ PoseEstimator()

PoseEstimator::PoseEstimator ( double counts_per_rev,
double wheel_radius,
double wheel_base,
bool use_ekf )

PoseEstimator.cpp の 14 行目に定義があります。

関数詳解

◆ applyParams()

void PoseEstimator::applyParams ( double wheel_radius,
double wheel_base )

パラメータ適用(変更時のみ呼ぶこと)。

PoseEstimator.cpp の 22 行目に定義があります。

◆ reset()

void PoseEstimator::reset ( )

pose・速度・累積をゼロ化する(/reset_odometry 用)。

PoseEstimator.cpp の 28 行目に定義があります。

◆ theta()

float PoseEstimator::theta ( ) const

PoseEstimator.cpp の 102 行目に定義があります。

◆ update()

void PoseEstimator::update ( int64_t dl,
int64_t dr,
double dist_l,
double dist_r,
const EstimatorImu & imu,
double dt_sec )

状態推定1ステップ。

引数
dl前回からの左差分[カウント](OdometryCalculator::sample()の戻り。そのまま渡すこと)
dr同右
dist_l左右移動距離[m](OdometryCalculator::distLeft()。odom用)
dist_r同右
imuIMU入力(不通時は imu_ok=false)
dt_sec実測周期[s]

PoseEstimator.cpp の 37 行目に定義があります。

◆ v()

float PoseEstimator::v ( ) const

PoseEstimator.cpp の 106 行目に定義があります。

◆ velL()

float PoseEstimator::velL ( ) const

PoseEstimator.cpp の 114 行目に定義があります。

◆ velR()

float PoseEstimator::velR ( ) const

PoseEstimator.cpp の 118 行目に定義があります。

◆ w()

float PoseEstimator::w ( ) const

PoseEstimator.cpp の 110 行目に定義があります。

◆ x()

float PoseEstimator::x ( ) const

PoseEstimator.cpp の 94 行目に定義があります。

◆ y()

float PoseEstimator::y ( ) const

PoseEstimator.cpp の 98 行目に定義があります。

メンバ詳解

◆ kMaxDeltaPerCycle

int64_t PoseEstimator::kMaxDeltaPerCycle = 2048
staticconstexpr

PoseEstimator.hpp の 32 行目に定義があります。


このクラス詳解は次のファイルから抽出されました: