Main > Driving & Racing Cabinets

Sega Monaco GP 1979/1980 - My Remake

<< < (120/127) > >>

geecab:
Excellent stuff GPForverer2024!

Its sounds like your revcounter reads a little higher that it should, but that's fine. We'll just reduce the scoreboard_to_revcounter's rpm_range value to compensate.

So can you now do the following,  switch your revcounter to 8-cylinder, then run this:

    scoreboard_to_revcounter.exe 10 demo 8 8000 250

An MGPr instance doesn't need to be running when using the 'demo' command. When you run the above you'll see the needle climb to 8000RPM in 2000RPM steps (rpm_range/4), then afterwards the needle will climb 8000RPM in smaller 250RPM (rpm_range/32) steps. You can see this 'demo' running at the start of my video I posted a while back. As we expect, your revcounter's needle will point to a value a bit higher than it should each time. So you should experiment lowering the rpm_range setting from 8000 to say 7800 (i.e. scoreboard_to_revcounter.exe 10 demo 8 7800 250) to compensate, until the needle lines up with markings on your revcounter gauge. If things appear to line up when specifying a range of 7800, then that's the range your want to specify when you are running MGPr. I.e.:

    scoreboard_to_revcounter.exe 10 game 8 7800 250

Make sense? I'm probably over complicating this lol!


Regarding what you said about the needle sticking/jerking around 5000RPM, do you still see this when running the demo?


>>For your information, I also noticed that the needle drops too quickly.

Have another look at my video and compare the speed of my revcounter needle when I crash, or change from Lo to Hi gear. Are we saying that your revcounter needle drops faster than mine at those moments? If so, I have a new version of scoreboard_to_revcounter and arduino_rev_sim.ino that I think will sort this.

:)

geecab:
Hi GPForverer2024!

Following on from my last post, I've put together debug version v1.5.1D6.

****EDIT: This version is now obsolete, please see initial post (on page 1) for download links to the latest version****
 
This debug version has the following modifications:

 - arduino_rev_sim.ino has new DAMPING setting (The default value is 75%. Increase this value if your revcounter needle is moving too fast).
 - arduino_rev_sim.ino now considers CPU speed of the Arduino board type when producing pulses.


If you want to change the DAMPING value, you have to edit the value in arduino_rev_sim.ino, then upload it to your Arduino.
I've had to modify scoreboard_to_revcounter.exe too to get the damping working, so you'll need to be sure your scoreboard_to_revcounter.exe and arduino_rev_sim.ino you are using are both from this new package.

Hope this helps!

:)

GPForverer2024:
Hi Geecab!

First, I changed the rpm value to 7800 to get the needle as close as possible to the number on the speedometer.

Then I increased the damping to 85% in the Arduino-rev.sim.ino file and uploaded it.

The needle speed is now much better and similar to yours, according to your video.

And yes, after 5 rpm, the needle goes up, then down 3 bars, then back up again.

For your information, I sent you a private message.

Thanks Geecab.

 :)

geecab:
Hi GPForverer2024!

Thanks for the PM, I see what you mean regarding the jerky needle from 5000RPM and upwards. I sent you a PM in response with a few other tests to try.

I just decided to take a closer look at the needle on my revcounter when I ran the demo, and I do see the same jerkyness but not as obvious as it is with yours.

So I decided to change my Arduino code to output a square wave instead of pulses, and afterwards I noticed my revcounter needle is completely stable. So I'm hoping this will also improve the situation for you.

The new version of arduino_rev_sim.ino can be downloaded HERE.

Hope it helps!

:)
 

GPForverer2024:
Hi Geecab!

I ran several tests at your request, and I can tell you,
thanks to your latest modified Arduino _rev_sim.ino file, it's practically perfect. Wow!!!

 I had to increase the damping in your file to 95 because in first gear, the needle was rising too fast compared to the graphical rev counter.

Here's my command line:

 scoreboard_to_revcounter.exe 10 game 8 8300 0

 I increased the RPM to 8300 because in second gear, it was lagging behind the graphical rev counter, and what's more, it didn't reach 8 RPM at full throttle.

This is a top modification!

Great work, Geecab.  :applaud:

 I just noticed a small, not too serious detail, but the needle has trouble at low revs.

Let me explain: if I accelerate and slow down, the needle stops at 1 rpm, which is normal.

However, if I have an accident with the car, the needle should drop to 0 rpm, and then it stops for about 1 second at 0.5 rpm, then 0 rpm, when it should drop directly to 0 rpm.

I hope this helps you with this small detail, otherwise, really great work, once again, Geecab!

I really admire the work done, well done Geecab. :applaud: :applaud:

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version