qgroundcontrol icon indicating copy to clipboard operation
qgroundcontrol copied to clipboard

Feature request - Add optional, configurable, on-screen buttons for aux servo control

Open fredrikfalkman opened this issue 7 years ago • 10 comments

It would be useful to be able to choose to show buttons or sliders that could be mapped to aux servos. It would be preferable if you could choose the name/description of the buttons.

This would be as an alternative to use buttons and dials on an RC transmitter. The function would be most useful for those who fly without RC.

I guess this is similar to the current "Trigger Camera" in the main instrument panel. A dedicated instrument panel screen might be a good place for these controls to live.

My immediate use for this function would be for a plane to control a remote launcher with commands like "Prepare Launch", "Cancel Launch", "Launch", "Turn Launcher Right", "Turn Launcher Left".

Other uses might be for flaps, retractable wheels, pitot heaters, etc.

fredrikfalkman avatar Feb 05 '18 08:02 fredrikfalkman

That's a great idea. Can be used also for gimbal control since ardupilot fw has mavlink messages to do that (trigger, do_digicam_control, etc), so a virtual dashboard could be configured with preferred commands (pilot: has main command, camera operator: has gimbal control, trigger, zoom, etc)

GlidLov avatar Feb 06 '18 10:02 GlidLov

@GlidLov You are talking about something different. This is for servo commands only. Gimbal control is already being working on separately and will be coming soon in 3.4.

DonLakeFlyer avatar Feb 06 '18 21:02 DonLakeFlyer

Well, glad to read that, but i'm not referring only to gimbal rather Zoom, Trigger and maybe a configurable way to add commands in "button" style (not proportional input needed)

GlidLov avatar May 08 '18 13:05 GlidLov

I believe @dogmaphobic may have alreaded gimbal commands to the instrument panel camera page. Camera trigger was already there.

DonLakeFlyer avatar May 08 '18 18:05 DonLakeFlyer

Has there been any update on this matter? Looking for something similar to what the "Servos" tab is in Mission Planner.

manavgandhi17 avatar Feb 25 '22 05:02 manavgandhi17

Pinging to see if any work has been done on integrating this feature.

manavgandhi17 avatar Sep 12 '22 19:09 manavgandhi17

I have almost built something that might be accurate. A mapping of a buttons to PWM values - low and high. With latch. If you press a button, RC override is sent via mavlink - a defined high value. If button is released a defined low value is sent. Latch means rotating high and low at every button press.

I'd love to show you a screen with this but I left joystick at the office. It required joystick to enable button assigment panel. But on Thursday I will post a screen to show you what I mean.

zdanek avatar Sep 12 '22 21:09 zdanek

zdanek, it seems a good point to start with experimenting. I'm definitely interested on integrating this feature

GlidLov avatar Sep 13 '22 15:09 GlidLov

Sorry for delay. I overestimated my availability. So, basically GUI for binding buttons to PMW looks like this: Screenshot from 2022-09-14 17-15-02

zdanek avatar Sep 14 '22 15:09 zdanek

@GlidLov @manavgandhi17 @fredrikfalkman @DonLakeFlyer I've created a feature that might be a starting point for this one. Please take a look #10430 with a PR #10431

zdanek avatar Sep 22 '22 14:09 zdanek