bluerobotics / cockpit

An intuitive and customizable cross-platform ground control station for remote vehicles of all types.
https://docs.bluerobotics.com/ardusub-zola/software/control-station/Cockpit-1.0/overview/
Other
42 stars 18 forks source link

VeryGenericIndicator Mini Widget - Would be more generic if custom mode just allowed you to format using a template #992

Open pkmiles opened 3 weeks ago

pkmiles commented 3 weeks ago

In attempting to add Lat, Lng onto the footer bar I currently have to do as two seperate variables. Also, having done this I can't easily get the formatting at the right display precision.

Given Custom mode is a power feature what if you went away from the set variable picker to a textarea field where you could enter your format using a moustache/handlebars template for variables and formatting?

That would allow something like the attached example.

Screenshot 2024-06-09 at 2 42 52 PM
rafaellehmkuhl commented 3 weeks ago

That's an interesting idea actually...

In this case we should allow the VGI to auto-scale in width also.

Let me do some tests.

ES-Alexander commented 4 days ago

Relevant to #613