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

Displaying uncertainty of measurements and their association #884

Open
Carlson-J opened this issue Nov 2, 2023 · 2 comments
Open

Displaying uncertainty of measurements and their association #884

Carlson-J opened this issue Nov 2, 2023 · 2 comments

Comments

@Carlson-J
Copy link
Contributor

We are currently able to display the tracks with their uncertainty but not the uncertainty of measurements. Adding this would help to visualize how tracks are associated with different measurements and what impact it has on the track uncertainty. This is especially true when measurements have varying covariances.

I propose adding two new flags to the plotter, one for showing measurement uncertainty and the other for showing measurement association. For the uncertainty, the color of the detection/clutter is used to plot the ellipse. For association, we could have the symbol and color of the measurement/clutter/ellipse change. The color would match the track and the symbol would change to a "+" for a detect and "x" for clutter.

I'm willing to implement this feature.

@Carlson-J
Copy link
Contributor Author

Here is what I have so far for the measurement uncertainty (see attached image). You turn it on with a flag passed to plot measurements. I currently only have it working with the Plotly animation class. Because we don't always get a new detection at every time step, I am just displaying the uncertainty for all of them in the current time window.

I tried it with only the shaded area or outline, but it seems like having both is more visually pleasing.
image

@sdhiscocks
Copy link
Member

The outline does look better I think, as makes it clear where the boundary of each measurement is.

I'd be interested in ways you could show association to which track, as difficult with also having ellipses with tracks. Maybe just the outlines in matching colour to the track? I assume this will be option on plot_tracks, which will call plot_measurements with relevant measurements and parameters.

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