Template Class rlos_perception_subsystem
Defined in File rlos_perception_subsystem.hpp
Class Documentation
-
template<typename TLOS>
class rlos_perception_subsystem Base class for Line-Of-Sight (LOS) based robot perception without memory (reactive behaviors only).
Public Functions
-
inline explicit rlos_perception_subsystem(const csprlos::config::rlos_config *const config)
-
virtual ~rlos_perception_subsystem(void) = default
-
inline const csprlos::config::rlos_config *config(void) const
-
inline void los(std::unique_ptr<TLOS> los)
Set the robots LOS for the next timestep.
This is a hack to make it easy for me to run simulations, as I can computer the line of sight for a robot within the loop functions, and just pass it in here. In real robots this routine would be MUCH messier and harder to work with.
- Parameters:
los – The new los
-
inline virtual void reset(void)
Reset the robot’s perception of the environment to an initial state.
-
inline explicit rlos_perception_subsystem(const csprlos::config::rlos_config *const config)