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

Metric calculation node development #11

Closed
2 tasks
mitsudome-r opened this issue Feb 23, 2022 · 9 comments
Closed
2 tasks

Metric calculation node development #11

mitsudome-r opened this issue Feb 23, 2022 · 9 comments
Assignees
Labels

Comments

@mitsudome-r
Copy link
Member

Description

(Copied issue from https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/issues/1446)
To implement and upload to AutowreAuto repository sample ROS2 node for metric calculation. As a sample, the calculation of deviation from planned path should be calculated.

Purpose

To validate specific functionalities of AutowareAuto

Desired Behavior

Metric calculation node subscribes to ROS2 topics published by Autoware or Simulation pipeline and publishes value of calculated metric

Definition of Done

  • Sample metric calculation node developed and uploaded to the AutowareAuto repository
  • Instruction how to run, and how to develop other nodes for calculation of different metrics
@WJaworskiRobotec
Copy link

Similar feature related to trajectory evaluation : autowarefoundation/autoware.universe#288

@djargot
Copy link

djargot commented Apr 27, 2022

Currently working on this issue.
I am reusing parts of the planning_evaluator and motion_evaluator and expanding it to calculate various metrics, like:

  • average velocity
  • calculation of localization errors: lateral, absolute deviations from the trajectory
  • heading angle error
  • distance to closest obstacle

The final goals are:

  • to have a generic metric calculator that more specific metric calculators (planning, localization, object detection, possibly more?) could inherit from.
  • to make it easy to add new metrics under different categories (planning, localization, object detection, etc.)

@djargot
Copy link

djargot commented May 24, 2022

Recently added 2 separate evaluators (localization and kinematic), cleaned the code, and added basic unit tests.

I am currently trying to find the best way to find proper beginning and ending times between which metrics should be collected as it should happen only when a vehicle is driving.
Additionally, working on segmentation evaluator and extracting common parts of all evaluators to parent evaluator.

@djargot
Copy link

djargot commented Jun 8, 2022

Added draft of ground detection error calculation from point clouds - calculating confusion matrix.
Also, tested localization evaluator with TierIV SIM.

@WJaworskiRobotec
Copy link

@djargot Have you added publishing of gt localization on the seperate topic (/tf_ground_truth or sth like that) to a branch in TierIV simulator ?

@WJaworskiRobotec
Copy link

WJaworskiRobotec commented Jul 19, 2022

Localization and kinematic evaluators are already merged to autoware.universe

localization and kinematic evaluator video

@djargot
Copy link

djargot commented Aug 17, 2022

I created initial version of segmentation metrics (autowarefoundation/autoware.universe#1600) to calculate precision, recall, accuracy, and confusion matrix. Values are calculated both for a single point cloud as well as across whole scenario/ROS bag.

I tested metrics using labeled point cloud provided by MORAI (related issue: autowarefoundation/autoware.universe#669).

Example results for ground segmentation metrics for a single point cloud:
confmat

@stale
Copy link

stale bot commented Oct 16, 2022

This pull request has been automatically marked as stale because it has not had recent activity.

@stale stale bot added the stale label Oct 16, 2022
@mitsudome-r
Copy link
Member Author

Close due to stale issue

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

No branches or pull requests

3 participants