Servers by jDrones

Video with tuning advice for throttle/speed control

I made this video a few days ago to give some advice on tuning the throttle/speed control. I’ve also linked it to the bottom of the Tuning Speed and Throttle wiki page.

3 Likes

Great video. Nice to see some “this is what to expect” on the graphs. As for the braking, how does one know that the braking will not damage the controller?

RoboBill

@RoboBill,

Txs! My guess is that turning on braking is always safe. I think some ESCs (aka motor driver boards) come with a default setting that requires the driver to pause at neutral before applying reverse but I suspect this is to make it less likely that the driver accidentally backs up the vehicle when trying to slow down. I’m not really sure.

At some point we may just default the brake to ON.

@rmackay9

My only concern with braking was whether or not the motor driver could handle the surge generated by the motors. According to my drivers website, https://www.dimensionengineering.com/products/sabertooth2x60 it sounds like it can; “Sabertooth also allows you to make very fast stops and reverses”.

RoboBill

1 Like

thx for this video. i really hope to see video for pid tuning for boats :sweat_smile: or auto pid tunning option for boats. You guys are really nice people for doing all this hard work. sorry for my bad english

1 Like

Michael,

Yes, a boat tuning video is on the list as well. txs!

1 Like

Hi rmackay,
your video is very helpfull but I have some problems with the cruise learning procedure.
I tried to set the cruise_speed and the cruise throttle with the same steps as your video, but I received the following messages from the mission planner:
1- CRUISE LEARNING STARTED (rover in motion with manual flight mode and ch7 lever DOWN);
2- CRUISE LEARNING FAILED (rover in motion with manual flight mode and ch7 lever UP).
Why my procedure fails?
I need to set a max speed and a max acceleration to a lower values than the top speed and top acceleration. This because I noticed that using the rover in manual mode at top speed it disconnect the alimentation.
thanks

Hi Ru,

The learning should only fail if the throttle is below 10% or over 100% (which shouldn’t be possible) or the vehicle is moving backwards. These are the only times it should fail…

If you have a dataflash log I could have a look…

I HAVE SOME PROBLEM WITH THE DATAFLASH LOG. I RECEIVE THIS ERROR

Ru,

make sure the vehicle is disarmed before you try to download the logs…

1 Like

I send you the dataflash log of today failed cruise learning procedure

FILE .LOG - ( https://drive.google.com/open?id=123wcE8QfSdnYt6kewxOnO24txDKWYARs )

FILE .BIN - (https://drive.google.com/open?id=1zxxU7dEfbHUQB5sK-vWWe6gKVzDwNH1w )

thamks for the attention

I have the same “cruise learning failed” problem. I am using a PH1

Files:

Thank you for your time.

I’m not sure why the cruise learning is not working for you, but, if you want to run your rover at different speeds for 5 seconds at a time the logs will give you the relationship between speed and throttle.

Are you saying I could manually tune? I am trying to get accuracy in AUTO mode. Steering would be next but the rover rockets off when I switch to ACRO with little to no turning ability.

Yes, I’ll try and look at the log you provided and give my 2 cents.

You’re a saint! Thank you sir!

I could not access your .bin log for some reason but the Tlog showed you not moving or doing much of anything. Looking at you ATC parameters you have not started tuning the steering at all yet.

I was attempting CRUISE LEARNING first. I keep getting a fail at that. I was then going to start the steering. Any indication why CL would fail?

Put a different Pixhawk 1 on the rover. Still failing the CRUISE LEARNING phase of tuning.

@Jimmy_Oliver,

Can you explain the steps you are making to do the cruise learning? You’re following the advice that is written here on the wiki?

We really need a dataflash log to help you further I think.

Servers by jDrones