Using rangefinder for landing in Gazebo


#1

From my understanding, the drone in Gazebo uses the barometer to perform landing in land mode. Therefore, it cannot land on an elevated surface. I am trying to simulate precision landing using an aruco on an elevated surface but the arms keep throttling since it never reaches ground level. Is there a way to fix this in Gazebo?


#2

Perhaps check around for a sonar plug-in to gazebo.

I see there was one possible solution here

https://discuss.ardupilot.org/t/gazebo-with-lidar/24717/7


#3

Is this a theoretical problem, or one you are experiencing? If theoretical, I’d guess that it would be fine landing on an elevated surface. I think the drone would be able to detect if it is still moving or not- then once the drone has stopped moving the props turn off. I believe this is sort of how landing works on a normal level surface. Something like:

  1. Slowly descend on to ground
  2. Still descending? Keep going lower
  3. Not descending? You are on the ground so disarm motors.

The LAND mode would have to rely on some IMU confirmation of landing and not primarily the barometer because the barometer is so inaccurate.


closed #4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.


#5

1st: @jax200 10 points