Hey. I have a quadrotor with Pixhawk, APM:Copter V3.3.3 (acf2e10c). I have tested it in Stabilize & AltHold modes, works fine. Also tried switching to Land mode from Stabilize & AltHold, and the drone lands perfectly.

I wanted to try AUTO mode, as a first test I defined this mission based on the tutorials here:

1. Takeoff to 10 meters

2. Loiter there for 5 seconds

3. Land

I went out for a test, as soon as I raised the throttle in AUTO mode, the copter started climbing VERY quickly, and it kept climbing up until it was about 60 meters above the ground. I waited for like 10 seconds and it kept climbing, so I panicked & switched to AltHold mode. I'm a newbie pilot so I could not control it properly at that altitude and...crash!

I thought maybe it was a bug in my planned mission or a gps glitch or something, so I fixed the copter and tried agian. This time with this mission:

1. Takeoff to 3 meters

2. Land

Again, same thing happened. This time, I switched to Land mode, but it kept climbing like crazy. Switched to stabilize and eventually...another crash.

I reviewed the logs, DAlt (desired altitude) does not match my planned mission altitude (figure below). I have attached the log, can someone please help me with this?

DAlt Plot:

3691281226?profile=original

2016-03-10 08-28-02.bin

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

Join diydrones

Replies

    • This is the mounting, under the FC is a thin shock absorbing pad:

      3702622901?profile=originalAnd as for the wiring, almost all of the wiring has been done between the top & bottom plates like this:

      3702622589?profile=originalI am going to make changes in the FC mounting BTW.

      https://storage.ning.com/topology/rest/1.0/file/get/3702622901?profile=original
  • Stabilize and AltHold do not use GPS.  Auto does.  I'm thinking that your problem is based in your MR thinking that it is somewhere that it is not, and trying to fix that problem.

    Please temper anything that Darius says with a bucket of incredulity and wait for the real experts here to chime in.

    • Even if the copter thought it was in the wrong place (which I don't think could be the case here since I had a fairly good GPS signal & also had set the waypoint radius to 50 meters to alleviate the variations of GPS), I had decreased the default altitude of the planned mission to 3 meters, so it should have tried to navigate to the desired position without going so high.

      And moreover, when I changed the flight mode to Land, it did not make any changes in the behavior of the drone. AFAIK, Land mode does not use GPS nor does it try to move to a specific location, it just descends right where it is.

      Thank you so much for sharing your thoughts. I do hope that the "real experts" will see this topic & respond!

      • "set the waypoint radius to 50 meters "

        Ahah!  A waypoint with a 50 meter radius is a 100 meter diameter sphere.  Anywhere inside that sphere satisfies the FC that it has reached that waypoint.  Try with a 1 meter waypoint radius.  (The larger waypoint radii are used by fixed wing planes that can't maneuver as tightly as MRs)

         http://copter.ardupilot.com/wiki/flight-modes/#gps_dependency

        GPS Dependency

        Flight modes that use GPS-positioning data require an active GPS lock prior to takeoff. To see if your autopilot has acquired GPS lock, connect to a ground station or consult your autopilot’s hardware overview page to see the LED indication for GPS lock. Below is a summary of GPS dependency for Copter flight modes.

        Requires GPS lock prior to takeoff:

        Do not require GPS lock:

        • A waypoint with a 50 meter radius is a 100 meter diameter sphere.  Anywhere inside that sphere satisfies the FC that it has reached that waypoint.

          Are you sure that the radius applies to the altitude as well?

          Even if it is, this is not the only thing causing my problems because in my first test it was set to 5 meters and the same thing happened.

      • I believe that ALL modes use GPS (even stabilise to some degree), as the onboard sensors (gyros and accels) aren't accurate and consistent enough to hold correct position over time so the pixhawk uses GPS to 'rebase' the sensors, by default 5 times per second.  I'm no expert so could well be talking nonsense but this is how I understand it works.

        As per Land mode, that's an interesting question - I always assumed that once you put it into land it locks onto position using GPS and tries to land on that spot, but have no technical reason to back this up, now you mention it :)

        • Stabilize, AltHold, and Acro don't use GPS at all.  They don't make any attempt to hold position and the aircraft will definitely drift in these modes.  You can fly an APM aircraft in these modes without a GPS attached at all.

          Land mode will use the GPS to maintain position while landing, if possible.  If there's a problem with the GPS, it reverts to Stabilize-style controls so that aircraft will drift, but the pilot can steer it while landing.

          • Unless it's changed recently, if you have a GPS connected then all modes will use it:

            https://groups.google.com/forum/#!topic/drones-discuss/iZmeopHOLGM

            My technical reasoning may be nonsense however!

            Google Groups
            Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
          • "Stabilize, AltHold, and Acro don't use GPS at all"

            They do.

            (Although it's true you can fly without a GPS attached.)

            Via EKF, although quite old, see this for the whole skinny: https://groups.google.com/d/topic/drones-discuss/iZmeopHOLGM/discus...

            • Huh, I stand corrected.  So GPS is always being used to more accurately level the aircraft, even when it's not active for position control.  Thanks for pointing that out.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @TinkerGen_: "The Tinkergen MARK ($199) is my new favorite starter robocar. It’s got everything — computer vision, deep learning, sensor…
yesterday
DIY Robocars via Twitter
yesterday
DIY Robocars via Twitter
RT @roboton_io: Join our FREE Sumo Competition 🤖🏆 👉 https://roboton.io/ranking/vsc2020 #sumo #robot #edtech #competition #games4ed https://t.co/WOx…
Nov 16
DIY Drones via Twitter
First impressions of Tinkergen MARK robocar https://ift.tt/36IeZHc
Nov 16
DIY Robocars via Twitter
Our review of the @TinkerGen_ MARK robocar, which is the best on the market right now https://diyrobocars.com/2020/11/15/first-impressions-of-tinkergen-mark-robocar/ https://t.co/ENIlU5SfZ2
Nov 15
DIY Robocars via Twitter
RT @Ingmar_Stapel: I have now explained the OpenBot project in great detail on my blog with 12 articles step by step. I hope you enjoy read…
Nov 15
DIY Robocars via Twitter
RT @DAVGtech: This is a must attend. Click the link, follow link to read the story, sign up. #chaos2020 #digitalconnection #digitalworld ht…
Nov 15
DIY Robocars via Twitter
RT @a1k0n: Got a new chassis for outdoor races (hobbyking Quantum Vandal) but I totally didn't expect that it might cause problems for my g…
Nov 11
DIY Drones via Twitter
First impressions of the Intel OpenBot https://ift.tt/36qkVV4
Nov 10
DIY Robocars via Twitter
Nov 9
DIY Robocars via Twitter
Excellent use of cardboard instead of 3D printing! https://twitter.com/Ingmar_Stapel/status/1324960595318333441
Nov 7
DIY Robocars via Twitter
RT @chr1sa: We've got a record 50 teams competing in this month's @DIYRobocars @donkey_car virtual AI car race. Starting today at 10:00am…
Nov 7
DIY Robocars via Twitter
Nov 6
DIY Robocars via Twitter
RT @a1k0n: Car's view, using a fisheye camera. The ceiling light tracking algorithm gave me some ideas to improve ConeSLAM, and having grou…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: To get ground truth I measured the rug, found the pixel coordinates of its corners, calibrated my phone camera with my standard…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: @DIYRobocars is back in December, but outside. Time to reinvestigate ConeSLAM! I rigged up a quick and dirty ground-truth captur…
Nov 5
More…