Class nest_zone_tracker
Defined in File nest_zone_tracker.hpp
Inheritance Relationships
Base Types
public cosm::fsm::state_tracker
(Class state_tracker)public cspatial::metrics::nest_zone_metrics
Class Documentation
-
class nest_zone_tracker : public cosm::fsm::state_tracker, public cspatial::metrics::nest_zone_metrics
Adapts cfsm::state_tracker to tracking when a robot has entered/exited the nest, and how long they stay in it for. Tracking is performed regardless of why the robot enters the nest (exploration, homing, etc.).
Public Functions
-
inline explicit nest_zone_tracker(const csubsystem::sensing_subsystem *const sensing)
-
nest_zone_tracker(const nest_zone_tracker&) = delete
-
nest_zone_tracker(nest_zone_tracker&&) = delete
-
inline bool entered_nest(void) const final override
-
inline bool exited_nest(void) const final override
-
inline bool in_nest(void) const final override
-
inline rtypes::timestep nest_duration(void) const final override
-
inline rtypes::timestep nest_entry_time(void) const final override
-
nest_zone_tracker &operator=(const nest_zone_tracker&) = delete
-
nest_zone_tracker &operator=(nest_zone_tracker&&) = delete
-
inline explicit nest_zone_tracker(const csubsystem::sensing_subsystem *const sensing)