Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development


Reply
 
Share Thread Tools Display Modes
Old 01-12-2007, 10:55 AM   #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,102
turbocad6 is a splendid one to beholdturbocad6 is a splendid one to beholdturbocad6 is a splendid one to beholdturbocad6 is a splendid one to beholdturbocad6 is a splendid one to beholdturbocad6 is a splendid one to beholdturbocad6 is a splendid one to beholdturbocad6 is a splendid one to behold
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...
turbocad6 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 01-13-2007, 08:08 AM   #32
FLAC
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Posts: 1,280
sama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud of
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)
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC
sama is offline   Reply With Quote
Old 01-13-2007, 03:01 PM   #33
Variable Bitrate
 
cherrybomb's Avatar
 
Join Date: Apr 2005
Location: Southern Califorina
Posts: 233
cherrybomb is on a distinguished road
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.
cherrybomb is offline   Reply With Quote
Old 01-13-2007, 03:07 PM   #34
inh
Maximum Bitrate
 
Join Date: Jan 2007
Location: Fort Riley KS
Posts: 515
inh is an unknown quantity at this point
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?
inh is offline   Reply With Quote
Old 01-13-2007, 03:19 PM   #35
Variable Bitrate
 
cherrybomb's Avatar
 
Join Date: Apr 2005
Location: Southern Califorina
Posts: 233
cherrybomb is on a distinguished road
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.
cherrybomb is offline   Reply With Quote
Old 01-13-2007, 03:20 PM   #36
FLAC
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Posts: 1,280
sama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud of
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?
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC
sama is offline   Reply With Quote
Old 01-13-2007, 03:30 PM   #37
Variable Bitrate
 
cherrybomb's Avatar
 
Join Date: Apr 2005
Location: Southern Califorina
Posts: 233
cherrybomb is on a distinguished road
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.
cherrybomb is offline   Reply With Quote
Old 01-15-2007, 01:07 PM   #38
Variable Bitrate
 
cherrybomb's Avatar
 
Join Date: Apr 2005
Location: Southern Califorina
Posts: 233
cherrybomb is on a distinguished road
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.
cherrybomb is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 01-15-2007, 02:23 PM   #39
FLAC
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Posts: 1,280
sama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud of
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!
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC
sama is offline   Reply With Quote
Old 01-15-2007, 10:34 PM   #40
Raw Wave
 
Defiler's Avatar
 
Join Date: Jan 2002
Location: Temple Terrace, Fl.
Posts: 2,641
Defiler is on a distinguished road
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.
Defiler is offline   Reply With Quote
Old 01-15-2007, 10:43 PM   #41
inh
Maximum Bitrate
 
Join Date: Jan 2007
Location: Fort Riley KS
Posts: 515
inh is an unknown quantity at this point
ill let you guys know! i cant resist taking things apart, and mine arrives tomorrow
inh is offline   Reply With Quote
Old 01-16-2007, 03:25 AM   #42
FLAC
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Posts: 1,280
sama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud of
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.
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC

Last edited by sama; 01-16-2007 at 03:39 AM.
sama is offline   Reply With Quote
Old 01-16-2007, 08:07 AM   #43
Raw Wave
 
Defiler's Avatar
 
Join Date: Jan 2002
Location: Temple Terrace, Fl.
Posts: 2,641
Defiler is on a distinguished road
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...
Defiler is offline   Reply With Quote
Old 01-16-2007, 04:20 PM   #44
Maximum Bitrate
 
Maņana's Avatar
 
Join Date: Jul 2004
Location: Sweden
Posts: 761
Maņana is on a distinguished road
Just ordered mine! Woha Im a nerd!
__________________
My carputer

Old one
Maņana is offline   Reply With Quote
Old 01-16-2007, 05:06 PM   #45
FLAC
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Posts: 1,280
sama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud of
amongst other nerds!
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC
sama is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions! Yellow-Snow Mobile Impact 4 06-10-2006 06:18 PM
iGuidance Font Size Fix summary thread Viscouse GPS 29 03-28-2006 07:21 PM
Hot Chicks Thread - NOT WORK SAFE ODYSSEY Off Topic 1 05-17-2005 10:38 PM
Request regarding the Offical Skin Presentation thread Confused MediaCar 3 01-07-2004 12:52 PM



All times are GMT -5. The time now is 06:53 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics