73 float atDistance(
float obstacleDistance)
const;
82 float at(
const Eigen::Vector2f& position)
const;
86 const Parameters&
params() const noexcept;
91 const Parameters params_;
ObstacleAwareVelocityLimit(const Costmap &costmap, const Parameters ¶ms)
const Parameters & params() const noexcept
float at(const Eigen::Vector2f &position) const
The limit at a position in the costmap's global frame.
float atDistance(float obstacleDistance) const
The limit for a given distance to the closest obstacle [mm].
This file is part of ArmarX.
This file is part of ArmarX.
std::vector< Position > Positions
float obstacleMaxDistance
Distances are clipped to this value; beyond it the limit is maxVelocity [mm].
float obstacleCostExponent
Exponent of the proximity term. Larger values keep full speed closer to obstacles.
float maxVelocity
Permissible velocity far away from any obstacle [mm/s].
float obstacleDistanceWeight
Strength of the reduction. At zero clearance the limit is maxVelocity / (1 + w).