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

time_to_reach_goal metric relies on human agents data rather than robot's #3

Open
giulianodejulio opened this issue Sep 12, 2024 · 1 comment

Comments

@giulianodejulio
Copy link

Hi there,

I am using your package to test my navigation algorithm. To become familiar with the metrics recording, I started by computing metrics that don't involve human agents, such as time_to_reach_goal. However, in hunav_metrics.py i see that t1 and t2 are computed using agents rather than robot data. I understand that you use the header.stamp information to compute elapsed time, yet I find it a bit misleading.

Thanks for your time.

@noeperez
Copy link
Member

Hi!
It does not matter. The input of the functions to compute the metrics are two vectors. One for the agents data, another for the robot data along the trajectory. These vectors have the same length and the same timestamps for each time step along the trajectory. Therefore, the time elapsed is the same if you calculate it with the robot data or the agents data.

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