i am using the px4flow + lidar light combination at my pixhawk with apm 3.3rc10. I did the setup like mentioned in the wiki (copter.ardupilot.com/wiki/common … -overview/) and all seems to work ok in the prearm-logs.
After i have set the EKF_GPS_TYPE to 3 (optical flow) i cannot arm anymore in loiter, giving me the Message
"Prearm: need 3d fix". (i have a gps+compass attached too, which is working fine if i change the EKF_GPS_TYPE back to 0)
Does anyone have the same issue?
Could it be since the last rc10 commit:
“2) b) always check GPS before arming in Loiter (previously could be disabled if ARMING_CHECK=0)”
I would be very grateful if someone can help me.
Hey and thx for your reply,
i think i already disabled geo-fence by setting the param FENCE_ENABLE to 0, here the part i copied out of my config file (attached to my first post: dropbox.com/s/802gdp1iv4k11 … param?dl=0)
I haven’t done much testing on this and I’m still having issues with the build-in sonar on PX4FLOW not updating EKF5.meaRng as the wiki suggest should be the case. Also, at least since the rc10 release, it appears the latest 3.3 release branch wasn’t tested with OpticalFlow. So please be cautious if you want to try my mods.
Since I was getting some data through OPTICAL_FLOW.ground_distance in telemetry logs, I assumed the wiki was just outdated…
I’m flying pretty small 250 quads indoors (major reason for not using GPS and relying on OF instead), so LZ-EZ4 should be good enough for me (I have SF02/F LiDAR as well, but it’s too bulky and heavy). I’ll see if I can use the readings from the sonar on PX4Flow in EKF. If it goes well, maybe I can expose this setting via MAVLink parameter so people have the option of turning it on or off from their GCS.
I’m assuming this means we DON’T have to arm in loiter mode anymore, and thus there’s no need for my mods.
So I suggest you wait for the RC2 release and try that build instead of my hack.
Hello, I mounted my HKPilot32 and configured it with the Mission Planner(188.8.131.52 the last version). The actual version of the HKPilot32 is 3.2.1. I use “E300” controllers. All configuration is OK. Connecting the Battery, the controllers son signal is OK. Some minutes later obtained GPS fix with 7 or 8 satellites even indoor. ARMIN is correctly signalled by song and Mission Planner. Unfortunately there is impossible to start motors. Please help me with answers: a) Must I change to the last software version? Eventually an other proved to working. b) Are there some particular conditions to start the motors when using OPTO “E300” ESC’s? Which ones?
I have OPTO E300 ESC controllers. As I know for this type of controllers there is not necessary to perform the calibration. The command differences for the motors are viewed also in Mission Planner 184.108.40.206 used. It comes from the software. I suppose the existence of a wrong parameter value.
Hi and thank you all for your replies/work to this issue.
I had the chance to test my setup yesterday with the new 3.3.2-rc2 release, and everything is working fine now. The copter loiters very stable, even on bad lighting conditions and bad ground surface textures/contrast.
My measured spikes of the lidar light rangefinder seems to be gone, if i boot the pixhawk via usb first (which is also required for the OF to be working)
It’s very glad that your drone can hover stably indoor.
I also tried v3.3.2 rc2 to fly my drone with a px4flow and an external sonar module.
But drone can’t armed in loiter mode, I tried to arm in stabilize mode and turn to loiter mode to take off my drone, but the drone couldn’t hover and lost control. Everything seems to be fine as calibration process, so now I don’t know what to do next. Can you help me to figure out what happened or give me some comment. Thanks!!