|
bitsim
Model, simulate, estimate and control robots in C++
|
Classes | |
| struct | Score |
| struct | Seen |
| class | EKFSlam |
| Simultaneous localisation and mapping with an extended Kalman filter: a robot works out where it is and where the landmarks around it are, at the same time, from odometry and range-and-bearing sightings of the landmarks. More... | |
| class | BoxWorld |
| A rectangular slice of the plane with axis-aligned box obstacles, a start and a goal. More... | |
Typedefs | |
| using | Point = std::array<real_t, 2> |
| using | Pose = EKFSlam::Pose |
| using | real_t |
| real_t | |
| using | uint_t |
| uint_t | |
Enumerations | |
| enum class | Method { ids , nearest_metres , mahalanobis } |
Functions | |
| std::vector< Seen > | sight (const BoxWorld &world, const Pose &pose, const EKFSlam::Parameters &p, std::mt19937 &rng) |
| Score | run (Method method, real_t radius=0.0) |
| void | report (const std::string &name, const Score &s) |
| std::string | times (uint_t n) |
| void | explain (const std::string &name, const Score &s) |
| void | run () |
| real_t | wrap_angle (real_t angle) |
| The angle [rad] wrapped to \((-\pi, \pi]\), so that angles that differ by whole turns compare equal. | |
Variables | |
| const real_t | DT = 0.1 |
| const real_t | SPEED = 0.3 |
| const real_t | MAX_TURN = 1.5 |
| const real_t | SENSOR_RANGE = 2.5 |
| const uint_t | SIGHT_EVERY = 5 |
| const real_t | ODOMETRY_NOISE = 2.0 |
| const std::vector< Point > | POSTS |
| const std::vector< Point > | ROUTE |
| using ekf_slam_data_association::Point = std::array<real_t, 2> |
| using bitsim::real_t |
| using bitsim::uint_t |
|
strong |
| void ekf_slam_data_association::explain | ( | const std::string & | name, |
| const Score & | s ) |
| void ekf_slam_data_association::report | ( | const std::string & | name, |
| const Score & | s ) |
| void ekf_slam_data_association::run | ( | ) |
| std::vector< Seen > ekf_slam_data_association::sight | ( | const BoxWorld & | world, |
| const Pose & | pose, | ||
| const EKFSlam::Parameters & | p, | ||
| std::mt19937 & | rng ) |
| std::string ekf_slam_data_association::times | ( | uint_t | n | ) |
|
inline |
The angle [rad] wrapped to \((-\pi, \pi]\), so that angles that differ by whole turns compare equal.
| const real_t ekf_slam_data_association::DT = 0.1 |
| const real_t ekf_slam_data_association::MAX_TURN = 1.5 |
| const real_t ekf_slam_data_association::ODOMETRY_NOISE = 2.0 |
| const std::vector<Point> ekf_slam_data_association::POSTS |
| const std::vector<Point> ekf_slam_data_association::ROUTE |
| const real_t ekf_slam_data_association::SENSOR_RANGE = 2.5 |
| const uint_t ekf_slam_data_association::SIGHT_EVERY = 5 |
| const real_t ekf_slam_data_association::SPEED = 0.3 |