bluerobotics / cockpit

An intuitive and customizable cross-platform ground control station for remote vehicles of all types.
https://blueos.cloud/docs/extensions/cockpit/1.0/overview
Other
55 stars 20 forks source link

finish flysky controller compatibility #1270

Open nqwoq opened 3 weeks ago

nqwoq commented 3 weeks ago

the flysky fsi6 works, but the switches dont really work. the first switch is triggered when the joystick moves and you cannot set the potentiometers so servos dont work well since they are constantly moving

ES-Alexander commented 2 weeks ago

Hi @nqwoq,

Cockpit has default support for anything the browser identifies as a game controller, via the Gamepad API (which there's a free tester for here). If a controller you want to use is not in Cockpit's "known" list then most likely we don't have access to it, so any special features you want support for will need to be either contributed by you, or described in enough detail that we're able to add them (when we happen to have time available).

From a quick search it seems the FlySky FS-i6 is a radio controller, in which case it's unclear how/whether Cockpit is specifically related to your issue. From some internal discussion, depending on your setup:

  1. If you're using some kind of receiver-adaptor that converts the radio's PWM/PCM signals into controller inputs to the computer running Cockpit, there may be an issue (or some incomplete configuration) with your adaptor
  2. If the radio signals are getting sent straight to the flight controller board then Cockpit isn't involved, in which case the issue may be with your transmitter or receiver, or your autopilot parameters

I'm not well-versed with radio control, just trying to get the ball rolling on this, so if I'm misunderstanding your issue or situation then please feel free to clarify with some more information on your setup, your expected/desired behaviour, and the behaviour you're actually experiencing.