Page 4 of 42 FirstFirst 1234567891011121314 ... LastLast
Results 31 to 40 of 415

Thread: Space Navigator PE Driver Development Thread

  1. #31
    Super Moderator. If my typing sucks it's probably because I'm driving.... turbocad6's Avatar
    Join Date
    Oct 2004
    Location
    NY
    Posts
    6,234
    hehe, you like decoding someone elses stuff & I like cracking someone elses stuff open & modding it... it gets a bit hairy when were talking REALLY expensive electronics though....

    I'm sure it's better this way of course, glad you got it figured out...

    I've been to lazy to order mine yet, probably today if I get a chance later... can't wait to see this thing & see the install possibilities...

  2. #32
    FLAC sama's Avatar
    Join Date
    Feb 2006
    Location
    London, UK
    Posts
    1,375
    Now everything works exactly as it should. All motions and buttons are captured and reverse axis corrected etc.

    Here's the Java source code.
    SpaceNavigator class
    Visualizer class

    @cherrybomb
    Of most interest, are the decodeValues and shift methods in the SpaceNavigator class. I had to use a char in Java since that's an unsigned byte (bytes are from -127-128 and can't be unsigned... grrr)

  3. #33
    Variable Bitrate cherrybomb's Avatar
    Join Date
    Apr 2005
    Location
    Southern Califorina
    Posts
    233
    Quote Originally Posted by sama View Post
    Now everything works exactly as it should. All motions and buttons are captured and reverse axis corrected etc.

    Here's the Java source code.
    SpaceNavigator class
    Visualizer class

    @cherrybomb
    Of most interest, are the decodeValues and shift methods in the SpaceNavigator class. I had to use a char in Java since that's an unsigned byte (bytes are from -127-128 and can't be unsigned... grrr)
    Looks good. Thanks for your work on decoding this. Helps to have a lot of this worked out even without having the device in my possession. I hope I'll have mine late next week or early the week after (lousy slow shipping).

    Meanwhlie, I'll start working on some C++ code for this. I'm thinking the "driver" part will be the potentially multi platform part, and the configuration UI will probably be platform specific. I'd like to write the "driver" in C++, then write the supporting stuff in .NET or java since the coding will be a lot easier.

    Not sure what the consensus is around here about having the .NET framework on a CarPC though, unless you're running Centrafuse.

    First release will probably be something that just controls the mouse. ;-)
    '99 Ford Explorer Eddie Bauer
    CarPC Progress ~= 97%. Everything is installed, and operational. Still need to tweak and tune, and do some "finish" fabrication.
    CarPC Project Web Site

    SpaceNavigatorDriver SourceForge Project

    Check out my blog.

  4. #34
    inh
    inh is offline
    Maximum Bitrate
    Join Date
    Jan 2007
    Location
    Fort Riley KS
    Posts
    515
    mine will be here tuesday. I gotta stop ordering things the day before a long weekend... =[

    Glad you guys got all this stuff working though What all needs to be done to get the demo display app working with the device?

  5. #35
    Variable Bitrate cherrybomb's Avatar
    Join Date
    Apr 2005
    Location
    Southern Califorina
    Posts
    233
    Quote Originally Posted by inh View Post
    mine will be here tuesday. I gotta stop ordering things the day before a long weekend... =[

    Glad you guys got all this stuff working though What all needs to be done to get the demo display app working with the device?
    A little time for me to clean things up, and release something alpha. It wouldn't hurt for me to actually get my device to test my work. ;-)
    '99 Ford Explorer Eddie Bauer
    CarPC Progress ~= 97%. Everything is installed, and operational. Still need to tweak and tune, and do some "finish" fabrication.
    CarPC Project Web Site

    SpaceNavigatorDriver SourceForge Project

    Check out my blog.

  6. #36
    FLAC sama's Avatar
    Join Date
    Feb 2006
    Location
    London, UK
    Posts
    1,375
    I think if we can do this purely in C++ it would be a better suited solution, for the time being at least as it would be compact. I don't think (I hope!) the next part will be much work to be honest.

    How about this plan:

    I'll convert what I've done to C++ and build on it a little to:

    - ignore a certain amount of intial movement specified by a figure from an ini file (this is simply a range to intially ignore, but interestingly it would result in a 6-dimensional sphere-equivilant if all axis are considered at once!)

    - set in an ini file the mode of each axis (binary / pulsing), and assign an exe to launch when that axis motion is detected (Exec for roadrunner).

    By which time, you'll have your device and would have probably finished the HID bits.

    This will give us immediate practical use of the device with Roadrunner, and we can start to use it and see what's missing.

    Whaddaya say?

  7. #37
    Variable Bitrate cherrybomb's Avatar
    Join Date
    Apr 2005
    Location
    Southern Califorina
    Posts
    233
    Quote Originally Posted by sama View Post
    I think if we can do this purely in C++ it would be a better suited solution, for the time being at least as it would be compact. I don't think (I hope!) the next part will be much work to be honest.

    How about this plan:

    I'll convert what I've done to C++ and build on it a little to:

    - ignore a certain amount of intial movement specified by a figure from an ini file (this is simply a range to intially ignore, but interestingly it would result in a 6-dimensional sphere-equivilant if all axis are considered at once!)

    - set in an ini file the mode of each axis (binary / pulsing), and assign an exe to launch when that axis motion is detected (Exec for roadrunner).

    By which time, you'll have your device and would have probably finished the HID bits.

    This will give us immediate practical use of the device with Roadrunner, and we can start to use it and see what's missing.

    Whaddaya say?
    Sounds good. A little C++ class/app which gathers the HID input, and passes it on to be decoded should be pretty quick. I got some work to do on my truck this weekend, but this comming week, and next weekend I should have some time to work on it.
    '99 Ford Explorer Eddie Bauer
    CarPC Progress ~= 97%. Everything is installed, and operational. Still need to tweak and tune, and do some "finish" fabrication.
    CarPC Project Web Site

    SpaceNavigatorDriver SourceForge Project

    Check out my blog.

  8. #38
    Variable Bitrate cherrybomb's Avatar
    Join Date
    Apr 2005
    Location
    Southern Califorina
    Posts
    233
    Well, evidently the shipping estimates on Amazon stuff is not terribly accurate. I just got my SpaceNav about 1 week before I expected!

    Too excited now! About ready to plug it in and start working on some C++ classes. ;-)
    '99 Ford Explorer Eddie Bauer
    CarPC Progress ~= 97%. Everything is installed, and operational. Still need to tweak and tune, and do some "finish" fabrication.
    CarPC Project Web Site

    SpaceNavigatorDriver SourceForge Project

    Check out my blog.

  9. #39
    FLAC sama's Avatar
    Join Date
    Feb 2006
    Location
    London, UK
    Posts
    1,375
    wooha!

    hey turbocad... if you're still keeping up with this thread. When you get yours, let me know when you hack it all up and tell me how to change that damn blue LED to amber. I can't have blue things in my Bimma when everything is amber!

  10. #40
    Raw Wave Defiler's Avatar
    Join Date
    Jan 2002
    Location
    Temple Terrace, Fl.
    Posts
    2,647
    Quote Originally Posted by sama View Post
    wooha!

    hey turbocad... if you're still keeping up with this thread. When you get yours, let me know when you hack it all up and tell me how to change that damn blue LED to amber. I can't have blue things in my Bimma when everything is amber!
    Amen to that!!! I'm looking to change the colors to Orange myself.
    Aura MR62 (F and R)
    My Current MP3s
    IamDefiler.com

Similar Threads

  1. Questions!
    By Yellow-Snow in forum Mobile Impact
    Replies: 4
    Last Post: 06-10-2006, 05:18 PM
  2. iGuidance Font Size Fix summary thread
    By Viscouse in forum GPS
    Replies: 29
    Last Post: 03-28-2006, 06:21 PM
  3. Hot Chicks Thread - NOT WORK SAFE
    By ODYSSEY in forum Off Topic
    Replies: 1
    Last Post: 05-17-2005, 09:38 PM
  4. Replies: 3
    Last Post: 01-07-2004, 11:52 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •