I also do know that i can set the ekf origin by right clicking on the map on mission planner, but what i meant to ask was in the event where i do not have gps, such as indoors, is the exact location of where my drone is important?
Does anyone know how FLOW_FXSCALAR/FLOWFYSCALAR will affect the flight behaviour of the aircraft? For example, will it try to hold position more aggresively?
Also, has anyone tried making use of EK3_FLOW_I_GATE and EK3_FLOW_M_NSE? And if so, is it possible to improve the behaviour of the aircraft? (less drifting)
In general you shouldn’t need to adjust the GATE and NSE values.
The scalar values will affect how well the vehicle flies because it affects how well the EKF can estimate its position.
There are really two large components to any drone system, the EKF which is responsible for the estimation of the position, speed, angle, etc. Then there’s the control component which is responsible for controlling the vehicle’s position, speed, angle, etc. These scalars, gate and noise all just affect the estimation portion. They don’t affect how aggressively the vehicle will try to hold position.
How can i help to further reduce drifting when making use of the Hereflow? I’ve seen on other posts that adjusting the FLOW_POS_X/Y/Z accordingly will help also, but I’ve done that and it doesn’t seem to help very much.
P.s. the flights i’ve done are indoors, so i suppose the lighting may not be that great for the Hereflow to function accurately also
Yes, setting FLOW_POS_X/Y/Z values is important. 4.2.0 (now in beta testing) also includes an inflight flow calibration procedure so that may help to get good scaling.
I see no mention in this discussion of setting a EK3_SRCx_VELXY parameter to use flow. As a brand new optical flow user, maybe my fresh set of eyes caught the problem?