Nav2 Navigation Stack - humble
humble
ROS 2 Navigation Stack
|
Public Member Functions | |
def | __init__ (self, Text target_argument) |
Dict | value (self) |
Parsing argument using sys module
Definition at line 20 of file parse_multirobot_pose.py.
def nav2_common.launch.parse_multirobot_pose.ParseMultiRobotPose.__init__ | ( | self, | |
Text | target_argument | ||
) |
Parse arguments for multi-robot's pose for example, `ros2 launch nav2_bringup bringup_multirobot_launch.py robots:="robot1={x: 1.0, y: 1.0, yaw: 0.0}; robot2={x: 1.0, y: 1.0, z: 1.0, roll: 0.0, pitch: 1.5707, yaw: 1.5707}"` `target_argument` shall be 'robots'. Then, this will parse a string value for `robots` argument. Each robot name which is corresponding to namespace and pose of it will be separted by `;`. The pose consists of x, y and yaw with YAML format. :param: target argument name to parse
Definition at line 25 of file parse_multirobot_pose.py.
References nav2_common.launch.parse_multirobot_pose.ParseMultiRobotPose.__parse_argument().
Dict nav2_common.launch.parse_multirobot_pose.ParseMultiRobotPose.value | ( | self | ) |
get value of target argument
Definition at line 55 of file parse_multirobot_pose.py.