Hi all!
I've been using my ardupilot for some surveying missions recently and I love the auto stuff programmed in!
I wanted to try to make a multi flight trip today though so I was building flight plans and after I saved the first one with 184 way points successfully (having the camera trigger on "Do_Digicam_Control") when I build the second polygon then autofilled the way points, I can't seem to save the file.
I keep getting "error writing file."
It stops at waypoint 116 every time and writes until just before the latitude. I looked at that and the surrounding waypoints and nothing out of the ordinary.
My flight plan starts with a "Takeoff" command and ends with a "RTL" and "Land" command as I've used (and saved) about 5 or 6 times now.
Does anyone know of any common reasons I'm missing that may be preventing me from saving? Something like "oh you can only save up to 56 Do_Digicam_Control commands in a single file" or some oddity like that?
Thanks a bunch for any help!
Replies
You are hitting the memory limit which restricts the number of waypoints to around 120, give or take, from memory.
I am trying to set similar missions where the number of waypoints is a concern and to this effect the new firmware has the
Camera trigger distance (CAM_TRIGG_DIST)
Distance in meters between camera triggers. If this value is non-zero then the camera will trigger whenever the GPS position changes by this number of meters regardless of what mode the APM is in
which has been in the fixed wing code for a while.
I have not yet tested the function though.