autowarefoundation / autoware

Autoware - the world's leading open-source software project for autonomous driving
https://www.autoware.org/
Apache License 2.0
8.59k stars 2.88k forks source link

Implement Remaining Mission Distance and ETA Functionality and Visualization #4593

Closed ahmeddesokyebrahim closed 1 month ago

ahmeddesokyebrahim commented 3 months ago

Checklist

Description

The issue entails integrating functionality to provide and visualize the remaining mission distance and estimated time of arrival (ETA) within Autoware.

Purpose

To enhance Autoware's capabilities by providing users with real-time information regarding the remaining distance to their destination and the estimated time needed to reach it.

As the remaining mission distance and estimated time of arrival (ETA) is currently not provided or visualized in the Autoware system, this feature is crucial for enhancing the user experience by providing real-time information about the progress of the mission and the estimated time left.

Possible approaches

  1. Utilize existing Autoware modules to calculate remaining mission distance and ETA.
  2. Implement a new module specifically dedicated to computing and visualizing mission-related information.
  3. Integrate with external APIs or libraries for more accurate calculations.

Definition of done

xmfcx commented 2 months ago

@ahmeddesokyebrahim could you open up the PR for this task?

ahmeddesokyebrahim commented 2 months ago

The following PRs are ready for review :red_circle: merge sequence matters :red_circle:

xmfcx commented 2 months ago

Could you add the message to https://github.com/autowarefoundation/autoware_internal_msgs instead?

https://github.com/autowarefoundation/autoware_msgs is for more mandatory interfaces of the Autoware.

Also I think time estimation can be a bit tricky, maybe we can only start with the remaining distance metric.

ahmeddesokyebrahim commented 2 months ago

@xmfcx : Thanks for your review comment. I have updated my comment above.

I am thinking of keeping the time information in the msg definition for reporting and debugging purposes, similar to suggestion from @mitsudome-r -san in the meeting, so they will stay in the publisher and we may handle some corner cases when the vehicle stops and so on. But I plan to remove these information for now from the visualization display and keep only the distance metric as you clarified.

Let me know what do you think about that.

xmfcx commented 1 month ago

Finished as all related PRs are merged and the functionality is incorporated into the Autoware.