Replies

      • We've still got some room on the quad, so that sounds good. Then we can compare it with  both sonar and the lite.

        I'll contact you via PM to explain our project a bit more.

  • Thanks, going to give that a try next time. Currently we're still hampered a bit due to the Lidar Lite jumping to 12m occasionally, we moved it to its own BEC, but now it just up and quits sometimes.

    I've ordered some stuff (Traco TSR 1-2450) for a dedicated power supply, according to Pulsedlight the stability of the 5V is critical.

    • Hello Fabien,

      Do you use the Lidar Lite V2 with the blue label or silver label? 

      The Traco TSR Stuff I quite like, and from an electrical engineering point of view,

      that might be even much better than all of these big BEC's.

      I wonder why the community does not use those in the first place.
      (just because of few dollars higher in price?)

      I am using the BEC of an ESC (4in1) but get the message "Battery low warning" all the time,

      but that could have different reasons of course.

      • I use the Lidar LIte V2 with blue label.

    • Can you set RNGFND_MAX_CM to 1100 to ignore Lidar Lite readings above 11 meters?

  • Very nice that there is a thread for the PX4Flow, and thanks to all the developers for their hard work.

    Below is a video where we take off to 1.5m, turn 180 degree, then command a 1m move via Dronekit. After reaching 1m, it lands.

    https://youtu.be/HK8bbefFjCQ

    The takeoff could use some work, I think we'll try using EKF2 and setting RNG_GNDCLEAR and RNG_OFFSET next.

    Would I be correct in assuming that if we had about 20cm legs, the takeoff could be performed fully under optical flow?

    • It's hard to tell from such a short flight, but it looks like the quad may be drifting on X-Y axes.  I had this problem (my Loiter using OF was drifting back and forth) and was able to significantly improve it by going into Mission Planner and adjusting upward the Loiter-P value.  This made the response to drifting in X-Y much more aggressive.  If you crank it up too high though, the quad will start "jitter" in place when loitering. 

      Also, I think it's recommended to have a decent amount of variation on the surface the camera is looking at.  I can't tell, but that grey carpet might be too uniform.  Maybe put down painter's tape or something that won't blow around? 

  • Thank you Paul for posting very useful information!

    I'll switch to master and give EKF2 a try later and report back.

  • Hi,

    Can you use both OF and GPS?

    I see that the solution to get OF working lies in setting EKF_GPS_TYPE -> 3

    But this sets the EKF to not use the GPS. Can you then still automatically fly GPS waypoints?

    Does the NKF support fusing both?

    Cheers,

    Jon

    • Hi Jon,

      I'm not an expert on this, but by looking at the EKF source code, it looks like GPS won't be used at all when you set EKF_GPS_TYPE to 3. However, when you fly in GPS mode and if you lose GPS signal, and if OF data is available, it looks like the software will fall back to using OF (AP_NavEKF_core.cpp around line 500).

      I haven't looked at EKF2 code, so I have no idea about that.

      In any case, I hope someone who knows what they are talking about could confirm/correct me.

This reply was deleted.

Activity