felis / USB_Host_Shield_2.0

Revision 2.0 of USB Host Library for Arduino.
https://chome.nerpa.tech
1.8k stars 779 forks source link

3DConnexion with USB Host Shield 2.0 #19

Closed AdmiralOOM closed 11 years ago

AdmiralOOM commented 12 years ago

Hi, would it be possible to tweak the Logitech Extreme 3D to support 3DConnexion SpaceNavigator? ( http://www.3dconnexion.com/products/spacenavigator.html )

I'm planning on using it as a Vertical Take Off and Landing. So the controls would be something like this:

JoystickPullUp = More power JoystickPressDown = Less power JoystickTwistRight = Rotate Right JoystickTwistLeft = Rotate Left JoystickPushForward = Rotate Servo1+ JoystickPushBackwards = Rotate Servo1- JoystickPushRight = Rotate Servo2+ JoystickPushLeft = Rotate Servo2- Button1 = Change LCD UI Button2 = Hover (reset all Servos to 0)

There is a SDK file for 3DConnexion SpaceNavigator. But the file is on 124MB :p Seems a bit overkill for usability towards Arduino.

If you could compile a code, I could run some tests. As Im currently new to Arduino and Sparkfuns products, my programming skills are "under development" :D

AdmiralOOM commented 12 years ago

JoystickTwistRight = Rotate Servo3+ JoystickTwistLeft = Rotate Servo3- (These will be controlled by Servo3)

felis commented 12 years ago

This can be done. If you'd like me to write this code for you contact me off-list for rates/conditions.