Hi everybody. I’m trying to get started in 2D simulation. I want to build some cool stuff in Go on my M1 mac. Sadly I fail to get the monitor started (seems to be related to some incompatibility with the ARM processor), so I thought I start by writing my own web based monitor (which would then also be able to run in a docker container).
I manage to get connection to rcssserver (v16) via UDP and get a lot of data. Sadly, I cannot find any documentation on what the communication contains. If I connect using (dispinit version 2)
(or even 1) I don’t get any data at all. With version 3 and 4, my UDP is flooded with stuff. First I get server params, then player params and then player types. Thats fine, I can work with that. But then I just get a lot of messages looking like this:
(show 6000 (pm 2) (tm Player null 0 0) ((b) 0 0 0 0) ((l 1) 0 0 -3 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((l 2) 0 0 -6 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((l 3) 0 0x1 -9 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((l 4) 0 0 -12 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((l 5) 0 0 -15 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((l 6) 0 0 -18 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((l 7) 0 0 -21 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((l 8) 0 0 -24 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((l 9) 0 0 -27 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((l 10) 0 0 -30 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((l 11) 0 0 -33 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((r 1) 0 0 3 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((r 2) 0 0 6 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((r 3) 0 0 9 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((r 4) 0 0 12 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((r 5) 0 0 15 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((r 6) 0 0 18 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((r 7) 0 0 21 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((r 8) 0 0 24 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((r 9) 0 0 27 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((r 10) 0 0 30 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)) ((r 11) 0 0 33 -37 0 0 0 0 (v h 90) (s 8000 1 1 130600) (c 0 0 0 0 0 0 0 0 0 0 0)))
I assume this is the current positions of the players with directions, velocities, and so on.
Is there any kind of documentation on what to expect here and what other things will be sent?
Thanks in advance!