CheckPoseOccupancy
Checks to see if the pose is occupied. If it is occupied, it returns SUCCESS, otherwise it returns FAILURE.
Input Ports
pose
- Type:
geometry_msgs::msg::PoseStampedDefault:N/A -
Pose to check if it is occupied.
cost_threshold
- Type:
doubleDefault:254.0 -
The cost threshold above which a waypoint is considered in collision and should be removed. If
use_footprint = false, consider setting to 253 for occupied.
use_footprint
- Type:
boolDefault:true -
Whether to use the footprint cost or the point cost.
consider_unknown_as_obstacle
- Type:
boolDefault:false -
Whether to consider unknown cost (255) as obstacle.
service_name
- Type:
stringDefault:N/A -
Costmap service name responsible for getting the cost. If not specified,
/global_costmap/get_cost_global_costmapis used.
server_timeout
- Type:
chrono::millisecondsDefault:N/A -
Action server timeout (ms). If not provided, uses the BT Navigator's
default_server_timeoutparameter value (20 ms by default).
Example
<CheckPoseOccupancy server_timeout="10" pose="{goal}"/>