Class VehicleTraits
Defined in File VehicleTraits.hpp
Nested Relationships
Nested Types
Class Documentation
-
class VehicleTraits
Public Types
Public Functions
-
VehicleTraits(Limits linear, Limits angular, Profile profile, Differential steering = Differential())
Constructor.
-
Differential &set_differential(Differential parameters = Differential())
-
Differential *get_differential()
-
const Differential *get_differential() const
-
bool valid() const
Returns true if the values of the traits are valid. For example, this means that all velocity and acceleration values are greater than zero.
-
class Differential
Public Functions
-
Differential(Eigen::Vector2d forward = Eigen::Vector2d::UnitX(), bool reversible = true)
-
Differential &set_forward(Eigen::Vector2d forward)
-
const Eigen::Vector2d &get_forward() const
-
Differential &set_reversible(bool reversible)
-
bool is_reversible() const
-
bool valid() const
Returns true if the length of the forward vector is not too close to zero. If it is too close to zero, then the direction of the forward vector cannot be reliably interpreted. Ideally the forward vector should have unit length.
-
Differential(Eigen::Vector2d forward = Eigen::Vector2d::UnitX(), bool reversible = true)
-
class Limits
-
VehicleTraits(Limits linear, Limits angular, Profile profile, Differential steering = Differential())