- Re-assessed the mechanism to show the refresh button. It now only displays when there is an AIRPLANE mixer loaded.
- Refresh the platform select when refresh button is clicked to stop unknown mixer presets.
- Fixed issue where non-standard orders would not draw the output numbers.
- Added a refresh button to revert to current mixer after another mixer preset has been selected, but not loaded. This also has a prompt for assistance
- Fixed issue where changing the servo input would not update the outputs table.
First cut of code. It's pretty much there. I just need to decide how to handle changing the mixer type, then deciding to stick with the current mixer. Other than that, it's working as expected.
- Tidied up the code a little and grouped mixer types in model.js.
- Removed second motor from all fixed wing mixers that aren't differential thrust. A bug was discovered that if an FC only has a single motor output, and 2 motors are set in the mixer, the motors won't work.
- Added mixer for V-Tail with differential thrust
- Enhanced the new servo button. Clicking it now selects the next available servo number, rather than just 0.
Tab loading was relying on replacing the contents of '#content'
with the loading indicator, then replacing it with the loading tab
content and blocking rendering until the tab was ready by not
yielding. This is problematic for tabs that load some data
asynchronously, like PID and OSD.
Instead, put the loading indicator in front of everything else
and load new content inside '#content' next to the loading indicator
(but without showing it). Once the content and data are fully loaded
we fade out the loading indicator with a 0.4s long animation and
then we remove. This works for both synchronous and asynchonous
loading of tabs.
Using let on an array produces the keys as strings, so +1'ing them
was doing string concatenation. With this change, the integer indices
are used instead.