I would like to add a window with some qt elements, like circles, text, etc. to the argos window. Ideally, this window would show up when a robot is clicked, and let user know which robot has been clicked (display a robot id or similar). How could I achieve this?
I have started with putting the following into the Pre-step function of my custom loop function code:
however, the main window doesn't allow to add anything to it.
Code: Select all
CQTOpenGLRender& render = dynamic_cast<CQTOpenGLRender&>(GetSimulator().GetVisualization()); render.GetMainWindow()...
The end purpose of this is to show a popup window with a dynamic diagram of a neural network once a robot is clicked.