usdot-fhwa-stol / carma-analytics-fotda

CARMA Analytics is a secure, scalable and cloud agnostic data architecture to enable research analysis on big data sets by defining repeatable and scalable processes for ingesting data, creation of a data repository to fuse, process and perform quality assurance.
Apache License 2.0
3 stars 3 forks source link

switched to first-order splines #71

Closed john-chrosniak closed 3 months ago

john-chrosniak commented 3 months ago

PR Details

Description

The script used to generate the C1T crosstrack vs. downtrack visualization has been shown to poorly fit splines to the route graph, which causes the reported crosstrack error to be higher than what is actually experienced. This PR includes a fix to improve spline fitment and report more accurate crosstrack error.

Related Jira Key

Motivation and Context

Crosstrack error is an important metric to track as we establish the performance capabilities and limitations of the C1T system, so accurately reporting this metric is crucial.

How Has This Been Tested?

New splines were fit to a route driven in the main lab and visualized. The crosstrack vs. downtrack error was also compared to the route-driven in 2D space and visually better aligns with the deviations experienced by the truck.

Types of changes

Checklist:

john-chrosniak commented 3 months ago

route_driven

Route driven in 2D space^

new_crosstrack_error

Updated crosstrack error vs. downtrack^

new_spline_fitment

Spline fit to the route^