Lead for transmitter

Installation and usage on Mac OS-X / Installation unter Mac OS-X
User avatar
Michael
Posts: 1825
Joined: 25 May 2008 16:11
Location: Germany
Contact:

Re: Lead for transmitter

Post by Michael »

Then please remove the file. in the directory controller.

And then start HELI-X again and try the calibration. If it does not work, please post the output of the console.

Thanks.

Michael
Tommy_G
Posts: 14
Joined: 15 Jan 2009 13:39
Contact:

Re: Lead for transmitter

Post by Tommy_G »

Hi Michael,
I have done as you asked and I made a little video so you can see exactly what is happening. I hope its helpful.
Watch the video here:
http://screencast.com/t/LIswwaxU1w

Please also find the console read out:-
===== Saturday, 17 January 2009 16:39:42 Europe/London =====
Set new path for the resources: /Users/Tom/Library/Heli-X/resources/
Set new path for the user files: /Users/Tom/Library/Heli-X/files/
Using openGLLayer JOGL_AWT
Found 30 display modes
Controller found: Name: RC-Joystick(RC-Joystick)
Using Stick RC-Joystick
Analog component found:x
Analog component found:y
Analog component found:rz
Analog component found:z
Analog component found:rx
Analog component found:slider
Digital component found:0
Digital component found:1
Digital component found:2
Digital component found:3
Digital component found:4
Digital component found:5
Controller configuration file not found: /Users/Tom/Library/Heli-X/files/controller/RC-Joystick.xml
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at a.a.a.d.c.q.a(Unknown Source)
at a.a.a.d.c.e.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5583)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5348)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4050)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3885)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3885)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180)
at java.awt.Dialog$1.run(Dialog.java:535)
at java.awt.Dialog$2.run(Dialog.java:565)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:563)
at java.awt.Component.show(Component.java:1302)
at java.awt.Component.setVisible(Component.java:1255)
at a.a.a.d.c.e.a(Unknown Source)
at a.a.a.d.c.e.<init>(Unknown Source)
at a.a.a.d.c.q.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5583)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5348)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4050)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3885)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3885)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at a.a.a.d.c.q.a(Unknown Source)
at a.a.a.d.c.e.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5583)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5348)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4050)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3885)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3885)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180)
at java.awt.Dialog$1.run(Dialog.java:535)
at java.awt.Dialog$2.run(Dialog.java:565)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:563)
at java.awt.Component.show(Component.java:1302)
at java.awt.Component.setVisible(Component.java:1255)
at a.a.a.d.c.e.a(Unknown Source)
at a.a.a.d.c.e.<init>(Unknown Source)
at a.a.a.d.c.q.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5583)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5348)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4050)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3885)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3885)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Controller configuration file found: /Users/Tom/Library/Heli-X/files/controller/RC-Joystick.xml
Controller configuration file /Users/Tom/Library/Heli-X/files/controller/RC-Joystick.xml read
Walkera 4 3b
User avatar
Michael
Posts: 1825
Joined: 25 May 2008 16:11
Location: Germany
Contact:

Re: Lead for transmitter

Post by Michael »

Ok, it was only a try. It looks as if HELI-X also does not get any signals from the controller, as the joystick tool of Mac-OS tells us. Thus, the problem has to be solved within Mac-OS. On Linux, there are sometimes problems with permissions in the /dev directory. I am not sure, if this is a direction we could try...

Michael
User avatar
Joerg
Posts: 169
Joined: 25 May 2008 18:51
Location: ungefähr Karlsruhe
Contact:

Re: Lead for transmitter

Post by Joerg »

Nope, that does not lead anywhere under Mac OS X. Are there any relevant syslog entries if you fire up the Console utility?
Heli-X unter Mac OS X 10.5 auf einem 20" iMac
in echt: Thunder Tiger Mini Titan E325 + Gaui EP100
Tommy_G
Posts: 14
Joined: 15 Jan 2009 13:39
Contact:

Re: Lead for transmitter

Post by Tommy_G »

Hi Guys,

I remember reading something about macs not powering the ports properly on low signal USB's! So i thought i would try and fool the mac into powering it up. I removed the cover from the interface, and patched it so that it powered up. IT WORKED. The mac instantly began powering it by itself and now everything works fine. I must say very nice simulator, the physics are awesome and i love it. I just have to put it to the electronics boys now to see if they can help me mod my interface.=] Unless like Michael suggested there is away to make the change via software???

Thanks once again, you can expect my registration any day soon. Cant wait to start flying. Thank you very much for all your support it has been absolutely amazing.

Tom
Walkera 4 3b
User avatar
Joerg
Posts: 169
Joined: 25 May 2008 18:51
Location: ungefähr Karlsruhe
Contact:

Re: Lead for transmitter

Post by Joerg »

Wow - how did you patch the interface? In that case, the opposite of what I suggested might work: try a powered USB hub. If that one detects the device correctly and provides power, that might save you from modding the interface...
Heli-X unter Mac OS X 10.5 auf einem 20" iMac
in echt: Thunder Tiger Mini Titan E325 + Gaui EP100
Tommy_G
Posts: 14
Joined: 15 Jan 2009 13:39
Contact:

Re: Lead for transmitter

Post by Tommy_G »

lol well, i knew that the usb ports of the mac were protected from current over run, etc. So with it plugged in I just tried connecting different combinations of components. The only thing i could fry was my interface, and its only low current. I know I probably shouldn't have done it but hey, at least I know I can get it to work. =] Powered USB hub time I think, will have to order one though as I don't have on to hand lol. I will let you know how it goes though =]

I see the 32bit version is on the homepage, OH YEAH! Exciting stuff.

Tom
Walkera 4 3b
brandon8me
Posts: 3
Joined: 16 Jan 2009 09:49

Re: Lead for transmitter

Post by brandon8me »

Tommy, can you explain a little more about how you fixed your interface?

I tried mine on a PC (win 98) and although it recognized the cable as a HID
interface, it didn't respond to any transmitter interactions either, so I'm thinking
the problem is in the interface too...

Thanks!
-brandon
Tommy_G
Posts: 14
Joined: 15 Jan 2009 13:39
Contact:

Re: Lead for transmitter

Post by Tommy_G »

Hello there,

I have not fixed it....yet! What i did was open my interface carefully to reveal the electronics! and the patched the direct USB live into the chip on the PCB. Which just basically hot wired it. I only did this just to verify that it was an interface problem. I don't advise it because you could start a fire or short your computer.

What transmitter do you have?? and which interface?? have you tried using PPjoy??? Its an excellent little program that converts the transmitter to a joystick effectively. you can find it here http://ppjoy.bossstation.dnsalias.org/

I would certainly advise trying the software possibilites first! =]

Hope this helps,
Tom
Walkera 4 3b
brandon8me
Posts: 3
Joined: 16 Jan 2009 09:49

Re: Lead for transmitter

Post by brandon8me »

I got it to work! It turned out to just be the cable connection at the transmitter end.
It doesn't seat very well, I had to fiddle with it quite a bit and I suddenly noticed the
values started changing. I'm using an interface cable from GWS that I got at epyaya.com.
I think I'll look for one that uses a better quality connector though.

I tried connecting with a powered hub and directly to my imac, both seem to work fine
for me once the plug on the tx was making contact properly.

I'm using a Futaba 10CHP with it set to PPM mode. It seems to work fine
with and without the 2.4Ghz tx module installed.

Thanks for everyones help,
-brandon
Post Reply