Skip to content

GetNextFewGoals

Extracts only the next N goals from a list of goals to send to a later task that only needs localized future knowledge.

Input Ports

num_goals

Type: int Default: N/A

How many of the goals to take from the input goals.

input_goals

Type: nav_msgs::msg::Goals Default: N/A

Input goals list.

Output Ports

output_goals

Type: nav_msgs::msg::Goals Default: N/A

The output pruned goals list.

Example

<GetNextFewGoals num_goals="3" input_goals="{goal_poses}" output_goals="{planning_goals}"/>