Geometric bounded#
#include "navground/sim/state_estimations/geometric_bounded.h"
Perfect state estimation within a range from the agent.
Registered properties:
range
(float, get_range), deprecated synonymrange_of_view
update_static_obstacles
(bool, get_update_static_obstacles)
Public Functions
Constructs a new instance.
- Parameters:
range – [in] The range of view
update_static_obstacles – [in] Whether to update the static obstacles in StateEstimation::update
Sets the maximal range of view.
- Parameters:
value – [in] The new value
Gets the maximal range of view.
- Returns:
The range of view.
Sets whether to set the static obstacles in StateEstimation::prepare (ignoring the range) or in StateEstimation::update.
- Parameters:
value – [in] True if static obstacles are set in StateEstimation::update.
Gets whether to set the static obstacles in StateEstimation::prepare (ignoring the range) or in StateEstimation::update.
- Returns:
True if static obstacles are set in StateEstimation::update.
Gets the neighbors that lie within get_range from the agent.
- Parameters:
agent – [in] The agent
world – [in] The world the agent is part of.
- Returns:
A list of neighbors around the agent
Public Static Attributes
Default range value
By default it does not update static obstacles