13 Developer Optical Flow discussion thread Posted by Randy on November 22, 2015 at 5:28pm This is a discussion of getting the PX4Flow sensor working with Copter-3.3.1 (or higher). You need to be a member of diydrones to add comments! Join diydrones Tags: arducopter, copter-331, copter-332, of_loiter, opticalflow, px4flow, developer Email me when people reply – Follow
then you can get below information about sonar
px4flow: ground_distance: 0.63 m
px4flow: time since last sonar update [us]: 9524010
px4flow: quality integration average : 255
px4flow: quality : 0
thx will try this!
I'm afraid we don't support using the px4flow's sonar (it's mentioned on the wiki although it may not be perfectly clear). Paul Riseborough tells me it's technical possible to use it by soldering a wire from one place to another but I don't have details on that. The sonar that is comes with is also very short range which is part of the reason why none of the devs have put effort into trying to get it working.
uups I missed that...
So I can't use my PXFlow if I don't add another sonar to the copter:
WIKI: "Because optical flow requires good sonar/range finder data when the optical flow is enabled, an additional pre-arm check is enforced."
I hate to say it but yes, I'm afraid so. Maybe we can get Paul Riseborough to tell us the "green wire" fix to make the sonar work as an analog sonar but the results won't be very good because it'll only work up to a few meters.
Is the old firmware (px4flow-klt-06Dec2014) still the correct one to use with the latest APM flight stack (e.g. Copter-3.3 or 3.4-dev) or should we use the newest firmware version from the PX4 repo?
Philip, Did you mean "px4flow-klt-06Dec2014" ?