Skip to content

Conversation

@Williangalvani
Copy link

@Williangalvani Williangalvani commented Dec 4, 2025

This is already upstreamed. I'm working on adding support for this on Ardupilot

required for ArduPilot/ardupilot#32033

<param index="2" label="Actuator 2" minValue="-1" maxValue="1">Actuator 2 value, scaled from [-1 to 1]. NaN to ignore.</param>
<param index="3" label="Actuator 3" minValue="-1" maxValue="1">Actuator 3 value, scaled from [-1 to 1]. NaN to ignore.</param>
<param index="4" label="Actuator 4" minValue="-1" maxValue="1">Actuator 4 value, scaled from [-1 to 1]. NaN to ignore.</param>
<param index="5" label="Actuator 5" minValue="-1" maxValue="1">Actuator 5 value, scaled from [-1 to 1]. NaN to ignore.</param>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How were you planning on transporting NaN in command_int? These have to be transport-agnostic....

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do they really have to?
The upstream code is not originally my patch, and I think it is already in use by others.
COMMAND_INT would also be an issue for the value, which would only allow [-1, 0, 1]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants