ArduPilot / ArduPilot/MissionPlanner

Servo control from Flight Data "Servo" tab: controls toggle, but no output change

Open
#604 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
2.9k
Avg merge
19h 16m
Merged PRs (30d)
4

Description

There is a tab in the lower left panel of the Flight Data screen called "Servo", that appears as if it was meant for users to acutate servos from the Mission Planner. This functionality works as expected in APM:Plane, but seems not to work in APM:Copter - none of the outputs on the AUX connector (lines 50-55) seem to change state. Is this supposed to work in APM:Copter, on either the APM 2.x or the PixHawk?

On a related note, how are the servo outputs on channels 9-11 meant to behave if the user changes the BRD_PWM_COUNT parameter? If the user sets this to 0, it would seem that at least channels 9-11 can no longer control servos, as they have been set to be digital outputs, not PWM outputs.

Is this documented anywhere?

One minor bug - the condition of trying to set a servo output when the Mission Planner is disconnected from the PixHawk generates an error (see attached OKBox image).

![error okbox from mission planner on pressing servo button while disconnected from autopilot](https://cloud.githubusercontent.com/assets/4424797/4004235/a98da054-297e-11e4-8ab6-ecac96fdd2eb.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Flight Data screen's Servo tab and reproduce the behavior on APM:Copter, comparing it with APM:Plane. Check servo outputs on AUX channels 9-11 with different BRD_PWM_COUNT values, including a disconnected PixHawk, and determine the supported behavior and expected error handling. Done should include a clear resolution for the output behavior and documentation of the result.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.