BlueOS
BlueOS copied to clipboard
core: frontend: vehicle-setup: reflect output pin function
Current behaviour
#3122 introduced some additional configuration options, but does so assuming every output pin is configured as some form of standard servo, which is unintuitive for those that have other limit cases / output types.
Expected or desired behaviour
- There should be a toggle switch for reversal state
- Motor outputs should display
MOT_PWM_MIN/MAXinstead of the servo ones (especially since at the moment the servo ones are not even considered for motors) - Relay outputs should show the on/off state and
RELAYn_DEFAULTrather than servo limits and trim- some example UI in #2766
- Relay outputs should also display the function as
Relay X(instead of Disabled / GPIO, since the `SERVOn_FUNCTION parameter is ignored for relays)- ideally they should also be selectable as "Relay X" in the dropdown, and set the corresponding
RELAYx_PINvalue, and theSERVOn_FUNCTIONto GPIO
- ideally they should also be selectable as "Relay X" in the dropdown, and set the corresponding
Prerequisites
- [x] I have checked to make sure that a similar request has not already been filed or fixed.