Tuning Turn Rate

Hi Guys, Trying to set up the turn rate pid tuning so i can get a bit less snaking at the start of a way point when the boat starts off. I have followed the online guide but i can’t get the PIDACHIEVED line to move from zero mark. Im in manual mode and set up GCS_PID_mask to 1. The GZ line does move to what looks like 500 but not the PID Achieved. Any ideas?

https://ardupilot.org/rover/docs/rover-tuning-steering-rate.html


Are you in manual mode? Looks like it according to your hud.

Try to tune in acro mode

Compare rate desired vs rate achieved rather than monitoring z gyro on that screen. And use ACRO, as mentioned.

yes in manual mode. The video says use manual mode to get the maximum turn rate off the PID achieved graph, then move to acro mode and see how they compare. In manual mode i cant get the PID achieved graph to move off zero so unsure what to set the ACRO_TURN_RATE to.

Now I get it. You are trying to determine the max turn rate in manual first. I didn’t had that issue and I don’t know about that. I hope somebody clears that issue for you.

1 Like

When you’re driving along (or when you’re stationary) and you give full left(or right) deflection, can you eyeball how fast the vehicle turns? That might give you a close enough ACRO_TURN_RATE to start running. Another option is to download the .bin logfile and look at it in Mission Planner to determine the max turn rate in manual mode.

Thanks. Will this be the ‘Turn rate’ under STER in the bin file?

ok, i think im getting somewhere now. I just ran it at home on ACRO mode and can see the acheived and desired following each other like the video. So now once i get the ACRO TURN RATE set correctly, i can play with the PID FF settings. Its odd that in Manual mode the PID achieved shows nothing but if i can get round this from the bin file, so be it. Thanks

PID is not active in manual mode, but you can still look at the z gyro value if you are trying to determine a max rate.

After that, use PID desired vs PID actual on that same graph in ACRO.

The docs are pretty clear on that.

The STER values in the .bin log will have more detail, as you surmise.

1 Like

in arco mode , to right or left go to have 3time circles ,and record the time ,and them 180/xxseconds,and you got ACRO_TURN_RAT

1 Like

Thanks for all your help. Managed to get back on the lake and tune the acro turn rate and the Steering rate. It drives fine in manual mode and auto mode now apart from one issue. When the boat heads off to a weigh point its goes in an S shape before going straight to the weigh point. I tried recalibrating the compass many times, but it still does this curve at the start of the heading. Here is a video showing the issue. Any ideas? I can post the bin file too.

Fairly common until you have tuned the navigation controller.

1 Like

ok, i’ll give that a go. Why cant i find PSC_VEL_I or _D in the full parms list in Roverv4.2.3?

@Resny73,

We’re stuck in an interim phase where the stable version is 4.2 and beta is 4.3 so there are two wiki pages available for navigation tuning:

It looks like you may be using 4.2 so you could follow the older instructions. Alternatively you could move up to 4.3 which is available as a beta and then use the 4.3 instructions.

1 Like

ok, thanks. i’ll try the 4.2 navigation settings for now.