GUI Save status simplification
Posted by brunoeducsantos on
URL: http://official-rtab-map-forum.206.s1.nabble.com/GUI-Save-status-simplification-tp4600.html
Hi Mattieu,
I have applied some changes to the GUI so that non-technical users can use it more easily.
Currently, my issue is creating a kSavedStatus similar to kClose , but instead of clearing up the scan just save the current changes to a database file. In further detail, I want to use current closedatabase button as a save button so that the user can save anytime instead of just saving when leaves the app.
For this purpose, I created a new state in the flow of the application. For instance, I add a cmd to enum cmds in RtabmapEventCmd class (RtabEvent.h) . After create this cmd, I created a state in RTabMapThread class. For implementation an action/status to the command I inserted a a event in handleEvent method. Finally, I added as a case on mainLoop method. During this last step, it pop out my main hurdle. I am not sure how to save status into a database . Could you explain how should I proceed to do it?
Cheers,
Bruno