|
EasyFleet
A simple-by-default framework for multi-robot, multi-capability fleets built on ROS 2
|
Non-template interface RobotHandle holds one of per capability type it has ever run, so it doesn't need to know ActionT itself for anything but sending a fresh goal (see run(), on the concrete subclass only). More...
#include <running_capability.hpp>
Public Member Functions | |
| virtual void | stop ()=0 |
| Asks the in-flight goal, if any, to stop. | |
| virtual easyfleet::CapabilityState | state () const =0 |
| virtual void | check_timeout ()=0 |
| Called periodically (from FleetSession::spin_some()) so a timeout passed to run() actually gets enforced without blocking the caller. | |
Non-template interface RobotHandle holds one of per capability type it has ever run, so it doesn't need to know ActionT itself for anything but sending a fresh goal (see run(), on the concrete subclass only).
|
pure virtual |
Called periodically (from FleetSession::spin_some()) so a timeout passed to run() actually gets enforced without blocking the caller.
Implemented in RunningCapability< ActionT >.
|
pure virtual |
Implemented in RunningCapability< ActionT >.
|
pure virtual |
Asks the in-flight goal, if any, to stop.
Implemented in RunningCapability< ActionT >.