Hi everyone. Write here for the first time.
Currently, I’m a beginner and I’m aiming for rover’s autonomous driving.
However, I am facing various problems in progress.
One of the problems is that the sonar sensor responds in manual mode but The sonar sensor is not recognized in auto mode.
I’ve tried using the parameter values of Dodge Avoidance and simple Avoidance described in the Ardupilot, but It didn’t stop or avoid them in front of the obstacles.
As a beginner I can’t figure out what’s wrong.
Please help me how to change parameter values
I need your help.
I’m working on the Pixhawk 2 Cube and Lightware’s SF11.
The parameter values I changed are:
RNGFND_TYPE = 7 (LightWareI2C)
RNGFND_ADDR = 102
RNGFND_SCALING = 1
RNGFND_MIN_CM = 5
RNGFND_MAX_CM = 12000
RNGFND_ORIENT = 0
PRX_TYPE = 4
AVOID_ENABLE = 7
RNGFND_DEBOUNCE = 2
RNGFND_TRIGGR_CM = 100
RNGFND_TURN_ANGL = 45
RNGFND_TURN_TIME = 1