![]() |
BoB robotics
The Brains on Board robotics library
|
Class for reading ant routes exported by Matlab, performing 'straightening'. More...
#include <route_ardin.h>
Public Member Functions | |
RouteArdin (float arrowLength, unsigned int maxRouteEntries) | |
RouteArdin (float arrowLength, unsigned int maxRouteEntries, const std::string &filename, bool realign=true) | |
void | load (const std::string &filename, bool realign=true) |
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, size_t > | getDistanceToRoute (const Vector2< meter_t > &position) const |
void | setWaypointFamiliarity (size_t pos, double familiarity) |
void | highlightWaypointRange (size_t begin, size_t end) |
void | addPoint (const Vector2< meter_t > &position, bool error) |
const Vector2< meter_t > & | getMinBound () |
const Vector2< meter_t > & | getMaxBound () |
size_t | size () const |
Pose2< meter_t, degree_t > | operator[] (size_t waypoint) const |
Class for reading ant routes exported by Matlab, performing 'straightening'.
Processed from original Matlab code and rendering them in ant world