Can shortcut key to a rviz tool be set outside the class constructor? [closed]
For certain reasons I would like to have a shortcut key to the rviz/PublishPoint tool, and seems like there is no default shortcut key set in the class constructor.
After a bit of research I didn't find a way to do this without modifying the original code... Do anybody have a hint on how this can be done? Thanks!
Unfortunately I do not think you can set the hotkey with an rviz plugin or even by instantiating rviz within your own Qt application. I think you'd have to modify the rviz code. You could open a pr for this though.
Thanks William, I may open a pr later then. By the way a temporary work-around was setting PublishPoint tool as the default tool and then one can always use the Escape key to go back to it...