From several month we try to setup the PID settings for a “large rover” but we did not succeed…
Rover goal is to move on farming field. It’s a rover with 4 motorised wheels. Two fixed in front and two mounted with a servo at the back. So direction is at the back.
Manually all is OK, we can moove and control the Rover.
GPS RTK is OK.
But When we try to simply make a straight line in auto mode, the rover completly go far of the waypoint.
Exemple : we try to go to point “1” from point “0”.
We try several times with several PID setting, result is… :
We have reset all parameter and do the speed tuning first.
but had an issue : When I’m in Accro mode, Throttle stick at the lowest position : rover run a bit, stop, run a bit etc. How I can resolve this issue ?
In manual mode : no issue, stick at lowest position = Rover not running.
If you carefully read the official documents and carefully debug the words, it is impossible to appear such a situation, I suggest you have a good read, how to debug the throttle and speed, turn and speed, line and other content.
On MP, I actually choose “normal” ESC : my rc transmitter throttle are without spring return (such as to drive plane). So If stick full down = 0% motor, stock full up = 100% motor
And I’m using a switch of the transmitter to choose between backward/forward.
I can left as this, or it’s an issue and I need to use “brushed with relay” ESC type ?
(Note : To switch between backward and forward, motor need to stop, otherwise, motor don’t moove anymore)
I made new tests yesterday to tune the speed PID but had issue in Accro Mode.
On the graph the PID desired is too high. The rover can’t achieve the desired speed.
I set the CRUISE_SPEED to approx 0.7/1 m/s (I tested several values) but pid ask for approx 2 m/s
Where I can resolve this ? (like ATC_STR_RAT_MAX for the turn rate)
– EDIT – I think I found the parameter : “FS VALUE”, I will try this afternoon.
I also had another issue : even if I put the throttle stick à 0% (full down) the PID desired seem to be crazy and ask 1m/s, 2m/s etc. (I cant’ show you log as I made a mistake and had no log of this try).
You do not have to test values for cruise speed. Just follow the docs for learning cruise speed and it shoukd come up with a reasonable value for cruise speed and throttle percentage.
FS_Value is the Failsafe Value, it has nothing to do with speed.
Check your transmitter for any trim settings. The autopilot can not tell if the input is coming from a stick movement or the trim. Leave all trims at zero.
I previsouly used the learn function, but someone here say me to change the two speed parameters.
I made new test, using the learn function, and in acro all seem to be ok.
Trim was also the issue : set it to 0 instead of the middle, my bad…
Steering PID in acro mode seem to be ok too (I need to tune a bit more).
After the last try, I have two issues :
1 - In acro mode, sometime the rover stop to move even if my stick is at 100%.
2 - In auto mode, the rover do “circle”
I attached the log and also a capture of my screen where we can see that the “target heading” are very strange. Target heading sometine point to the opposit direction.
Hexor, this is a very delicate subject, and one I have battled with for years. My best advice is not to take any advice from anybody that has not actually successfully set a large rover up themselves.
The reason I say this, is that the documentation available works perfectly for little RC boats and cars, but big ones … not even close.