|
bitsim
Model, simulate, estimate and control robots in C++
|
What a robot knows about where it drives: the line on the floor, a RoundedRectangle, and the walls and boxes its range sensors can hear. More...
#include <diff_drive_ekf.h>
Public Member Functions | |
| DiffDriveMap (const trajectory::RoundedRectangle &track, std::vector< Box2d > obstacles) | |
| const trajectory::RoundedRectangle & | track () const noexcept |
| const std::vector< Box2d > & | obstacles () const noexcept |
| real_t | ray_cast (real_t x, real_t y, real_t angle, real_t max_range) const |
| How far a ray from (x, y) at angle [rad] from the x axis goes before it meets an obstacle, at most max_range [m]. | |
What a robot knows about where it drives: the line on the floor, a RoundedRectangle, and the walls and boxes its range sensors can hear.
| bitsim::estimation::DiffDriveMap::DiffDriveMap | ( | const trajectory::RoundedRectangle & | track, |
| std::vector< Box2d > | obstacles ) |
|
inlinenoexcept |
| real_t bitsim::estimation::DiffDriveMap::ray_cast | ( | real_t | x, |
| real_t | y, | ||
| real_t | angle, | ||
| real_t | max_range ) const |
How far a ray from (x, y) at angle [rad] from the x axis goes before it meets an obstacle, at most max_range [m].
|
inlinenoexcept |