Hi,
I know how to use Graupner SUMO, but I would like to try SUMD with 3.2.1.
I found PX4 SUMD which I thought would be similar and therefore I connected the Spektrum/DSM port of the Pixhawk with GND and signal only to the Graupner RX port 8. I didn't connect Vcc because its 3V3 at the Pixhawk and I use 5V. Didn't work, any ideas ?
Replies
the two missing files
controls.c
ArduPlane-v2.px4
As promised you will find day files for sumd.h, sumd.c, controls.c, dsm.c with above modifications implemented. You can find too the Pixhawk v2 build taggued ArduPlane V3.7.1 DBG20161128
You need to shorten the ppm input to the ground. If you don't do that, you may observe spurious failsafe off if the tx is of during several tens of minutes.
I do not use this build in flight up to now, I'm continuing checks before that.
Benoit
sumd.h
sumd.c
dsm.c
Hello,
when I wrote this message, I was a little too much optimistic. After first good results, I still had some random behaviours on RC input and was not satisfied. So I continue to work on the subject, found some other things, true or false problems. Tonight I have something which seems to work better.
Modifications are :
- deactivation of dsm decoding in dsm.c
- addition of sumd frame decoding with failsafe info , limitation to sumd frame with at least for channel, correction (array indexing) of decoder for 32 channel receiver in sumd.c and sumd.h
-deactivation of st24 protocol, sbus protocol, usage of sumd failsafe info + minor correction in controls.c
And tonight it seems to work better with ppm input shorten to the groung to avoid false input.
It seems the problem is coming from that all input decoders ( dsm/sbus/ppm/st24/sumd) are always active and some spurious input can corrupt RC inputs, specially ppm and sbus inputs. I need more time to re-enable deactivated decoders one by one and found faulty one.
I will compile a binary and propose it with modified files in next post.
Hi Benoit,
could you please upload the modified files (sumd.c, sumd.h) and your working 3.7.1 version ? I would really like to try it.
Thank You
Benoît said:
Hello,
I had some problem to have a GR16 working with Pixhawk and ArduPlane 3.7.1. It was OK with a GR12L, but not with a GR16.
I want to use a GR16, even more expensive, to be able to use this mavlink to hott converter
with all features.
For the GR16 I use the SUMDOF08 setting.
But I was not able to get the Pixhawk out of Failsafe.
After a dive into the SUMD protocol specification, after having analysis GR12L and GR16 output signal with a ftdi cable 'usb to serial converter) and a serial analyser (moserial under linux) I found a difference between GR12L and GR16 :
At power up, GR12L doesn't transmit any frame up to Tx/Rx link establishment
At power up, GR16 transmit SUMD frame with Failsafe SUMD Header up to Tx/Rx link establishment. After this establishment, if the link is broken, the GR16 doesn't transmit any frame.
I've to stop here my reply, I come back in a few minutes.
SUMO can output 12 channels just fine (on any non-L receiver, )
As for HoTT telemetry and ArduPilot, check outhttp://madhacker.org/mavlink-to-hott-adapter/
Correct :) , and the physical remaining PWM outputs of a gr-16 can output any channels you want, not necessarily 1...7