Anybody flying PX4?

I'm trying to set up 2 machines using a PX4 FMU and IO Board, and using Arducopter 3.1 rc7, and I'm having a lot of problems with glitching that seems to be coming from the Rx input.  It shows up in the logs as blips in the roll/pitch/yaw inputs.  The copter flies, but it not safe because of this.  When in Stabilize mode, the roll/pitch blips are almost imperceptible, but you can see the yaw position jump. In Loiter mode the copter can suddenly jump about 1 meter.

Has anybody else experienced this?  Or are you successfully flying a PX4?  Any insight appreciated.

I've tried updating the FrSky Rx firmware to the special 27us PPM firmware, and it doesn't seem to help.  But I have no real way of knowing if the update even worked as the FrSky program doesn't indicate any success or failure, and I have no other way of checking if it's actually running at 18 or 27us frame length.

Update: The problem does not seem to be restricted to FrSky equipment, so I'm opening up the question to find out who is actually successfully on PX4 V1 equipment? Can you share any details of your setup?

Thanks,

Rob

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • By the way I removed my on board power module long ago.  Never seemed like a good idea from the get go.  

    3692891642?profile=original

  • Been using the PX4 for some time now.  Been working great for me.  Haven't had time to mess with it much over the last couple of months.  Can you share more info on your setup? picts of how you have configured the hardware.  I could throw suggestions out at you, but be good to know more info.  

    https://www.youtube.com/watch?v=GnosZSoNvPs

    https://www.youtube.com/watch?v=iP3vpjboDTY

  • I had strange glitches on the flight mode channel on my PX4 in a plane. Sometimes, the PPM value of channel 8 would show 0 in the flight modes configuration page in MP. Just for a few milliseconds. And the flight mode would change to what I had set for zero pulse length.

    There probably are some gremlins somewhere in that system...

    Regards

    Soren

  • Rob, as far as I can see in one of my recent RC7 logfiles (attached), I don't see glitches (do you?), all motors sound well.

    I'm using a Futaba R-118F 40Mhz receiver. This one is not providing PPM out-of-the-box, however it's available inside the receiver. Had to add a level converter to make it a decent signal to feed the PX4IO. Next hurdle was to make the px4 recognise the signal because the PPM´s 'pulse' is too long. Also there is no fail-safe built in this receiver. I ended up changing the drv_hrt.c to accept the pulse, provide the failsafe and also made it accept only valid 8 channel input. Normally it accepts everything >= 4 channels, so if the signal is not perfect, it can lead to errors I think.

    I use an external compass.

    Coincidently I ordered a FrSky conversion kit a few weeks ago and expect it to arrive soon. I will update to 27us, check this using a oscilloscope and see how it performs. I'm very curious if I will also see the glitches, I´ll let you know.

    Frank

    4.bin

    drv_hrt-v1.c

  • I am flying PX4 with Flamewheel F330, but there are problems.

    I have glitching as Robert has described and clearly visible in my logs in roll and pitch in.

    On my little Flamewheel, these short glitches result in nothing more than a very quick arm dip and do not even effectively cause it to change position.

    But now it turns out there is almost certainly another problem as well. Namely the PX4IOs built in power supply has a ferromagnetic transformer on it which is way too close to the magetometer on the PX4FMU.

    It produces an over 100 degree offset and this can be verified by hooking up an external magnetometer and putting it the same distance away from the power supply transformer as the internal one on the PX4FMU is.

    With it at that distance you will see an over 100 degree offset and with it further away none at all.

    The Pixhawk has an external power supply like the APM, this was undoubtedly a very good decision.

  • Is it possible to reproduce this issue while connected over USB?

    Because i have similar setup but didn't flown my hexa yet

    I have PX4+IO and FRSky D8R Plus/XP (two receivers) both flashed with 27us firmware

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @a1k0n: @DanielChiaJH @diyrobocars @circuitlaunch Here's my car's view of that race. About 8.4 second lap times for laps 2 and 3... both…
yesterday
DIY Robocars via Twitter
RT @DanielChiaJH: Great racing against @a1k0n today at @diyrobocars! Pretty cool to both break sun-9s at the track today I think I got very…
Sunday
DIY Robocars via Twitter
Broadcasting the @circuitlaunch race live now at https://m.twitch.tv/diyrobocars Races begin around 2:00pm PT
Saturday
DIY Robocars via Twitter
RT @a1k0n: ran a huge number of hyperparameter tuning experiments yesterday; now I can train a new policy, far with better quality, in 15 m…
Saturday
DIY Robocars via Twitter
RT @a1k0n: Did I get rid of hand-tuned parameters? Yes. Am I still hand-tuning more parameters? Also yes. I have a few knobs to address the…
Sep 26
DIY Robocars via Twitter
RT @a1k0n: I'm not going to spoil it, but (after charging the battery) this works way better than it has any right to. The car is now faste…
Sep 26
DIY Robocars via Twitter
RT @a1k0n: Decided to just see what happens if I run the sim-trained neural net on the car, with some safety rails around max throttle slew…
Sep 26
DIY Robocars via Twitter
Sep 24
DIY Robocars via Twitter
RT @SmallpixelCar: @a1k0n @diyrobocars I learned from this. This is my speed profile. Looks like I am too conservative on the right side of…
Sep 24
DIY Robocars via Twitter
RT @a1k0n: @SmallpixelCar @diyrobocars Dot color is speed; brighter is faster. Yeah, it has less room to explore in the tighter part, and t…
Sep 24
DIY Robocars via Twitter
RT @a1k0n: I'm gonna try to do proper offline reinforcement learning for @diyrobocars and throw away all my manual parameter tuning for the…
Sep 23
DIY Robocars via Twitter
RT @circuitlaunch: DIY Robocars & Brazilian BBQ - Sat 10/1. Our track combines hairpin curves with an intersection for max danger. Take tha…
Sep 22
DIY Robocars via Twitter
RT @SmallpixelCar: Had an great test today on @RAMS_RC_Club track. However the car starts to drift at 40mph. Some experts recommended to ch…
Sep 11
DIY Robocars via Twitter
RT @gclue_akira: 世界最速 チームtamiyaのaiカー https://t.co/1Qq2zOeftG
Sep 10
DIY Robocars via Twitter
RT @DanielChiaJH: Always a good time working on my @diyrobocars car at @circuitlaunch. Still got some work to do if I’m to beat @a1k0n howe…
Sep 10
DIY Robocars via Twitter
RT @SmallpixelCar: My new speed profile for @RAMS_RC_Club track https://t.co/RtLb7TcgIJ
Sep 10
More…