Ahead#

#include "navground/core/kinematics.h"
class AheadKinematics : public navground::core::Kinematics#

Kinematics for non-wheeled agents that head towards where they move (e.g., people)

Public Functions

inline explicit AheadKinematics(ng_float_t max_speed = Kinematics::inf, ng_float_t max_angular_speed = Kinematics::inf)#

Constructs a new instance.

Parameters:
  • max_speed[in] The maximal speed

  • max_angular_speed[in] The maximal angular speed

inline virtual unsigned dof() const override#

Returns the degrees of freedom.

Returns:

2