Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > MacCar > AMP


Reply
 
Share Thread Tools Display Modes
Old 09-24-2006, 09:28 PM   #631
AMP Creator
 
aychamo's Avatar
 
Join Date: Jun 2006
Posts: 454
aychamo is on a distinguished road
Hey.. Really good links, thank you
__________________
-
aychamo is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 09-24-2006, 10:21 PM   #632
Newbie
 
Join Date: May 2005
Posts: 36
ckgreenman is on a distinguished road
No problem. Hope they can help.
ckgreenman is offline   Reply With Quote
Old 09-24-2006, 11:03 PM   #633
Constant Bitrate
 
Sharkbite86's Avatar
 
Join Date: Apr 2006
Location: California
Posts: 191
Sharkbite86 is on a distinguished road
Quote: Originally Posted by ckgreenman View Post
I personally like Roadnav. I used it about a year ago (version 0.09something) to drive from California to North Carolina. It had a hard time handling such a big route then (I haven't tried it lately) but that was a while ago. The biggest problem is the lack of coverage (US Only) but according to the latest news there should soon be support for OpenStreetMap.

The current version is 0.15 . I used it for a bit just for testing and I liked it a lot too, but the route planning is a bit weird. So like if you planned a trip using roadnav it will do the shortest in milege, but it might go through all kinds of residential zones or whatever when you really want to just take the highway. does that kinda make sense? Anyway if the guy prioritized highway/bigger road travel or something it would rock lol.
__________________
MacCar progress:
Planning:-----> [||||||||||||||||||||] 70%
Parts:---------> [||||||||||||||||||||] 0%
Construction:-> [||||||||||||||||||||] 0%

Car broken into... progress is basically zip...
Sharkbite86 is offline   Reply With Quote
Old 09-25-2006, 12:20 AM   #634
AMP Creator
 
aychamo's Avatar
 
Join Date: Jun 2006
Posts: 454
aychamo is on a distinguished road
Quote: Originally Posted by ckgreenman View Post
I think the answer to your question is that it depends on where you are. For example, at the equator (0 degrees Latitude) 1 degree of longitude is about 69 miles while at a latitude of 45 degrees (north or south), 1 degree of longitude is about 49 miles.

Hey man! I wanted to give it a quick shot before I went to bed. One of those links you gave me, it had JavaScript code for doing the conversions. So I just converted one of those to C, and ran a few tests and it seems to work great! Google Earth threw me for a loop for a while, since I'm not that familiar with this stuff yet. GE gives you a latitude of like 37.182432. I had to figure out that means 37 degrees, 18 minutes, 24.32 seconds. So then you just do the math to convert that into actual degrees (37/1 + 18/60 + 24.32/3600). That's the number the formula wants. Then at the end convert it to radians, and the formula gives you the distance in KM (which you can then convert to miles, etc..).. It works really nice..

So in the GPS program, for turns, I would just check if you are within like a half mile of the next way point (using that formula), and if so, display the turn message! Pretty cool!
__________________
-

Last edited by aychamo; 09-25-2006 at 01:33 AM..
aychamo is offline   Reply With Quote
Old 09-25-2006, 12:24 AM   #635
Variable Bitrate
 
Join Date: Feb 2006
Posts: 263
LightningMac is on a distinguished road
once step closer !!!!
LightningMac is offline   Reply With Quote
Old 09-25-2006, 12:52 AM   #636
Constant Bitrate
 
Join Date: Jun 2006
Posts: 126
JakobMetzger is on a distinguished road
aychamo is a genius, he should get some kind of apple developer award or something
JakobMetzger is offline   Reply With Quote
Old 09-25-2006, 02:02 AM   #637
Constant Bitrate
 
Sharkbite86's Avatar
 
Join Date: Apr 2006
Location: California
Posts: 191
Sharkbite86 is on a distinguished road
Quote: Originally Posted by JakobMetzger View Post
aychamo is a genius, he should get some kind of apple developer award or something

lmao, I'll second that !
__________________
MacCar progress:
Planning:-----> [||||||||||||||||||||] 70%
Parts:---------> [||||||||||||||||||||] 0%
Construction:-> [||||||||||||||||||||] 0%

Car broken into... progress is basically zip...
Sharkbite86 is offline   Reply With Quote
Old 09-25-2006, 02:12 AM   #638
Constant Bitrate
 
Sharkbite86's Avatar
 
Join Date: Apr 2006
Location: California
Posts: 191
Sharkbite86 is on a distinguished road
hmm, well concerning the fact that GE cannot re-calculate directions if you make a wrong turn: what if you made a program/script/code that would detect if you passed the turn (using the same thing your using for detecting wether the vehicle is close to a turn)? Then, if you passed the waypoint AMP would tell GE to recalculate directions to the same location from your current lat/long. I have no idea if that is even possible because of what you were saying about GE not being very programable from the outside. Then there is the issue with not having an internet connection. Plus it's vague and completely unhelpful as to how to do it lol. Anyway, just tossing it out into the wind.....
__________________
MacCar progress:
Planning:-----> [||||||||||||||||||||] 70%
Parts:---------> [||||||||||||||||||||] 0%
Construction:-> [||||||||||||||||||||] 0%

Car broken into... progress is basically zip...
Sharkbite86 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 09-25-2006, 08:38 AM   #639
Admin. Don't bug or I'll byte.
 
Bugbyte's Avatar
 
Join Date: Sep 2004
Location: Corning, NY
Posts: 6,099
Bugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to behold
It might be possible if you had a net connection, but I don't think it will recalc without being connected.
__________________
Want to:
-Find out about the iBug?
-Stop being a newbie? Take a look at the FAQ Emporium?
-Find out about carPC's in just 5 minutes? View the Car PC 101 video
-Help me kill my car PC
-Watch live video streams from my mobile PC? Check it out here.
-Where is the iBug?
Bugbyte is online now   Reply With Quote
Old 09-26-2006, 02:51 PM   #640
Newbie
 
Join Date: Sep 2006
Posts: 14
catronro is an unknown quantity at this point
This is a repeat of whats in the wishlist but i thought this thread might be a more fitting place......

If anyone is interesting in picking up the apple remote integration. Here is some Cocoa code and example program to get you started.

http://www.martinkahr.com/source-code/

Its like the 2nd or 3rd section down on his blog titled "Apple Remote Controller Wrapper Class"
catronro is offline   Reply With Quote
Old 09-28-2006, 10:07 AM   #641
Newbie
 
Join Date: Sep 2006
Posts: 7
ConfusedAmused is an unknown quantity at this point
Hot damn, this thing looks awesome. It'll be awhile before I buy a car that I could install it into, but I would love to get involved in this project. I'm no coder, but I do web and graphic design so I could help with the interface if there's any interest in that.
ConfusedAmused is offline   Reply With Quote
Old 09-30-2006, 10:52 PM   #642
Newbie
 
Join Date: May 2005
Posts: 36
ckgreenman is on a distinguished road
Quote: Originally Posted by aychamo View Post
Hey man! I wanted to give it a quick shot before I went to bed. One of those links you gave me, it had JavaScript code for doing the conversions. So I just converted one of those to C, and ran a few tests and it seems to work great!

Awesome. Glad those were useful. It sounds like you're having to do a lot of conversions though. It should be possible to change the formula so that you don't ave to do as many conversions (like km to miles, decimal degrees to DMS etc.) One thing you might look at (for a possible future addition) is to make the units of measure selectable as an option. This would also make the GPS app more friendly to countries that actually use km/hr.

Just another thought.
ckgreenman is offline   Reply With Quote
Old 09-30-2006, 11:32 PM   #643
AMP Creator
 
aychamo's Avatar
 
Join Date: Jun 2006
Posts: 454
aychamo is on a distinguished road
Quote: Originally Posted by ckgreenman View Post
Awesome. Glad those were useful. It sounds like you're having to do a lot of conversions though. It should be possible to change the formula so that you don't ave to do as many conversions (like km to miles, decimal degrees to DMS etc.) One thing you might look at (for a possible future addition) is to make the units of measure selectable as an option. This would also make the GPS app more friendly to countries that actually use km/hr.

Just another thought.

Hey there

The conversions I meant are unit (well, in terms of KM/miles) agnostic. I've already made it an option to use the metric system or not. The converting from DMS to radians took a few minutes to figure out, but kilometers to miles and back is just multiplication!

BTW saw the movie "Invincible" tonight.. Good!

Aychamo
__________________
-
aychamo is offline   Reply With Quote
Old 10-01-2006, 10:39 AM   #644
Admin. Don't bug or I'll byte.
 
Bugbyte's Avatar
 
Join Date: Sep 2004
Location: Corning, NY
Posts: 6,099
Bugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to behold
Doesn't gpsdX simply send you the units you ask for in response to a query of it? I only looked at it briefly, so I guess it may not, but I thought that was one of the advantages of it.
__________________
Want to:
-Find out about the iBug?
-Stop being a newbie? Take a look at the FAQ Emporium?
-Find out about carPC's in just 5 minutes? View the Car PC 101 video
-Help me kill my car PC
-Watch live video streams from my mobile PC? Check it out here.
-Where is the iBug?
Bugbyte is online now   Reply With Quote
Old 10-01-2006, 12:09 PM   #645
AMP Creator
 
aychamo's Avatar
 
Join Date: Jun 2006
Posts: 454
aychamo is on a distinguished road
Bugbyte, I think you are thinking about the header file for gps.h which includes a bunch of constants for converting between different scalar lengths. gpsd gives you the long/lat as, for example, -100.090807 which you have to do a small amount of math on to get to degrees, minutes, seconds. The only time units (miles, km) come into play is when you are calculating a *distance* between two points. The formula I use defaults to KM, which are easily converted to miles.

... don't worry guys I already have that handled.
__________________
-
aychamo 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
PC Motherboard to 1 amp or 2? hanzacra General Hardware Discussion 5 11-27-2007 03:41 AM
Amp running hot...?? Emerica2843 General Hardware Discussion 5 02-08-2006 06:40 PM
Amp running hot...?? Emerica2843 Car Audio 6 01-29-2006 08:29 PM
vw mk4 monson amp and another amp colorless Car Audio 33 10-03-2005 01:32 PM



All times are GMT -5. The time now is 12:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
"VaultWiki" powered by VaultWiki v2.5.2.
Copyright © 2008 - 2009, Cracked Egg Studios.Ad Management by RedTyger
Message Board Statistics