ACM2 Navigation

As ACM2 continues improving (thanks to Jason and the rest of arducopter team) and my quad is pretty stable, I'm ready to test waypoints/navigation features. I posted my first aborted experience in the 2.0.34 thread but I would like to consolidate here waypoints/navigation test reports.


Reviewing the code I understand that the currently implemented commands for multirotors are:



Is it working the waypoint delay? (i.e. loiter a period of time in each waypoint)

Any videos out there with automatic takeoff and landings?

Opinions on waypoints performance?








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

Join diydrones

Email me when people reply –


  • Jason I'm lost.

    If I use the WaypointWriterCopterMega, I can upload waypoints to EEPROM but when I load again ACM firmware, waypoints have dissapeared from EEPROM.... I don't know if I'm missing some step.... Is there any way of uploading new firmware without erasing EEPROM?


    I have repeated the mission generated from Mission Planner, and even specifying that takeoff altitude is 5 meters, the quad goes maybe 15 or 20 meters up... and I need to return to stabilize......

    I made a mistake and cannot obtain the logs..... I would like to see the baro info....


    This is the output of WaypointWriterCopterMega, for the same mission:

    Test: 21
    Hold current altitude above home after RTL.
    RTL Altitude: -100 meters
    WP Radius: 3 meters
    total # of commands: 5
    command #: 0 id:0 op:0 p1:0 p2:0 p3:0 p4:0
    command #: 1 id:22 op:0 p1:0 p2:500 p3:0 p4:0
    command #: 2 id:16 op:0 p1:4 p2:500 p3:404218560 p4:-36052484
    command #: 3 id:16 op:0 p1:4 p2:500 p3:404216640 p4:-36051948
    command #: 4 id:16 op:0 p1:4 p2:500 p3:404217984 p4:-36047948
    command #: 5 id:21 op:0 p1:0 p2:0 p3:0 p4:0


    I will try with a very simple mission, takeoff and landing in the same place....



  • My idea is to test tomorrow this basic mission:


    #define WP_RADIUS 30 // What is the minimum distance to reach a waypoint?
    #define LOITER_RADIUS 45 // How close to Loiter?
    #define HOLD_CURRENT_ALT 0 // 1 = hold the current altitude, 0 = use the defined altitude to for RTL
    #define ALT_TO_HOLD 5

    float mission[][5] = {


    Takeoff, three waypoints staying 4 seconds in each one, and try to land automatically..... fingers crossed!

  • Developer

    There is a delay option. You can put the number of seconds to delay after reaching the WP in the options field of MAV_CMD_NAV_WAYPOINT.


    In the latest I implemented the deceleration at the waypoint. That will prevent overshoot. I would also have the quad come back to you with a waypoint so you can auto land or bring it down yourself. It will not RTL automatically, yet. Was too afraid to enable that until further testing was done. 


This reply was deleted.


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…
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…
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…
DIY Robocars via Twitter
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…
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…
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…
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カー
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
Sep 10
DIY Robocars via Twitter
RT @SmallpixelCar: Practiced at @RAMS_RC_Club today with my new @ARRMARC car
Aug 28
DIY Robocars via Twitter
Aug 24
DIY Robocars via Twitter
RT @gclue_akira: 柏の葉で走行させてるjetracerの中身 #instantNeRF #jetracer
Jul 4
DIY Robocars via Twitter
Cool web-based self-driving simulator. Click save when the AI does the right thing
Jul 4