![]() |
BoB robotics
The Brains on Board robotics library
|
Class for reading ant routes exported by Matlab and rendering them in ant world. More...
#include <route_continuous.h>
Public Member Functions | |
RouteContinuous (float arrowLength, unsigned int maxRouteEntries) | |
RouteContinuous (float arrowLength, unsigned int maxRouteEntries, const std::string &filename) | |
void | load (const std::string &filename) |
Load route from matlab-format binary file. | |
template<typename T > | |
void | generateLevyWalk (const Vector2< meter_t > &origin, size_t numSteps, meter_t stepSizeMean, meter_t stepSizeScale, T &rng) |
Generate levy walk. | |
void | render (const Pose2< meter_t, degree_t > &pose, meter_t height=meter_t{0.1}) const |
bool | atDestination (const Vector2< meter_t > &position, meter_t threshold) const |
std::tuple< meter_t, meter_t > | getDistanceToRoute (const Vector2< meter_t > &position) const |
Pose2< meter_t, degree_t > | getPose (meter_t distance) const |
void | setWaypointFamiliarity (size_t pos, double familiarity) |
void | addPoint (const Vector2< meter_t > &position, bool error) |
meter_t | getLength () const |
const Vector2< meter_t > & | getMinBound () |
const Vector2< meter_t > & | getMaxBound () |
size_t | size () const |
Class for reading ant routes exported by Matlab and rendering them in ant world.