New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: extend the number of waypoints #7254
Comments
@ThorstenDP This is not an error from exceeding the number of waypoints. If you exceed the waypoints we continuously replace the last waypoint in the list with the newly uploaded one. MAV_MISSION_INVALID_SEQUENCE is only sent when a GCS uploads a waypoint that the autopilot was not requesting. This is a GCS mission handling error (possibly caused by packet loss/radio relays) and not an artifact of hitting the waypoint limit. |
@WickedShell Thanks for your reply! |
@ThorstenDP that used to be true for awhile anyways, just tested in SITL and when I attempted to upload 750 waypoints I got a |
Michael, do you mind if I re-open this? |
@auturgy I mind in the sense that we already have issues for those :) #4424 tracks missions on SD cards, #4172 is a increase space for linux boards PR (we don't have space for more waypoints in the current one) #2391 tracks the request to have flexible storage space per element which is the only proposal other then SD cards to get normal PH boards more mission space. I just didn't see this as adding anything new to track other then being a similar meta issue to the ones I've linked. So it can be reopened, but I'd like to only reopen it if we have a distinctly narrow focus. |
Got it. Linked to 4424 makes sense. |
Is the limitattion on Pixhawk boards related to the 1MB limit of the older boards? |
It's related to storage on FRAM rather then flash. There was a recent bit of work I believe to enable using flash rather then FRAM for storage of waypoints (IIRC this was used on Skyviper), however that is not used on any of the Pixhawk related builds. |
Ok! Thanks a lot for all the details! Much appreciated! |
@WickedShell Sorry to necrobump this, but does ArduPilot still have the above behaviour? |
How's this relate to |
@peterbarker Thanks - looks like a duplicate - @DonLakeFlyer - can you please confirm why MAV_MISSION_TOO_MANY_ITEMS is needed if there is MAV_MISSION_NO_SPACE? They sound like the same thing (I missed this).
|
No idea. |
ArduPilot returns This is actually somewhat sub-optimal as it goes purely off count. Technically we could store mission items more compactly - trigger-servo should take less space to store than a waypoint, for example. We do not attempt to use that fact in our current implementation, and it would significantly complicate the protocol as we can't determine whether a mission will fit until it doesn't, and we don't have space anywhere to store both the current mission and the one being uploaded to reject the new one and retain the old one. Frankly, |
@peterbarker Thanks. I'm going to delete My interest in this is to update the docs on ArduPilot difference from the mission spec in https://mavlink.io/en/services/mission.html#ardupilot I THINK that based on what you are saying this line is now incorrect: "If you try and upload more items than ArduPilot can store the system will "accept" the items (i.e. not report a failure) but will just overwrite each new item to the same (highest) slot in the mission list." Instead, if you don't think there is enough space you return Would I also be correct that ArduPilot now supports GeoFence and Rally points "to the spec"? |
Sounds good. PX4 Firmware actually does pretty much the same as ArduPilot.
Wow. I've never known that to be true.
Yes. Same as PX4 Firmware.
Well... I'm not sure I've read the spec :-) Strictly speaking we may not be compliant as we have some fun interactions while continuing to support the old protocols. i.e. there are interesting manipulations possible via mavlink which won't be covered in the spec. |
Thanks @peterbarker - I'll update that doc though. Re "to the spec" ArduPilot is probably "compliant" since I understand QGC didn't change and now you're supported. Doing "more than the spec" is usually fine as long as the documented stuff doesn't break. I'll confirm with Don. |
https://github.com/PX4/Firmware/blob/master/src/modules/mavlink/mavlink_mission.cpp#L851 That's when handing |
Hi all,
today I wanted to set up a mission in QGC for a long flight time / high resolution survey and received the following error:
It obviously stems from the current maximum number of waypoints, which seems to be 718:
https://github.com/ArduPilot/ardupilot/blob/master/ArduCopter/ReleaseNotes.txt#L751
I would be great if this limit can be extended.
Thanks an best regards,
Thorsten
The text was updated successfully, but these errors were encountered: