mavlink / qgroundcontrol

Cross-platform ground control station for drones (Android, iOS, Mac OS, Linux, Windows)
http://qgroundcontrol.io
3.1k stars 3.46k forks source link

The ability to undo modifications #11556

Open flyrobot27 opened 2 months ago

flyrobot27 commented 2 months ago

The ability to undo has been embedded into multiple type of user interactive tools, such as Microsoft Office, IDEs, 3D animation software and design tools such as AutoCAD. It is a bit surprising that QGroundControl does not support these kind of features.

Human makes mistakes, and sometimes we make actions that we didn't mean to. For example, accidentally removed the wrong vertex, removed the wrong waypoing, changed the parameters accidentally, stuff like those.

When a hot key is pressed (usually ctrl-z), the program will revert the planner to its previous state, before said user modification

HTRamsey commented 2 months ago

This is a little tough to implement in practice for most things. What would you say is the most important function to be able to undo?

flyrobot27 commented 2 months ago

Hi there, thank you for the reply. I think right now, the most important function are undoing deletes (e.g. vertex / waypoint deletion). For other stuff (e.g. parameter modification, added waypoint, etc.), I think we can live with those right now.