Khepera K3 model, how is the UI done?
Posted: 16 Nov 2019, 22:20
The default khepera K3 model includes in v-rep 3.5 includes a UI which when thr robot is clicked upo9n will appear but if the robot, during the simulation run, doesn't get selected stays invisible. How is this done? I want to do something similar for models of my own but all I can see within the khepera's script is a reference to a UI object named "K3_stateVisualization". I can't see that object in the hieracrhy anywhere. The youbot 4 wheeled one armed manipulator robot also has a similar featrue where the Ui is only seen when the robot model is selected. How do you make a UI which only opens when a robot is selected? Thank You
P.S. I've previously tried UI's based on the example from the BubbleRob tutorial but either these stay in place permanently, or you enable the "closeable" which gives them a red X to click on to close but then there is no apparent way of re-opening them later on during the sim.
P.P.S. I started this thread reporting two issues, I just managed to fix the second one though, I had made a typo in my code which caused the trouble that I thought was down to the UIs
P.S. I've previously tried UI's based on the example from the BubbleRob tutorial but either these stay in place permanently, or you enable the "closeable" which gives them a red X to click on to close but then there is no apparent way of re-opening them later on during the sim.
P.P.S. I started this thread reporting two issues, I just managed to fix the second one though, I had made a typo in my code which caused the trouble that I thought was down to the UIs