RotorSim - An RC Helicopter Simulator

I have finally got my RC-Heli simulator to the point where it is playable. Check it out http://www.angryoctopus.co.nz. You will need a windows-recognized joystick with at least 4 analog axis to be able to play it. Also the default mapping is more than likely completely wrong so make sure you go to controller setup first. There is also the beginnings of a sopwith remake their as well (controls up, down, left, right, ctrl, space) but it has a bug I still have to fix that makes it die on launch with most graphics cards.

“windows-recognized”? Why? Do you use JInput?

Yes, I use JInput. A lot of RC Simulators support a PPM signal from a transmitter via the soundcard or parallel port interrupt line (which mine doesn’t).

It occurs to me no one actually responds to these things unless you post a screenshot and a jnlp link so:
http://www.angryoctopus.co.nz/rotorsim/rotorsim.jnlp

http://www.angryoctopus.co.nz/rotorsim/screen_3.jpeg

well, i do not have a joystick so it was a little tricky to control but it was smooth and looks good :slight_smile:

Yup that sure helps. But requesting a joystick with 4 analog axes is a bit steep. Didn’t even know you could get more than 3. Anyway, tried to config it with kbd, but could only set one direction for each axis, so a bit hard when you can only tilt right and not left. Not sure what I did wrong.

When I say 4 analog axis, I mean of course 2 analog sticks * 2 axis each. All the sidewinder series joysticks have 4 axis (throttle + rudder + main stick) as well as all the
console controllers from the previous generation and this generation (except the wii) have 2 analog sticks. XBox 360 controllers should do nicely.

The controller setup is a little confusing at the moment but hopefully something I will remedy in the next release.

Ubuntu 7.10 Java 1.6.0_03 Firefox 2.0.0.11

Can’t start it:

java.lang.ArrayIndexOutOfBoundsException: 0
at rotorsim.main.RotorSim.loadController(Unknown Source)
at rotorsim.main.RotorSim.(Unknown Source)
at rotorsim.main.RotorSim.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1272)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1218)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1065)
at com.sun.javaws.Launcher.run(Launcher.java:105)
at java.lang.Thread.run(Thread.java:619)

I received BadClassVersionNumber . Seems to be a .jar integrity check failure. You may try clean targets and build again because the cache saved an old .class, obviously.

swpalmer - it appears you don’t have any Joysticks that JInput recognizes. It is really not worth trying to add support mouse/keyboard controls given how difficult it would be to fly.

broumbroum - JNLP seams to have some random caching issues, whenever I update the game I have people having problems running it until they clear their browser
cache. I frankly don’t see how this would affect things because the only thing the browser could be caching is the jnlp file which hasn’t changed. Doesn’t webstart check for
jar changes every time it is run?

I’m talking about your JAR broken, not the jnlp.

I realize that but I have had error messages for jar files that didn’t really make sense that went away after clearing the browser cache. Do you know which class/jar file in particular is causing the problem?

Hi,

The screenshot looks great but the program just displayed a window without any graphics, ony menu items.

Odd… sounds like the AWT thread stalled or threw an exception. Are you graphics card drivers up to date and do you have joystick?