Base implementation for the on_motion_policy algorithm. More...
#include <on_motion.hpp>
Public Member Functions | |
constexpr bool | operator() (const Pose &pose) |
Return true if motion has been detected. More... | |
Private Attributes | |
std::optional< Pose > | latest_pose_ |
The latest pose for motion comparison. More... | |
Base implementation for the on_motion_policy algorithm.
Pose | The pose type to check for motion. |
Definition at line 78 of file on_motion.hpp.
|
inlineconstexpr |
Return true if motion has been detected.
Definition at line 84 of file on_motion.hpp.
|
private |
The latest pose for motion comparison.
Definition at line 99 of file on_motion.hpp.