magmaOffenburg / RoboViz

Monitor and visualization tool for the RoboCup 3D Soccer Simulation League
Apache License 2.0
50 stars 17 forks source link

MacOS - Unable to select and beam players #131

Open abuzar-rasool opened 1 year ago

abuzar-rasool commented 1 year ago

I am unable to select player or ball in RoboViz. I have tried following things.

In all modes i have done the following things to make it work without any success. Ctrl + (left mouse click on player) Niether does it selcts the ball.

I was able to select ball by pressing "0". However the ball doesn't beams to the position clicked after selecting. It beams to some other position.

I am using version RoboViz 1.8.2. Mac OS : Montery 12.6

hannesbraun commented 1 year ago

I guess you're using your built-in Retina-Display? If so, this is a known problem. Your clicks are being registered at half the coordinates within the window where they should occur. The closer you click towards the left upper edge of the window, the closer the position will match.

If you have a second non-HiDPI display, you can move RoboViz to that screen and your mouse should be registered at the correct position. If not, I don't know about a solution right now. If I'm not mistaken, this is an issue arising from JOGL. Unluckily, JOGL does not seem to be maintained at the moment. With that in mind, I can't tell you when or if this issue is going to be solved. Sorry. I hope this helps you at least to understand the problem.

If someone has a possible solution, though, feel free to post it here.