paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] A problem getting started with an ARDrone 2


From: John-papa
Subject: Re: [Paparazzi-devel] A problem getting started with an ARDrone 2
Date: Tue, 9 Dec 2014 02:05:43 -0700 (MST)

Hi Ori Pessach,
we were working on ARdrone2 in our team and we experimented the same issue.
our problem was exactly the faulty  GPS unit which triggered fail-safe
therefore resulting an immediate landing.  
about the roll command you just mentioned, we experimented the same result
when we commanded take-off but calling a function in the flight plan
corrected this behavior. the function nav_set_heading_current() below came
to rescue.   
we used the code below for our flight plan GEO INIT block. make sure you run
this block before take-off. i think you should give this a try because it
solved our problem. 


    <block name="Geo init">
      <while cond="LessThan(NavBlockTime(),10)"/>
      <call fun="NavSetGroundReferenceHere()"/>
      <call fun="NavSetAltitudeReferenceHere()"/>
      <call fun="NavSetWaypointHere(WP_CLIMB)"/>
      <call fun="nav_set_heading_current()"/>
    </block> 



--
View this message in context: 
http://lists.paparazziuav.org/A-problem-getting-started-with-an-ARDrone-2-tp16417p16496.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]