Arducopter 2 Loiter

 

 Hello setup my APM on my quad in x mode loaded the latest from the Mission Planner went through setup in CLI and test flight was good a little wobble so Lowerd stabalize P to 5.0 and raised D to .14 left I at default and second flight very stable decided to try loiter. Had a little up and down but baro is not covered with foam yet but pretty decent. But wonders around alot. If I up the P for loiter on Lat and Lan will this help it keep a tighter box?

 

Running the latest code from Mission Planner I have not seen any yaw issues at all it is rock solid.

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

Join diydrones

Email me when people reply –

Replies

  • hey guys, not sure if this is normal or the right place to post this, however i am noticing, in the AC2 sensor area that, roll is 0, pitch just a tad left of -10 and Yaw is over around 50 - should they all be center at 0 ? i have loaded the new firmware 2.023 and setup perfectly with sonar attached and working.

     

    cheers.

  • hey guys, i had my first maiden flight this morning. loaded the latest code from mission planner. this is my very first flight with this copter so was exciting as you would expect! the quad is the premade one from jdrones with 880kv motors and 12inch props, have sonar attached, gps and flying in + mode - also using a 2650 3s batt. as the heading suggest, my too was just floating around constantly turning/yaw, and i had to couter act this with the stick.

    dumb question, but how do i test if sonar is working?

    i will try and post a vid up to show what it does. i havent really done anything fancy with the radio everything is at 0 value and stock - i have the turnigy 9x v2.
  • Could some of these problems be due to radio inaccuracies? On my 12fg the centres are at about 1496 except elevator is putting out 1515. My turnigy is different between stock and er9x, but at least er9x has stick calibration. However, swapping the turnigy from 2.4Ghz to LRS module also changes the centre points.

     

    Maybe we should use subtrim to set centre to 1500 in cli for the four primary channels.

    Another solution could be for the code to capture the centre points during setup.

     

    For anyone seeing different behavior in different modes, don't forget that most radios default to remembering different trim settings for each position of the flight mode switch. Could be a trap for beginners.

  • So Can some please confirm I am doing this right in the code,

    As it dosnt seem to be working well.

     

    Ok for a 6 channel TX,

    from control_Modes.

    if (g.rc_6.control_in > 800){     // is this correct???for 6th channel radio

    if (g.rc_7.control_in > 800){     //is this correct ??? for 7 channel radio

     

    and uncoment this line

    //trim_accel();

     

    And on the sensors page ,when selecting the 6th channel ,all the green bars light up,Is that what is considered High?

     

    Any help would be great.

    Thanks

  • superb! Love the auto trim future. Get my hexa solid stable now. But having problem with sonar alt_hold. Put an object below my sonar and it just go straits up
  • I understand keeping some features disabled during Beta or for the purpose of "protecting" an entry level flier.  But maybe having a "advanced" Tab in the Configurator with check boxes to turn on less understood options.  This way the project can advance and be tested without causing confusion for casual fliers.

     

    With coders abilities to offer advanced tools like inflight accl calibration, it would be nice to have these available in some way in the config.

     

    I offer my thanks for the work being done and making this an enjoyable hobby!!!

     

    Mat

  • Is there any way to do this with a six channel TX .

    As I have the same problem>

    The quad moves forward ,even after calibrating.

     

    So with a six channel TX can I re -calibrate the Acc in the air,

    Or do I need a 7 Channel.

     

  •  I am alittle confused,

    Do the radio trims have to be centered ,before GPS works?

  • Developer

    I'm about to test some setting to prevent Loiter oscillations. Will report back in an hour.

    Jason

  • 3D Robotics
    Advice from Jason:

    "If you have trouble holding Loiter, return Nav_Loiter_D to 0 using the planner.


    And here's something you can try to improve your waypoint travel: Filter the pitch amount in WP navigation.

    In navigation.pde:
    New:
    nav_lat = nav_lat + g.pid_nav_wp.get_pid(error, dTnav, 1.0);
    nav_lat >>= 1; // divide by two

    old:
    nav_lat = g.pid_nav_wp.get_pid(error, dTnav, 1.0);


    If you have WP navigation issues, you can just uncomment the unfiltered version.
This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13, 2022
More…