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 @SahikaGenc: AWS DeepRacer & Hot Wheels Track https://youtu.be/4H0Ei07RdR4 via @YouTube
Monday
DIY Robocars via Twitter
Sep 8
DIY Robocars via Twitter
RT @davsca1: We are releasing the code of our Fisher Information Field, the first dedicated map for perception-aware planning that is >10x…
Sep 8
DIY Robocars via Twitter
RT @SmallpixelCar: How this works: 1)object detection to find cones in single camera image, 30 frames/sec on @NVIDIAEmbedded Xavier. 2)comp…
Sep 8
DIY Robocars via Twitter
RT @SmallpixelCar: Use two color cones to guide the robocar. No map needed, on onsite training needed. Just place the cones and it will fol…
Sep 7
DIY Robocars via Twitter
Sep 7
DIY Robocars via Twitter
RT @roboton_io: Great to see http://roboton.io running at 60fps on the cheapest #chromebook we could find! #edtech #robotics #educat…
Sep 3
DIY Robocars via Twitter
RT @openmvcam: Crazy in-depth article about using the OpenMV Cam for Astrophotography: https://github.com/frank26080115/OpemMV-Astrophotography-Gear https://t.co/BPoK9QDEwS
Sep 3
DIY Robocars via Twitter
RT @openmvcam: Hi folks, it's finally here! Our first draft of our Arduino Interface Library is out! It works over SoftwareSerial, Hardware…
Sep 3
DIY Robocars via Twitter
RT @chr1sa: Please let them have an open API. This would be perfect for @DIYRobocars races https://twitter.com/NintendoAmerica/status/1301513099707658246
Sep 3
DIY Robocars via Twitter
RT @SmallpixelCar: Lanenet pretty much used all my GPU power on @NVIDIAEmbedded Xavier since I optimized with tensorRT. I need to run anoth…
Sep 3
xemone liked Max Gilson's profile
Aug 31
DIY Robocars via Twitter
RT @LyftLevel5: Our @kaggle competition on Motion Prediction for Autonomous Vehicles is now live! Experiment with the largest-ever self-dri…
Aug 24
DIY Robocars via Twitter
RT @chr1sa: Our next @DIYRobocars virtual AI car race will be on Sept 26th. Sign up here https://www.meetup.com/DIYRobocars/events/272786977/ https://t.co/UENKGSOWO8
Aug 24
DIY Robocars via Twitter
New ready-to-run @NVIDIAEmbedded JetRacer car from Waveshare. Perfect for the next @diyrobocars race as soon as we… https://twitter.com/i/web/status/1297960223013867520
Aug 24
DIY Drones via Twitter
RT @chr1sa: The US government just approved 5 US-made drones for purchase, all based on the @Dronecode @PX4Autopilot standard. Great news f…
Aug 20
More…