PixHawk Altitude Issues

Hi,

I have a flying wing with PixHawk "mostly" working. Sometimes it seems to have a problem with altitude when in auto mode and flying a waypoint mission. Here's what it does:

Fly RTL mode OK

Fly manual mode OK

Switch to Auto with preprogramed waypoint mission loaded. Plane accelerates and descends while heading for waypoint 1. Can't react fast enough to switch back to manual and climb. Plane hits dirt.

It's done this behavior a couple of times. One of the times I changed all my waypoint altitudes to 200M. Then the plane flew fine, way up there. Log attached. Any ideas?

Thanks!

Brian

2014-03-14 13-40-41.tlog

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

Join diydrones

Email me when people reply –

Replies

  • My friend, forget Pixhawk for everything. Try in your jet model, Navio2+raspberry pi. Did work Very well for my jet. 

    Se e flying on YouTube.

    https://m.youtube.com/watch?v=sIpNPc9Y8Ig

    https://m.youtube.com/watch?v=C6jPAKi1SHo

    Havre a good fly.


    Brian Christal said:

    In my case above it was a poorly trimmed airplane. As an old RC guy who learned on sailplanes I always trim so the nose slightly falls. I fly with back pressure on  the stick. Not a good idea with a Pixhawk. Trim your plane in Manual mode so it flies perfectly level. Then you must recalibrate the radio using Mission Planner. Your plane should now stay level as it transitions between flight modes.

  • Just checked mission plans etc in text mode and grabbed the mission out of the pixhawk using apmplanner (which is quite clear about abs vs rel in the 'on board' waypoints section)
    Text files show reasonable home heights around 704 meters.
    The mission we used was overwritten by our next attempt at that area.
    Alt in logs at launch looked to be in that vicinity.
    Alt of home in plane ...
    592m!
    I'm now pretty sure that the home alt was not adjusted as it was pushed around the map in missionplanner, and used a value from about 9 hours drive away when pre-creating the missions the night before.
    Now adding a step to my checklist to update home location from drone and recheck mission altitudes. Not sure how much I'll be able to see, but at least I'll have the comfort factor of something to check.
    • In my case above it was a poorly trimmed airplane. As an old RC guy who learned on sailplanes I always trim so the nose slightly falls. I fly with back pressure on  the stick. Not a good idea with a Pixhawk. Trim your plane in Manual mode so it flies perfectly level. Then you must recalibrate the radio using Mission Planner. Your plane should now stay level as it transitions between flight modes.

  • I've just run into this today. Still chasing through logs to see what happened. My initial feeling is that there is an abs/rel conversion going on behind the scenes that has a bug (or I'm misusing it). I suspect that I may have created the mission in one place and dragged the home marker to a better vantage point with higher alt which failed to adjust the height of home. Fortunately we were trying to fly with good ground clearance and that combined with terrain avoidance meant the rtl was successful. Will add more when I've looked through it.
    I'll check back if I find anything more helpful.
  • I'm thinking the Pixhawk only reads altitude in ABS mode..  I ran into the same issues..  My APM is always fine, I set 100 meters in the flight plan and it flys 100 meters up from where I turned it on..   The pixhawk gets altitude from the GPS which says I'm at 295 meters already before it leaves the ground..   Few times I've tried it, it wanted to fly to the earth's core,, Lucky for me I was able to get into manual and save the plane..  Pretty much given up on the Pixhawk now cuz not enough out there for people to comment yet on the threads asking questions..  Maybe in the future we can get questions answered..  for now, APM is my pilot!  :)

    I did try it on my RVJet which flew great till I tried Auto... Then nose dived straight to the ground destroying the plane..  Now I don't trust the Pixhawk at all.. too scared to fly it again..

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @gclue_akira: 柏の葉で走行させてるjetracerの中身 #instantNeRF #jetracer https://t.co/giVvuE4hP7
Jul 4
DIY Robocars via Twitter
Cool web-based self-driving simulator. Click save when the AI does the right thing https://github.com/pncsoares/self-driving-car
Jul 4
DIY Robocars via Twitter
RT @donkey_car: Human-scale Donkey Car! Hope this makes it to a @diyrobocars race https://www.youtube.com/watch?v=ZMaf031U8jg
Jun 25
DIY Robocars via Twitter
Jun 25
DIY Robocars via Twitter
Jun 16
DIY Robocars via Twitter
RT @GrantEMoe: I won my first @diyrobocars @donkey_car virtual race! Many thanks to @chr1sa @EllerbachMaxime @tawnkramer and everyone who m…
Jun 13
DIY Robocars via Twitter
RT @gclue_akira: JetRacerで自動走行したコースを、InstantNeRFで再構築。データセットは別々に収集 #jetracer #instantNeRT https://t.co/T8zjg3MFyO
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: SPC 3.0 Now the motor also works. This car is doable. I just need to design a deck to mount my compute and sensors. http…
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: My new car SPC 3.0. https://t.co/CKtkZOxeNQ
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: High speed at @diyrobocars thanks @EdwardM26321707 for sharing the video https://t.co/o4317Y2U1S
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: Today at @RAMS_RC_Club for @diyrobocars. Used @emlid RTK GPS and @adafruit @BoschGlobal IMU. Lap time 28s https://t.co/R…
May 28
DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
More…