Hi,
I have to add some other information about these tests that Roberto and I we did. It was impossible to arm: there was always the message preArm: check range finder. I put a look to the source code: it seems impossible that that function can return true. I had to disable this check to continue with the tests.
About the configuration of optical flow.... We follow Arducopter and Pixhawk wiki: we enabled logs and verified all values. We did first fly with EKF_GPS_TYPE = 0... The logs were OK. We changed EKF_GPS_TYPE to 3.... The first problem was the 3DFix of GPS while arming in loiter... We tried to arm in stabilize, switch to loiter and then take off the drone but there was not control on pitch and roll. Probably we have done something wrong! Do you have any idea about this behaviour? Why the preArm check want 3D Fix when I use optical flow.
Thanks a lot for your help
Luca
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks very much for testing the optical flow. We haven’t had a lot of users of it so it’s not too surprising that there are issues. Personally I was thinking about giving it a try on the NAVIO+ board because we have a linux driver for it now as well.. but I digress.
Yes, Luis is right. You just need to pick-up the sensor to a height of between 50cm ~ 200cm if optical flow is enabled. It’s a slightly controversial check but Paul said that while he was testing with the 3DR Solo people, they had lots of problems and it almost always came down to the lidar being setup incorrectly or not working for some other reason.
Definitely dataflash logs would be good at this point too if you have them.
-Randy
LOG_BITMASK = 131071):Hi, @Paul
I tested the optical flow takeoff check with Copter 3.3-rc11 (branch: master). I followed this tutorial: http://copter.ardupilot.com/wiki/common-px4flow-overview/, I changed EKF_GPS_TYPE to 3, there was the message “Pre-arm: need 3D Fix” while arming in Loiter mode. I checked my flight data flash log and found that the parameters: EKF5.FIX and EKF5.FIY are flatlined. I know that the EKF was not using OF data. But, how do I fix this problem? Maybe I have done something wrong….
Thanks a lot for your help~
-Leon