Search found 4 matches

by aero_engineer
Thu Mar 26, 2009 8:47 am
Forum: Developer's Forum for UNIX and Linux
Topic: How to use SpaceExplorer as Flight Controls to fly aircraft
Replies: 7
Views: 97302

Another little tidbit of info to add:

My application wasn't terminating cleanly (I always had to do a CTRL-C to get my terminal back), then I realized that I needed to put in a sleep(0.1) right after my call to spnav_close in my termination logic. Not sure how/why this works, but it did.
by aero_engineer
Wed Feb 25, 2009 7:20 am
Forum: Developer's Forum for UNIX and Linux
Topic: How to use SpaceExplorer as Flight Controls to fly aircraft
Replies: 7
Views: 97302

Just wanted to provide an update: I've decided to go with a nice prepackaged solution provided by nuclear, it's been working great: - no annoying X11 window to deal with - simple inteface, once you learn how to use it properly (study the API as defined in the .h file) - unplug the USB plug, then plu...
by aero_engineer
Fri Feb 06, 2009 3:43 pm
Forum: Developer's Forum for UNIX and Linux
Topic: How to use SpaceExplorer as Flight Controls to fly aircraft
Replies: 7
Views: 97302

Thank you, pyalot, for your quick reply. Unfortunately, all your info will take a while for me to digest. I was hoping for something easier to understand (for a rookie). Is there any way I can get the source code for the application "xvalues"? Seems that that's exactly what I want (minus t...
by aero_engineer
Thu Feb 05, 2009 3:58 pm
Forum: Developer's Forum for UNIX and Linux
Topic: How to use SpaceExplorer as Flight Controls to fly aircraft
Replies: 7
Views: 97302

How to use SpaceExplorer as Flight Controls to fly aircraft

Hi, I would like some help in using the USB SpaceExplorer to fly my aircraft simulator running on RedHawk (RedHat) Linux. Ideally, I could find some example source code (C++) that has function calls that return the values of the 6dof SpaceExplorer cap, as well as the state of all the buttons. I woul...