@ppoirier
i did it, but still can arm it when i’m less than 0.6m and i saw only one time the message PreArm: Proximity %d deg, %4.2fm", (int)angle_deg, (double)distance)
There is no information that the obstacle avoidance is active.
Yeah it was like this before and has been removed because of to many complain about this ‘‘weird screen’’… from people not using the feature, but the wiki being outdated it creates lots of confusion (read frustration)
Hello everyone
this is my first post , im glad to meet you
on the topic now . i have a TFmini with corect conections and setings and i cant get it to report distance
on the pc software of bakenwake i can see the distance displayed but not on the pixhawk .
ps i want to use it for obstical avoidence
I have the message : PreArm: check proximity sensor
I use a TF mini connected in serial 4/5 on pixhawk (last firmware ARDUPILOT). It give the good value in MP.
I have configure an avoidance switch but i have always the message. Any ideas ?
My parameters
AVOID_MARGIN=2 : nombre de mètres devant l’obstacle (avec GPS)
[AVOID_DIST_MAX] =5 : nombre de mètres devant l’obstacle (sans GPS)
[AVOID_ANGLE_MAX] =1000 controls how far back the vehicle will lean away from the barrier (sans GPS)
SERIAL2_PROTOCOL = 9 (Lidar)
SERIAL2_BAUD = 115
RNGFND_TYPE = 8 (LightWareSerial)
RNGFND_SCALING = 1 coefficient d’echelle
RNGFND_MIN_CM = 30 : distance mini de lecture du capteur
RNGFND_MAX_CM = 600 : distance maxi de lecture du capteur
RNGFND_GNDCLEAR = 23 : (en cm, distance entre la tête du capteur et le sol)
RNGFND_ORIENF=25 : (orientation vers le bas)
PRX_TYPE=4 : type de capteur de proximité
PRX_YAW_CORE=0 : correction sur le yaw
In mission planner the sensor is on flight mode 1
CH7_OPT = 10 : switch channel 7 for proximity sensor
Bonjour,
My application is to clean the roofs by drone so I need to maintain a constant altitude so a rise of 2 meters between the drone and the roof. Orientation as 25 is ok for my application but I have the message : PreArm: check proximity sensor. My TFmini is installed 23 cm up to the ground. Any suggestion ?
Hey there!
I was looking for a low cost and effective rangefinder for obstacle avoidance for a drone. 4 at sides and one for altitude. Cost here is priority but effectiveness is also important.
Can anyone suggest rangefinder for this purpose.
I found tf luna interesting but found threads where it is giving issues with the performance of the drone.