Replies

                • Hi, Randy! Thanks for your work! A few days ago we have tested optflow functionality and found it perfect!

                  Before that we had some unsuccessful tries with Copter-3.3.1 and Copter-3.4-dev compiled manually from github (arming fail: need 3d fix).

                  Then we have downloaded the AC3.3.3 RC2 firmware through the MP. And now it works!! But we couldn't find version AC3.3.3 RC2 on the github. Could you help us with it please?

                  Thanks in advance!

              • Yeh, just downloaded via MP

  •   I think that one very important point we are missing is that the optical flow sensor needs to installed with VIBRATION insulation just like the IMU. I have the original 3DR optical flow sensor and Lidar Lite V2. When I test the senor just by waving the multicopter by hand the Of.flowX/OF.bodyX/IMU.GyrX perfectly match. However when inflight the OF.flowX is way off the other two values which match. 

    Log when waved by hand.

    3702163329?profile=original

    Log when flying.

    3702163632?profile=original

      I have been thinking hard what could be the reason. The only difference I can think of is vibration when the copter is flying. I have just attached the optical flow to the base of my copter with some hot glue and attached a zip tie. The zip tie is to prevent the sensor from falling, just in case the hot glue failed.

     

    Tomorrow I will attach the sensor using some nice vibration isolation foam and try again. Do you guys think that this will help?

    3702163344?profile=original

    • Yeah the vibration damping is a must. Think in terms of the software identifying marker points in each video frame. Less vibration means quicker and more accurate recognition for the program.

  • Hi Paul,

    Thanks for the fast reply.

    I did the camera focus with a checkerboard and text printed on A4 paper on the ground. So I doubt this it it.

    I was flying above mats with yellow colour and colourful spots in them. Possible the contrast is not good enough. I'll check with the high def video stream. I could try printing several A0 size checkerboards and pinning them to the floor.

    We have TL lights in the building. Perhaps strobing is possible. That would explain why both files are noisy as I did the calibration above a checkerboard floorpanel. I will have to test outdoor to be sure, but the weather is too bad the next few days.

    I'll also add more damping to the optical flow mount.

    Thanks again for the input!

    Jon

  • Hi,

    I've tested the optical flow setup on my DJI F550 Hexa with an i2c external sonar and PX4FLOW module with Copter V3.4-dev (89c14718) which I downloaded today.

    I've calibrated the optical flow manually according to the following wiki page and it looks ok. 

    http://copter.ardupilot.com/wiki/common-px4flow-overview/

    Log download link: https://www.dropbox.com/s/j3rrwqfokm4qbo8/Optical%20flow%20manual%2...

    The test flight log link with EK2 and optical flow is below. It seems the the EK2 and optical flow are doing well, except that during flight the hexa starts drifting in various directions and, as someone posted before, it reacts sluggishly to pilot inputs.

    Log download link: https://www.dropbox.com/s/r1y79y8ty31ix9f/EK2%20and%20optical%20flo...

    I suspect that the loiter PID is not tuned well enough as NTUN's DesVelX vs VelX and DesVelY vs VelY are not matching. But before I try playing with PID parameters, does anyone have another idea why this may be? Can I be sure that the optical flow and EK2 are indeed working as I suspect? The loiter wiki page says its very unlikely that the loiter PID has to be tuned differently from default values. Therefore I'm not sure.

    http://copter.ardupilot.com/wiki/loiter-mode/ 

    Cheers,

    Jon

    P.S. My apologies as the attachment limit of 7MB was too low to attach the logs directly to this post.

  • Hi!

    I have the following simple question: is it possibile to fly indoors with px4flow (without gps 3d fix)?

  • Hi,

    I would like to implement Optical Flow into ArduRover, emplying laser mouse and modified lens to get sharp image underneath.

    Distance is constant so no need to install distance sensor (sonar, Lidar lite)

    PC laser mouse is highly sophisticated Optical Flow machinery and algorithm.

    Pls let me know your opinion and your experience with laser mouse employed as Optical Flow controler.

  • Thanks a lot Paul.

    mounted a separated sonar, zhang xu wrote about this http://diydrones.com/forum/topics/copter-3-3-beta-testing?id=705844... .

    I have another optical flow senosor and I'll trying how it work.

  • I have run into the problem where the PX4Flow does not initialize unless the Pixhawk is powered through the USB port first. Is there any fix on the horizon, or does anyone have any workarounds?  I would really like to use it, but it's not practical for me to initialize through the USB when I'm out in the field.

    Something I have noticed, which may help with debugging this problem: If I enable the PX4Flow and power up with the main battery first, then connect the Mission Planner, the altimeter on the Flight Data page is climbing very rapidly (it goes up thousands of feet and doesn't stop), although the hexa is sat on my bench. After doing this, I checked the altitude in the logs and it appears normal ie. doesn't reflect what I am seeing on the Flight Data page.

This reply was deleted.

Activity

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