Nice work guys. Has anyone used jinsim with outgauge?
I played around with a bit today. I was wondering what kind of performance you guys were seeing.
Running the Speedometer example with a replay I'm frequently seeing a delay of ~1 second or more. It's especially noticeable in higher power cars like the GTR's that can stop on the dime.
The specs of my system are:
AMD Athlon 3400+
6800GT
1GB memory
Java 6u3
FPS: ~90
I tried running a different setup:
* LFS on the AMD machine above
* Speedo example on a lan machine
- 1.86ghz Pentium M laptop
- 2GB memory
- onboard video (gets 6-10fps running LFS)
- Java 6u3
I got roughly the same performance. For my final test, I created my own test class using active rendering and it seemed to improve a bit but there was still a noticeable delay. So I guess I was wondering... is anyone is using JInsim for realtime stuff with outgauge and having good results? Perhaps I just need to upgrade my h/w
Also, besides the performance issues, I noticed the outgauge response would often contain bad speed values. For example, the speed should be 60mph but getSpeed() returns 7.56005E-39. This happens once every few seconds causing the speedometer needle to flicker to ~0mph. To prevent this I just ignore any speed updates greater than 0 and less than 1. The needle rotation also jumps past the 270 degrees even though it shouldn't be anywhere near that value. I'm not sure if this is a bug in JInsim or LFS's outgauge.
I should point out that I've done all my tests with multiplayer replays. I'm not sure if that causes any issues.