Hello, everone!
I am working on object-avoidance copter with BendyRuler(vertical) in auto mode recently, on my real flight experiment, the copter would not go further but just spinning, as if it was hesitating where to go. It happened from time to time. Environment related I guess.
I have read the code AP_OABendyRuler.cpp but could not get the solution for the spinning. Can someone help me? Thanks a lot. ![]()
Firmware: Copter-4.6.2
Flight Controller: Pixhawk 6c mini
Object-avoidance method: vertical BendyRuler
Object-avoidance related paramters:
OA_BR_CONT_ANGLE,75
OA_BR_CONT_RATIO,1.5
OA_BR_LOOKAHEAD,10
OA_BR_TYPE,2
OA_DB_ALT_MIN,0
OA_DB_BEAM_WIDTH,5
OA_DB_DIST_MAX,0
OA_DB_EXPIRE,10
OA_DB_OUTPUT,3
OA_DB_QUEUE_SIZE,80
OA_DB_RADIUS_MIN,0.01
OA_DB_SIZE,100
OA_MARGIN_MAX,4
OA_OPTIONS,1
OA_TYPE,1
Experiment video:https://youtu.be/WcOL2EVchdw