You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rover supports driving towards waypoints in reverse and also reversing the throttle output to slow the vehicle more quickly. In the case of vectored-thrust vehicles (wiki) the steering response should also (probably) be reversed when the throttle is reversed.
We should add support for detecting vehicles that cannot reverse. This could be implemented by adding a new "has_reverse()" method to the AP_MotorsUGV class. Within this method we could check that SERVOx_MIN is less than SERVOx_TRIM.
Features that should check this value include:
the DO_SET_REVERSE mission command should only be processed if the vehicle "has_reverse()". This check is probably best done in the mode_auto.cpp's set_reversed() function.
Loiter mode should only attempt to backup towards the target if "has_reverse()" is true. This check should probably be done in mode_loiter.cpp (search for, "if destination is behind vehicle").
perhaps AR_AttitudeControl's _brake_enable member should be forced to 0/false if "!has_reverse()". This could be done by adding a new accessor to AR_AttitudeControl called, "set_brake_enabled(bool)" and then update it from Rover's one_second_loop() based on the motor library's has_reverse()" function. Perhaps there are other ways as well.
we should document on the wiki how users can specify that the vehicle does not support reversing. I.e manually set SERVOx_MIN to set SERVOx_TRIM.
The text was updated successfully, but these errors were encountered:
Has this feature been added yet? I'm looking into making a catamaran style airboat that uses two props with differential thrust for steering. I've heard that a workaround is to just buy RC car esc's that are reversible, but I'd prefer to not have to.
Thanks
Rover supports driving towards waypoints in reverse and also reversing the throttle output to slow the vehicle more quickly. In the case of vectored-thrust vehicles (wiki) the steering response should also (probably) be reversed when the throttle is reversed.
We should add support for detecting vehicles that cannot reverse. This could be implemented by adding a new "has_reverse()" method to the AP_MotorsUGV class. Within this method we could check that SERVOx_MIN is less than SERVOx_TRIM.
Features that should check this value include:
we should document on the wiki how users can specify that the vehicle does not support reversing. I.e manually set SERVOx_MIN to set SERVOx_TRIM.
The text was updated successfully, but these errors were encountered: