|
Easy Navigation
|
Localizer that misbehaves on purpose, to test how EasyNav copes with it. More...
#include <FaultyLocalizer.hpp>


Public Member Functions | |
| void | on_initialize () override |
| Reads the parameters; throws on an unknown fault. | |
| void | update (NavState &nav_state) override |
| Nothing: everything happens in update_rt(). | |
| void | update_rt (NavState &nav_state) override |
| Localizes or injects the fault. | |
Localizer that misbehaves on purpose, to test how EasyNav copes with it.
Every RT update writes "robot_pose" at a fixed pose ("<name>.x", "<name>.y", "<name>.yaw"), stamped now, and, after "<name>.fault_after" updates, injects the fault in "<name>.fault":
|
override |
Reads the parameters; throws on an unknown fault.
|
override |
Nothing: everything happens in update_rt().
|
override |
Localizes or injects the fault.