Sonar Sensor

Morning,

 

I have read up that if I want to use the LV Sonar sensor I have to change it in the raw code.  Something that I am no good at.  Would it be possible to change it from XL to LV somehow in the planner?

 

Regards,

Solo.

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

Join diydrones

Email me when people reply –

Replies

  • Morning,

     

    Firstly, thank you for all the responses.

     

    Michael - I cannot locate the page at this point, but I recall that it said you had to change the code from XL to LV and then re-compile.  The LV and XL sensor is recommended on the Arducopter site.

     

    Chris - I think it is about time for me to learn the code, I used to program is Pascal many years ago and have tampered with JAVA, so I am hoping this will help me decode and understand the code.  Have been so busy with building that I havent spent much time on it, but now that I am waiting for motors, its probably the right time to start.

     

    Randy /Tony - I have now tested the LV MB1000 and can confirm that the sensor is working.  After power on and calibration its accuracy is well within what I would like to call usable tolerance.

     

    Regards,

    Solo.

  • Developer

    You know, I think both will work on the AP Mission Planner version.  The protocols use to be different for the two sonars (the LV would report in inches and the XL would report in centimeters), I'm not sure exactly when maxbotix changed it but I think both now report cm and so both will work with the standard code.

     

    I haven't actually tested it but I've heard other users say that the LV works with the XL code.

  • 3D Robotics
    No, I'm afraid not. Every hardware variation we support adds hours of complexity, risk and testing time to the project, slowing the pace of innovation for all. That's why we ask users to use the recommended sensors and hardware, or modify the code themselves if they choose not to follow our recommendations. It's the way most open source projects work: we support a limited range of hardware options natively, but you can add more if you're comfortable getting into the code.
  • Developer
    where did you read that? i dont have a sonar atm, so would need to read it myself first.
This reply was deleted.

Activity