-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Description
Describe problem solved by the proposed feature
Hello all! I am looking to get Auto ESC Index Enumeration back into the PX4 stack. This is a feature that was in the firmware up until Jan 10, 2022 when this PR removed it with only the description, "remove legacy ESC enumeration in FW server." Now, in all of my testing, it would appear that even the video example does not work. QGroundControl sends the correct message, but the flight controller doesn't know what to do with the command:
Running firmware pre-the removal PR, you would get the correct response, and the uavcan.protocol.enumeration.Begin message would be transmitted over the CAN line:
Describe your preferred solution
Ideally, the DroneCAN servers would just revert to their previous versions that included auto ESC enumeration. I believe the last release to have it was 1.12.X. Given Pavel's video example, this implementation works as expected, and is an excellent convenience feature that should still be supported. The PR that took out the feature completely deleted ~800 lines of code, please just re-include those involved with auto enumeration.
Describe possible alternatives
Simply allow the QGroundControl Start Assignment and Stop Assignment buttons to send out the uavcan.protocol.enumeration.Begin command. Allow ESC manufacturers to do as they wish with the received commands. This wouldn't need a server side, just the ability to send the commands.
Additional context
No response