While testing my rover recently, I had one of the most counterintuitive experiences in my decade long rc career with catastrophic results.
In AUTO, I was tweaking cruise speed while running a looped mission. Naturally, without tweaking steering params the rover would take wider turns as speed is increased.
When it became apparent that my rover will not make it's next turn, I tried to slow it slightly to clear the upcoming curb.
As it turns out, "throttle nudge" only nudges forward, Even when commanded to slow, throttle increases. I accelerated for the remaining 2.5m into a solid concrete block. The results were disastrous to say the least. The most damage I've ever seen from a single crash, and I launch my rover from 7' dirt jumps regularly. (Occasionally in auto, but that's another story with it's own set of difficulties)
I know that braking is fairly new in the rover code, and it's likely that throttle nudge has not been updated to reflect this. I did find mention of "throttle_nudge" in the radio.cpp file (line58), but I haven't a clue how to modify.
Any help would be appreciated.
Hope this post prevents others from such devastating crashes.

Mike

Views: 846

Replies to This Discussion

Take this with a grain of salt - I haven't looked at the code in almost a year.


Hold sets throttle to RC_TRIM. That, in generally, wouldn't apply brakes but would depend on the ESC, usually it will just set you to "idle".

 

My understanding of ESCs is that if you pull back hard in manual mode it may well slow you down faster. If you set up HOLD to go full negative throttle (which would give you braking) you'd run the risk of flipping to full reverse.

 

A flag to select "HOLD" as RC_MIN or RC_TRIM would be helpful for anyone running a non-ESC braking system (I think the FarmDogg people have a system like that) - HOLD at RC_MIN would apply full brake. 

This is fixed and now available.  You can either get the latest firmware or I have also created a beta release which includes this fix.

The latest firmware build of the source code is always available at

http://firmware.diydrones.com/Rover/latest/

For instance if your hardware is a Pixhawk this is the link you would use.

http://firmware.diydrones.com/Rover/latest/PX4/APMrover2-v2.px4

If your using MissionPlanner you can go into InitialSetup and select "Load custom firmware" and you should be able to upload it. 

If you use this you are on the bleeding edge - no promises your rover won't be random ;-)

Let me know how you go.

Thanks, Grant.

@Grant,

From a couple of years of Rover testing experience, I have to agree with Mike Rover that switching to the MANUAL Mode and applying full reverse throttle is the best way to go in relation to going to the HOLD Mode.

The change from the AUTO Mode to the MANUAL Mode is extremely fast and being able to apply full reverse throttle has saved the bacon in many instances where the rover was headed towards an immovable object:-)

Regards,

TCIII AVD

Thanks a bunch Grant!
Not concerned about running 'latest' code. I've been loading beta for as long as I can remember.
I'll load and try it tonight.

RSS

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service