Welcome to the MP3Car.com forums.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact us.
|
01-12-2007, 09:55 AM
|
#31
|
|
Laptop, Tablets, UMPC Moderator
Join Date: Oct 2004
Location: NY
Vehicle: 2002 pontiac montana
Posts: 5,912
|
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...
|
|
|
01-13-2007, 07:08 AM
|
#32
|
|
FLAC
Join Date: Feb 2006
Location: London, UK
Vehicle: BMW 850CSi
Posts: 1,279
|
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)
|
|
|
01-13-2007, 02:01 PM
|
#33
|
|
Variable Bitrate
Join Date: Apr 2005
Location: Southern Califorina
Vehicle: 1999 Ford Explorer
Posts: 226
|
Quote: Originally Posted by sama 
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. ;-)
|
|
|
01-13-2007, 02:07 PM
|
#34
|
|
Maximum Bitrate
Join Date: Jan 2007
Location: Fort Riley KS
Vehicle: 91 CRX Si
Posts: 500
|
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?
|
|
|
01-13-2007, 02:19 PM
|
#35
|
|
Variable Bitrate
Join Date: Apr 2005
Location: Southern Califorina
Vehicle: 1999 Ford Explorer
Posts: 226
|
Quote: Originally Posted by inh 
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. ;-)
|
|
|
01-13-2007, 02:20 PM
|
#36
|
|
FLAC
Join Date: Feb 2006
Location: London, UK
Vehicle: BMW 850CSi
Posts: 1,279
|
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?
|
|
|
01-13-2007, 02:30 PM
|
#37
|
|
Variable Bitrate
Join Date: Apr 2005
Location: Southern Califorina
Vehicle: 1999 Ford Explorer
Posts: 226
|
Quote: Originally Posted by sama 
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.
|
|
|
01-15-2007, 12:07 PM
|
#38
|
|
Variable Bitrate
Join Date: Apr 2005
Location: Southern Califorina
Vehicle: 1999 Ford Explorer
Posts: 226
|
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. ;-)
|
|
|
01-15-2007, 01:23 PM
|
#39
|
|
FLAC
Join Date: Feb 2006
Location: London, UK
Vehicle: BMW 850CSi
Posts: 1,279
|
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!
|
|
|
01-15-2007, 09:34 PM
|
#40
|
|
Raw Wave
Join Date: Jan 2002
Location: Temple Terrace, Fl.
Vehicle: '05 Shadow Mica Matrix XR
Posts: 2,604
|
Quote: Originally Posted by sama 
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.
__________________
/////Alpine PXA-H700
/////Alpine MRV-F345
Aura MR62 (F and R)
Sansa Clip
All wires by Knukonceptz.
My Current MP3s
IamDefiler.com
Still have tons of parts for sale!!! MB's, CPUs, Fans, etc. PM me and I will send a list.
|
|
|
01-15-2007, 09:43 PM
|
#41
|
|
Maximum Bitrate
Join Date: Jan 2007
Location: Fort Riley KS
Vehicle: 91 CRX Si
Posts: 500
|
ill let you guys know! i cant resist taking things apart, and mine arrives tomorrow 
|
|
|
01-16-2007, 02:25 AM
|
#42
|
|
FLAC
Join Date: Feb 2006
Location: London, UK
Vehicle: BMW 850CSi
Posts: 1,279
|
Excellent!
Defiler, you got yours already?
cherrybomb, I found libusb, which is a multiplatform usb library, there's also a windows implementation. It's all very early releases (still on version 0.1.xxx) but there's a high activity percentile on the project.
found another usb library for Java. It's called jUSB. An incomplete implementation lives here (win32) and the linux one lives here. I can't see info about Mac, but the project does have a high activity percentile too.
Last edited by sama : 01-16-2007 at 02:39 AM.
|
|
|
01-16-2007, 07:07 AM
|
#43
|
|
Raw Wave
Join Date: Jan 2002
Location: Temple Terrace, Fl.
Vehicle: '05 Shadow Mica Matrix XR
Posts: 2,604
|
Money is very tight ATM. I am trying to get other things taken care of before I journey back into the MP3car world. I have the puter, GPS receiver, Vista Ultimate, and an Alpine H700. I still need a pull out or motorized touch screen, amps, center channel, and sub. Oh and of course a Space Navigator PE.
All in due time...
__________________
/////Alpine PXA-H700
/////Alpine MRV-F345
Aura MR62 (F and R)
Sansa Clip
All wires by Knukonceptz.
My Current MP3s
IamDefiler.com
Still have tons of parts for sale!!! MB's, CPUs, Fans, etc. PM me and I will send a list.
|
|
|
01-16-2007, 03:20 PM
|
#44
|
|
Maximum Bitrate
Join Date: Jul 2004
Location: Sweden
Vehicle: 98' VW Passat
Posts: 761
|
Just ordered mine! Woha Im a nerd!
|
|
|
01-16-2007, 04:06 PM
|
#45
|
|
FLAC
Join Date: Feb 2006
Location: London, UK
Vehicle: BMW 850CSi
Posts: 1,279
|
amongst other nerds!
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:30 AM.
|
|