Boundary#
#include "navground/sim/state_estimations/sensor_boundary.h"
Returns the distance to a rectangular boundary.
Registered properties:
range
(float, get_range)min_x
(float, get_min_x)max_x
(float, get_max_x)min_y
(float, get_min_y)max_y
(float, get_max_y)
Public Functions
Constructs a new instance.
- Parameters:
range – [in] The range of view
min_x – [in] The minimal x coordinate
max_x – [in] The maximal x coordinate
min_y – [in] The minimal y coordinate
max_y – [in] The maximal y coordinate
name – [in] The name to use as a prefix
Sets the range of view.
- Parameters:
value – [in] The new value
Gets the range of view.
- Returns:
The range of view.
Sets the minimum x.
- Parameters:
value – [in] The value
Gets the minimum x.
- Returns:
The minimum x.
Sets the maximum x.
- Parameters:
value – [in] The value
Gets the maximum x.
- Returns:
The maximum x.
Sets the minimum y.
- Parameters:
value – [in] The value
Gets the minimum y.
- Returns:
The minimum y.
Sets the maximum y.
- Parameters:
value – [in] The value
Gets the maximum y.
- Returns:
The maximum y.
Public Static Attributes
The default range
Default lower bound
Default upper bound