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
43 stars 18 forks source link

Tie widget profiles to vehicle types and auto-change profile on boot #934

Closed rafaellehmkuhl closed 2 months ago

rafaellehmkuhl commented 2 months ago

Fix #494 Fix #495

rafaellehmkuhl commented 2 months ago

If there is more than one vehicle using the same vehicle type, for example: MAV_TYPE_SUBMARINE. What will be the criteria to the profile auto-selection? Is it the first on the list to have the vehicle type?

In the case of more than one profile having the same vehicle type, it would be nice to have a way to set one of them as the default loading profile for the type

It's actually the other way around. The vehicle-type is the key of the registry, so by design there's no way two profiles are assigned to the same vehicle-type.