mohankreddy / javadrone

Automatically exported from code.google.com/p/javadrone
0 stars 0 forks source link

default controls #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In RC helicopters usually controlls are mapped differently from ControlTower. 
I suggest we adjust them to match RC helis:

Left joystick:

UP/Down - throttle
Left/Right - yaw

Right joystick:
Left/Righ - roll
Up/Donw - pitch

It is very close to what we have now, except left and right joysticks are 
reversed.

Original issue reported on code.google.com by kroko...@gmail.com on 5 Jun 2011 at 1:51

GoogleCodeExporter commented 9 years ago
Before I do that I would like to add swapping the sticks to the configuration. 
For me this setup would be totally counter-intuitive.

Original comment by normen667 on 5 Jun 2011 at 9:00

GoogleCodeExporter commented 9 years ago
I thought you probably already used to current setup, so decided to open this 
ticket instead of just changing code.

R/C flyers usually use radio like this:

http://www.spektrumrc.com/Products/Default.aspx?ProdId=SPM6610

Another example of software using this mapping:

http://www.realflight.com/

The mapping makes sense to me. throttle/yaw are used not as often as 
roll/pitch. Since most people are right-handed they can use more dexterous 
right hand to do fine roll/pitch control. It still makes sense to do checkbox 
to swap joysticks for left-handed people or people who just prefer to fly this 
way.

Anyway, could you please add a checkbox in controls UI dialog to reverse 
controls? I can do the rest of the changes. I do not have NetBeans to do UI 
stuff. Thanks!

Original comment by kroko...@gmail.com on 5 Jun 2011 at 4:29

GoogleCodeExporter commented 9 years ago
The current setup resembles the typical setup of console games so I guess its 
more natural to people who use this as an AR system. It also resembles the 
default mapping of the drone applications.

Original comment by normen667 on 6 Jun 2011 at 2:14

GoogleCodeExporter commented 9 years ago
..meaning I really think the current setup should be the default

Original comment by normen667 on 6 Jun 2011 at 2:16

GoogleCodeExporter commented 9 years ago
I really need this option. Could you please help me by adding this? I have 
started to fly another RC helicopter and having two helicopters with different 
controls makes it very difficult for me. I do not have NetBeans to make UI 
changes myself.

Original comment by kroko...@gmail.com on 9 Jun 2011 at 12:51

GoogleCodeExporter commented 9 years ago
You can easily change the code in ControlTower.java to swap the axes, no UI 
code needed. I also have my local version changed because of the 4:3 image 
format.

Original comment by normen667 on 9 Jun 2011 at 8:43

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 5523031e9cf5.

Original comment by normen667 on 9 Jun 2011 at 3:35