LidarLite on Pixhawk setting zero range

I have the LidarLite on my quad with a Pixhawk controller running software version 3.2 and I see the ranging values in the setup screen.  When the quad is sitting on the ground on the landing gear, the LidarLite is about 50cm above the ground.  Does anyone know if there is a place to set the offset so that the Pixhawk realizes that when the range is about 50cm that it is on the ground?  Or is this automatically calibrated?

By the way, the measurement from the LidarLite is amazingly accurate.  The ranges given by the LidarLite vary about 5cm from the actual measured value with a ruler.
3691169423?profile=original

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Hi, I have similar problems... My Lidar shows at least 0.40m as distance. How can I set it to zero in Mission Planner? I found on pulsedlight website thats its possible to adjust readings, but I doint have Arduino Gear available

  • Distributor

    I am trying to set up a LidarLite sensor from PulsedLight - and have a question, maybe you can help;

    I set it up according to the wiki (new sensor, manufactured Feb 2015, interfaced with a Pixhawk via I2C)

    http://copter.ardupilot.com/wiki/common-optional-hardware/common-ra...

    In the wiki it points to the Flight Data Screen of the Mission Planner to test the sensor,

    but I only get zero as reading in this window.

    But if I check in the terminal,

    I can see that the sensor is working (see attached file),

    so is it working ok? Is the wiki wrong?

    Thanks a lot,

    Felix

    Capture.JPG

    • 3702598184?profile=original

      status tab under hud look for servorange hard to find alittle

  • what are your rngfnd parameters? I can't get mine to work at all

    • So this is where it is a little tricky.  I use both the APM Planner 2 and the old Mission Planner for configuration.  I started with APM Planner 2, which has the configuration setup for the Lidar Lite, and then after configuring some of the newer features there, switched back to the original Mission Planner because it's regular features are more stable.

      In the old mission planner the values look like the following:

      RNGFND_FUNCTION 0
      RNGFND_GAIN 0.8
      RNGFND_MAX_CM 4000
      RNGFND_MIN_CM 0
      RNGFND_OFFSET 0
      RNGFND_PIN -1
      RNGFND_RMETRIC 1
      RNGFND_SCALING 3
      RNGFND_SETTLE_MS 0
      RNGFND_STOP_PIN -1
      RNGFND_TYPE 4

      The screenshot in the original message is from the APM Planner2.

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…