Hello everybody,
I am currently planning to build an autonomous boat with a length of 170cm. Unfortunately, I am still a beginner in the field.The boat is steered by a Z-drive, which makes the curves narrower the higher the speed. I have set a cruise speed of 9m/s. My problem now is that the boat throttles the speed at the waypoints to 4m/s. However, it should drive a consistent speed. Is it possible to change this with a parameter or is there another possibility.
Let me know if you need more information.
Changing the parameter did not solve the problem. However, I have found a way how the speed reduction does not occur. I’ve arranged the waypoints so that he only has to deal with obtuse angles. This allowed me to achieve a sustained speed of about 11m / s.
EDIT: I’ve had a quick look at the log file provided earlier and it looks like the actual turn rate is not keeping up with the desired. This normally means the ATC_STR_RAT_FF is too low (and perhaps P and I are also too low). It looks like the FF has already been increased from the default of 0.2 to 3.0 but it looks like it needs to be a lot larger still… perhaps 9 or 12. that’s very high but from a first look it seems to be necessary.
I have already done the tuning steps. I also recognized that the turn rate is too low, but I thought 3.0 is the highest value I can choose. I will try it tomorrow. Thank you very much for your advice.
It may be necessary to change the parameters (which start with ATC_) directly from the MP’s Full Parameter List or Full Parameter Tree page (assumming you’re using MP).
Hi there,
Today I tested again with the increased FF value. In my opinion, the driving behavior is quite neat. Soon I want to increase the speed even further. Now my question is: is it possible to change the cruise speed during a auto mission? Or is it only possible by changing the parameters?
Here is a screenshot of today’s mission:
It should be possible to change speed during an AUTO mission using command DO_CHANGE_SPEED. The 1st value is ignored, 2nd should be desired speed in m/s, 3rd in throttle %.
However I’m having issues with this command. Please let me know if it works for you.