Feature request
Feature description
An OpaqueFunction is used with ParseMultiRobotPose to repeat entities based on values in a launch argument. For example, see cloned_multi_tb3_simulation_launch.py
As of ros2/launch#802, launch has a ForEach action to do the same thing. See this ROS Discourse comment.
Update Nav2 to use ForEach instead of OpaqueFunction + ParseMultiRobotPose.
Implementation considerations
Steps:
- In every launch file where
OpaqueFunction + ParseMultiRobotPose are used:
- Change the launch file to use a
ForEach action instead of an OpaqueFunction
- Make the existing
generate_robot_actions() function the ForEach action's function, and turn the values parsed by ParseMultiRobotPose into parameters of the function, with default values wherever appropriate
- Provide the
LaunchConfiguration() to the ForEach action instead of ParseMultiRobotPose
- Consider deprecating
ParseMultiRobotPose
Feature request
Feature description
An
OpaqueFunctionis used withParseMultiRobotPoseto repeat entities based on values in a launch argument. For example, seecloned_multi_tb3_simulation_launch.pyAs of ros2/launch#802,
launchhas aForEachaction to do the same thing. See this ROS Discourse comment.Update Nav2 to use
ForEachinstead ofOpaqueFunction+ParseMultiRobotPose.Implementation considerations
Steps:
OpaqueFunction+ParseMultiRobotPoseare used:ForEachaction instead of anOpaqueFunctiongenerate_robot_actions()function theForEachaction'sfunction, and turn the values parsed byParseMultiRobotPoseinto parameters of the function, with default values wherever appropriateLaunchConfiguration()to theForEachaction instead ofParseMultiRobotPoseParseMultiRobotPose