BlueOS icon indicating copy to clipboard operation
BlueOS copied to clipboard

core: frontend: vehicle-setup: reflect output pin function

Open ES-Alexander opened this issue 8 months ago • 0 comments

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

  1. There should be a toggle switch for reversal state
  2. Motor outputs should display MOT_PWM_MIN/MAX instead of the servo ones (especially since at the moment the servo ones are not even considered for motors)
  3. Relay outputs should show the on/off state and RELAYn_DEFAULT rather than servo limits and trim
    • some example UI in #2766
  4. 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_PIN value, and the SERVOn_FUNCTION to GPIO

Prerequisites

  • [x] I have checked to make sure that a similar request has not already been filed or fixed.

ES-Alexander avatar Apr 14 '25 12:04 ES-Alexander