Open flyrobot27 opened 6 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?
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.
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