You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- The remaining distance calculation is based on getting the remaining shortest path between the current vehicle pose and goal pose using `lanelet2` routing APIs.
23
23
- The remaining distance is calculated by summing the 2D length of remaining shortest path, with exception to current lanelet and goal lanelet
24
24
- For the current lanelet, the distance is calculated from the current vehicle position to the end of that lanelet
25
25
- For the goal lanelet, the distance is calculated from the start of the lanelet to the goal pose in this lanelet.
26
+
- When there is only one lanelet remaining, the distance is calculated by getting the 2D distance between the current vehicle pose and goal pose.
27
+
- Checks are added to handle cases when current lanelent, goal lanelet, or routing graph are not valid to prevent node process die
28
+
- In such cases when, last valid remaining distance and time are maintained
26
29
27
-
### Remaining Time Calculation
30
+
####Remaining Time Calculation
28
31
29
-
-Remaining time is calculated using simple equation of motion by getting the current vehicle velocity magnitude.
30
-
-Then the calculated remaining distance is divided by the velocity magnitude.
32
+
-The remaining time currently depends on a simple equation of motion by getting the maximum velocity limit.
33
+
-The remaining distance is calculated by dividing remaining distance by the maximum velocity limit
31
34
32
35
### Future Work
33
36
34
37
- Find a more efficient way for remaining distance calculation instead of regularly searching the graph for finding the remaining shortest path
35
-
- Engage more sophisticated motion models for more accurate remaining time calculations
36
-
- Handle cases when the vehicle stops during the mission or Autoware get disengaged then engaged for the same mission
38
+
- Engage more sophisticated motion models for more accurate remaining time calculations
0 commit comments