Any unambiguous method to tune NAV PID?

I've mostly given up tuning my nav pid... I have no telemetry yet and my ardupilot isn't very easily accessible, so trial and error is very tedious, and I've never seen D explained in a way I could understand it.

My plane flies to waypoints, but it does not come anywhere close to tracking along the centerline of my runway, so I am very afraid to try an autonomous landing. Part of my goal for my project is a reliable auto T/O and landing on a runway in a reasonable crosswind.

Does anyone have a guide to tuning the NAV PIDs? I've read the wiki, it has a very brief section on it that doesn't seem to contain a coherent procedure.

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

Join diydrones

Email me when people reply –

Replies

  • It's also hard to judge how well the plane is tracking when the track is being set from where the plane hit the waypoint radius, rather than from where the waypoint itself. The trouble I'm having implementing a fix is doing it so that it works properly when a jump command is being used.

     

    I guess I really need to set up a simulator to tune pids and test code changes, but the only machine I have windows on is my netbook (I installed it specifically for running APM.) I also don't think there would be a flightgear or x-plane model for my e-flite apprentice.

  • 3D Robotics

    Funny you should mention that. We just revised the manual's Nav tuning guide today. Check it out here.

     

    It's really hard to tune PIDs without telemetry, but really easy with it. The best way by far is just to put the plane into a square waypoint pattern and play with the parameters in the Mission Planner. Without telemetry it's really time-consuming to have to land the plane every time to change anything, as you've discovered. Those Xbees are a good investment!

     

    Ignore the D term; it's not necessary.

This reply was deleted.

Activity

Joseph Udofia liked Joseph Udofia's profile
14 hours ago
DIY Robocars via Twitter
Jan 28
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ : A Home-brew computer club* for Connected Autonomous Driving. talk at #piandmore ⁦@PiAndMore⁩ on Jan 23rd h…
Jan 23
DIY Robocars via Twitter
RT @a1k0n: New blog post! Deep dive into my ceiling light based localization algorithm which runs in 1ms on a Raspberry Pi 3: https://t.co/…
Jan 23
DIY Robocars via Twitter
Great new guide to using @donkey_car https://custom-build-robots.com/donkey-car-e-book-en
Jan 23
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars virtual AI race is tomorrow morn at 9:00am PT. You can watch live on Twitch https://www.meetup.com/DIYRobocars/events/275268196/
Jan 22
DIY Robocars via Twitter
New version of Intel OpenBot! This resolves many of the issues with the first version, including a much smoother tr… https://twitter.com/i/web/status/1352395636369313798
Jan 21
DIY Drones via Twitter
Using ArduRover with an RTK GPS https://ift.tt/2N9I3RO
Jan 18
DIY Drones via Twitter
Jan 18
DIY Robocars via Twitter
Jan 18
DIY Robocars via Twitter
Jan 15
DIY Robocars via Twitter
Jan 15
DIY Drones via Twitter
Jan 14
DIY Robocars via Twitter
RT @Heavy02011: @diyrobocars : A Home-brew computer club* for Connected Autonomous Driving on Jan 23rd, 2021 https://www.meetup.com/Connected-Autonomous-Driving/events/275728684/ #Meetu…
Jan 14
DIY Robocars via Twitter
Jan 14
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ Autonomous Driving Assembly at #rC3. join us at https://rc3.world/rc3/assembly/diyrobocars-f1tenth/ ⁦@f1tenth⁩ ⁦@DAVGtech⁩ ⁦@DWalmroth⁩…
Jan 11
More…