For a while I have been watching these youtube videos:
The drone seems to be very stable, however I also have an optical flow module, and I have never obtained anything similar using my drone, even i have better isolation and frame than these drone in the above video.
By looking at youtube comments it seems that the pilot is using a different forked firmware, so the question is: Does these modifications have be merged to the master? because the performance is outstanding.
For installation of the camera (px4flow) i have checked a lot of time, there is no problem, it is shifted 2 cm from the center of the drone.
I also changed efk to lpe in SYS configuration, However so far. I’m not able to access the list of lpe configuration even after booting the pixhawk, QGC always shows me the set of configurations for efk.
At the end I don’t know if you guys know how to be sure if the camera work, for instance. Does it show data in the log?
You can read the PX4 dev doc, to see how you can calibrate and setup optical module in QGC, as well as making sure your sonar is working properly. Also if you are not using MindPX/Mindracer, flow support may not be started by default(not quite sure you may need to double check).
Also, it is very important to make sure your environments can meet the minimum work condition of flow.
I have read this document, by following the instruction I should be able to get the set of LPE, settings, which never happens, by the way Does the camera have a log which might help?, I mean how to distinguish from damaged camera from a functioning one? QGC just show you the image received and ask you to optimize the focus.
From my SD card, actually I didn’t understand all these data, as I’m not expert in drones.
all of these flight contained px4flow camera.
Crash altitude hold was used :
This test has finished by crash using altitude hold, the reason of crash is hitting a furniture, but the
drone was not that stable before the crash and it was well drifting .
This are two another log from a general flight i used stabilized mode: I don’t remember how they were finished. but it might be helpful to see the drone behavior in general.
Well, after some configuration, and re-flashing the firmware of optical flow camera. I used the analyzer of QGC without arming or taking off, I see that x, y value are changing in real time especially when moving the drone, or moving some objects under the camera, which mean that it does work, However. when starting a flight test, the log values for x and y are always 0.
I remember the last flight, i switched from stabilized to altitude control, and the drone increased the throttle and got up to 3 meter directly for no obvious reason.
In EKF2, you need to enable OF with the AID bitmask
EKF2_AID_MASK - AID bitmask
Set bits in the following positions to enable:
0 : Set to true to use GPS data if available
1 : Set to true to use optical flow data if available
2 : Set to true to inhibit IMU bias estimation
3 : Set to true to enable vision position fusion
4 : Set to true to enable vision yaw fusion
Which flight mode we have used during this test? in my logic if camera is activated, stabilized mode should use optical flow and should be quite similar to altitude hold.