ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2022-09-19 18:10:34 -0500 | marked best answer | [ROS2][Nav2] Nav2 Planner Metrics Hello, I am new to ROS and I don't know if this is the right place to ask about this. I did research but I couldn't find anything about how to calculate some planner metrics. I would like to run a wide variety of planners SmacPlanner, A, Hybrid-A and varying some parameters while measuring the time to obtain the global path and its length. For now, I'm clueless about how to do it. Additionally, I would like to set the initial pose and the goal pose programmatically so I can guarantee that the start and final poses are always the same. I do not have this precision using rviz commands. I tried publishing to the topic /initialpose with the following command but without success. ros2 topic pub -1 /initialpose geometry_msgs/PoseWithCovarianceStamped '{ header: {stamp: {sec: 0, nanosec: 0}, frame_id: "map"}, pose: { pose: {position: {x: 10, y: 10.0, z: 00.0}, orientation: {w: 0.1}}, } }' Said that I have the following questions: Is there a topic that I can subscribe in order to get those metrics (path length and average time to compute global path)? Is the initialpose the correct topic to publish this pose? Which topic can I use to publish the goal pose? I tried the /goal_pose but also without success. |
2022-07-14 12:41:11 -0500 | received badge | ● Famous Question (source) |
2022-06-30 01:47:21 -0500 | received badge | ● Teacher (source) |
2021-09-17 09:05:11 -0500 | received badge | ● Notable Question (source) |
2021-07-02 08:49:46 -0500 | received badge | ● Popular Question (source) |
2021-06-30 08:47:58 -0500 | received badge | ● Student (source) |
2021-06-30 07:25:48 -0500 | asked a question | [ROS2][Nav2] Nav2 Planner Metrics [ROS2][Nav2] Nav2 Planner Metrics Hello, I am new to ROS and I don't know if this is the right place to ask about this. |
2021-04-16 04:49:10 -0500 | answered a question | How to make global_planner_plugin in ROS2 I am starting research on how to write a plugin for the nav2 global planner. So far, I found this issue https://github.c |