|
mirs_esp_pio
|
#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 | ( | double | counts_per_rev, |
| double | wheel_radius, | ||
| double | wheel_base, | ||
| bool | use_ekf ) |
PoseEstimator.cpp の 14 行目に定義があります。
| void PoseEstimator::applyParams | ( | double | wheel_radius, |
| double | wheel_base ) |
パラメータ適用(変更時のみ呼ぶこと)。
PoseEstimator.cpp の 22 行目に定義があります。
| void PoseEstimator::reset | ( | ) |
pose・速度・累積をゼロ化する(/reset_odometry 用)。
PoseEstimator.cpp の 28 行目に定義があります。
| float PoseEstimator::theta | ( | ) | const |
PoseEstimator.cpp の 102 行目に定義があります。
| 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 | 同右 |
| imu | IMU入力(不通時は imu_ok=false) |
| dt_sec | 実測周期[s] |
PoseEstimator.cpp の 37 行目に定義があります。
| float PoseEstimator::v | ( | ) | const |
PoseEstimator.cpp の 106 行目に定義があります。
| float PoseEstimator::velL | ( | ) | const |
PoseEstimator.cpp の 114 行目に定義があります。
| float PoseEstimator::velR | ( | ) | const |
PoseEstimator.cpp の 118 行目に定義があります。
| float PoseEstimator::w | ( | ) | const |
PoseEstimator.cpp の 110 行目に定義があります。
| float PoseEstimator::x | ( | ) | const |
PoseEstimator.cpp の 94 行目に定義があります。
| float PoseEstimator::y | ( | ) | const |
PoseEstimator.cpp の 98 行目に定義があります。
|
staticconstexpr |
PoseEstimator.hpp の 32 行目に定義があります。