Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example for collecting statistics #14

Open
fabiodl opened this issue Dec 9, 2022 · 2 comments
Open

Example for collecting statistics #14

fabiodl opened this issue Dec 9, 2022 · 2 comments

Comments

@fabiodl
Copy link

fabiodl commented Dec 9, 2022

Thank you for your work. It compiled successfully on ros-noetic as well.

roslaunch move_base_benchmark move_base_benchmark.launch
and
roslaunch move_base_benchmark move_base_benchmark.launch
work as expected.

Could you provide some instructions on how to
-change the local planner
-collect statistics, in order to generate a table as table II in the paper?

@nkuwenjian
Copy link
Member

nkuwenjian commented Dec 19, 2022

Hi fabiodl,

For the first question, you can change the local planner by modifying move_base_benchmark.launch. For example, you can use dwa local planner instead of teb local planner via modifying
...
<param name="base_local_planner" value="teb_local_planner/TebLocalPlannerROS" />
<rosparam file="$(find move_base_benchmark)/params/teb_local_planner_params.yaml" command="load" />
...
to
...
<param name="base_local_planner" value="dwa_local_planner/DWAPlannerROS" />
<rosparam file="$(find move_base_benchmark)/params/dwa_local_planner_params.yaml" command="load" />
...
If you want to use a custom global or local planner, please refer to
Writing A Global Path Planner As Plugin in ROS
Writing A Local Path Planner As Plugin in ROS

For the second question, the intermediate data during the navigation process will be recorded in the log.txt file in move_base_benchmark/launch directory with the format of {timestamp, position_x, position_y, heading, linear_velocity, angular_velocity, distance_to_closest_obstacle, planning_time}. You can use the metrics.cpp script in move_base_benchmark/doc to compute some evaluation results as presented in our paper.

@fabiodl
Copy link
Author

fabiodl commented Dec 22, 2022

Thank you for your reply.

As for the tests, I believe the initial and goal poses are specified in the map10cm/*/config.txt files.
However, these files report three start-goal pairs, while the paper's table lists five.
Would it be possible to provide the remaining two positions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants