The MP3car.com Store  

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.

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

Reply
 
Thread Tools Display Modes
Old 01-12-2007, 09:55 AM   #31
Laptop, Tablets, UMPC Moderator
turbocad6's CarPC Specs
 
turbocad6's Avatar
 
Join Date: Oct 2004
Location: NY
Vehicle: 2002 pontiac montana
Posts: 5,912
My Photos: (64)
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...
__________________
MY NEWEST INSTALL:modded infiniti fx with big screen - "If my typing sucks it's probably because I'm driving....................."

first windows carpc install........my liquid cooled LVDS screen :D
turbocad6 is offline   Reply With Quote
Sponsored Links
Old 01-13-2007, 07:08 AM   #32
FLAC
sama's CarPC Specs
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Vehicle: BMW 850CSi
Posts: 1,279
My Photos: (0)
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, 02:01 PM   #33
Variable Bitrate
cherrybomb's CarPC Specs
 
cherrybomb's Avatar
 
Join Date: Apr 2005
Location: Southern Califorina
Vehicle: 1999 Ford Explorer
Posts: 226
My Photos: (0)
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, 02:07 PM   #34
inh
Maximum Bitrate
 
Join Date: Jan 2007
Location: Fort Riley KS
Vehicle: 91 CRX Si
Posts: 500
My Photos: (0)
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, 02:19 PM   #35
Variable Bitrate
cherrybomb's CarPC Specs
 
cherrybomb's Avatar
 
Join Date: Apr 2005
Location: Southern Califorina
Vehicle: 1999 Ford Explorer
Posts: 226
My Photos: (0)
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, 02:20 PM   #36
FLAC
sama's CarPC Specs
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Vehicle: BMW 850CSi
Posts: 1,279
My Photos: (0)
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, 02:30 PM   #37
Variable Bitrate
cherrybomb's CarPC Specs
 
cherrybomb's Avatar
 
Join Date: Apr 2005
Location: Southern Califorina
Vehicle: 1999 Ford Explorer
Posts: 226
My Photos: (0)
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, 12:07 PM   #38
Variable Bitrate
cherrybomb's CarPC Specs
 
cherrybomb's Avatar
 
Join Date: Apr 2005
Location: Southern Califorina
Vehicle: 1999 Ford Explorer
Posts: 226
My Photos: (0)
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
Old 01-15-2007, 01:23 PM   #39
FLAC
sama's CarPC Specs
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Vehicle: BMW 850CSi
Posts: 1,279
My Photos: (0)
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, 09:34 PM   #40
Raw Wave
Defiler's CarPC Specs
 
Defiler's Avatar
 
Join Date: Jan 2002
Location: Temple Terrace, Fl.
Vehicle: '05 Shadow Mica Matrix XR
Posts: 2,604
My Photos: (1)
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.
__________________
/////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.
Defiler is offline   Reply With Quote
Sponsored Links
Old 01-15-2007, 09:43 PM   #41
inh
Maximum Bitrate
 
Join Date: Jan 2007
Location: Fort Riley KS
Vehicle: 91 CRX Si
Posts: 500
My Photos: (0)
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, 02:25 AM   #42
FLAC
sama's CarPC Specs
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Vehicle: BMW 850CSi
Posts: 1,279
My Photos: (0)
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 02:39 AM.
sama is offline   Reply With Quote
Old 01-16-2007, 07:07 AM   #43
Raw Wave
Defiler's CarPC Specs
 
Defiler's Avatar
 
Join Date: Jan 2002
Location: Temple Terrace, Fl.
Vehicle: '05 Shadow Mica Matrix XR
Posts: 2,604
My Photos: (1)
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.
Defiler is offline   Reply With Quote
Old 01-16-2007, 03:20 PM   #44
Maximum Bitrate
Maņana's CarPC Specs
 
Maņana's Avatar
 
Join Date: Jul 2004
Location: Sweden
Vehicle: 98' VW Passat
Posts: 761
My Photos: (0)
Just ordered mine! Woha Im a nerd!
__________________
My carputer

Old one
Maņana is offline   Reply With Quote
Old 01-16-2007, 04:06 PM   #45
FLAC
sama's CarPC Specs
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Vehicle: BMW 850CSi
Posts: 1,279
My Photos: (0)
amongst other nerds!
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC
sama is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

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


All times are GMT -5. The time now is 07:30 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics