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 > Front Ends > StreetDeck > DigitalMods (Scripts / API)

Reply
 
Thread Tools Display Modes
Old 02-10-2008, 04:32 PM   #16
StreetDeck Skinning Master
 
06TC_OWNER's Avatar
 
Join Date: Mar 2006
Location: Fort Collins
Vehicle: 2006/Scion/TC
Posts: 360
My Photos: (0)
Your function seems to be accurate, but... this:
Code:
this.GetSunTimes(sa.NavController.GetLatitude(), sa.NavController.GetLongitude(), out sdt, out edt);

does not appear to work.

Specifically sa.NavController.GetLatitude() and sa.NavController.GetLongitude().

I am not sure what it is returning, but it is definitely not the correct Lat and Long (I checked your function against weather.com lat and long for my location and it worked fine).

Chuck... any thoughts? What are these functions returning? Is it something other than the standard lat and long we are used to?
__________________
View my current SD Projects:
06TC_OWNER is offline   Reply With Quote
Sponsored Links
Old 02-10-2008, 06:58 PM   #17
Constant Bitrate
marchello2000's CarPC Specs
 
Join Date: Sep 2005
Location: Redmond, WA
Vehicle: BMW 325i
Posts: 169
My Photos: (0)
Did you try negating the latitude (or maybe the long, or both )? I think Mappoint uses a different sign convention.

Mark
__________________
Mark

See all my CarPC projects
marchello2000 is offline   Reply With Quote
Old 02-11-2008, 12:00 PM   #18
Raw Wave
 
god_of_cpu's Avatar
 
Join Date: Jan 2004
Location: SilverSpring Maryland
Vehicle: 2003/Infiniti/G35 Sport Coupe
Posts: 2,912
My Photos: (0)
Quote: Originally Posted by 06TC_OWNER View Post
Your function seems to be accurate, but... this:
Code:
this.GetSunTimes(sa.NavController.GetLatitude(), sa.NavController.GetLongitude(), out sdt, out edt);

does not appear to work.

Specifically sa.NavController.GetLatitude() and sa.NavController.GetLongitude().

I am not sure what it is returning, but it is definitely not the correct Lat and Long (I checked your function against weather.com lat and long for my location and it worked fine).

Chuck... any thoughts? What are these functions returning? Is it something other than the standard lat and long we are used to?

It should be just standard latitude and longitude in degrees. They will be negative for south / west.
__________________
StreetDeck.com Developer (I am Chuck)
Download the 30 Day StreetDeck Trial version!
Video Blog
god_of_cpu is offline   Reply With Quote
Old 02-12-2008, 01:14 PM   #19
StreetDeck Skinning Master
 
06TC_OWNER's Avatar
 
Join Date: Mar 2006
Location: Fort Collins
Vehicle: 2006/Scion/TC
Posts: 360
My Photos: (0)
hmm... Maybe this function only works with positive numbers? I don't have enough information on this function, so I'd be shooting in the dark with guessing at it...
__________________
View my current SD Projects:
06TC_OWNER is offline   Reply With Quote
Old 02-12-2008, 03:34 PM   #20
Constant Bitrate
marchello2000's CarPC Specs
 
Join Date: Sep 2005
Location: Redmond, WA
Vehicle: BMW 325i
Posts: 169
My Photos: (0)
Quote: Originally Posted by 06TC_OWNER View Post
hmm... Maybe this function only works with positive numbers? I don't have enough information on this function, so I'd be shooting in the dark with guessing at it...

Ok, my bad... I coded the longitude to be positive in the western hemisphere so you will have to negate the long you get from SD. Sorry about that.
__________________
Mark

See all my CarPC projects
marchello2000 is offline   Reply With Quote
Sponsored Links
Old 05-04-2008, 08:59 PM   #21
Newbie
 
Join Date: May 2008
Posts: 3
My Photos: (0)
So, does this automatically switch based on sunrise/sunset now? Is there updated screenshots?
NSchiffer is offline   Reply With Quote
Old 05-15-2008, 01:33 PM   #22
Constant Bitrate
froalskiner's CarPC Specs
 
Join Date: Jun 2006
Location: Ventura County
Vehicle: 06 G35C
Posts: 217
My Photos: (0)
Alternatively you could link it into a light sensor or you could link it into the headlights so when they come on it would send a signal through a relay that would trigger the night or day mode. What about altitude? What if you are on the top of a large hill. Wouldn't you get light for a little longer than say somebody that was at the bottom of the hill? What if you are in a large canyon. You need to switch to night more earlier than if you were on top of the hill earlier.

Alternatively you could just tap the screen to change the time that it would switch to day or night and skip all of the extra "wouldn't it be neat if you could have it link to xyz to change the gamma automatically".

Isn't all of the extra time zone and auto dim funtionality going a little overboard? Not to thread jack, but this is why digimods never get 100% done. People keep asking for new features that while cool...don't particularly add a whole lot to to the basic digimod.

Instead of adding features until the cows come home...get the mods operational, post it, then move onto a new digimod instead of taking umpteen hours working on adding features that overall won't add any particular value to the digimod other than a coolness factor...

Don't get me wrong...I think this is a rockin digimod...i just think that it doesn't need all of the bells and whistles people are asking for.
__________________
Planning: 100% [-▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ->
Bench Testing: 100% [-▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ->
Car Installation: 100% [-▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ->
Overall Progress: 95% [-▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓- ->

My Worklog

Wants Mr. T NAV Voices!!!!
froalskiner is offline   Reply With Quote
Old 05-15-2008, 03:42 PM   #23
Newbie
 
Join Date: May 2008
Posts: 3
My Photos: (0)
Why aren't all these digimods just open source? Then if people want new features, they can add them themselves.
NSchiffer is offline   Reply With Quote
Old 05-15-2008, 03:50 PM   #24
Constant Bitrate
froalskiner's CarPC Specs
 
Join Date: Jun 2006
Location: Ventura County
Vehicle: 06 G35C
Posts: 217
My Photos: (0)
Quote: Originally Posted by NSchiffer View Post
Why aren't all these digimods just open source? Then if people want new features, they can add them themselves.

They are...the problem that I've seen in the past is somebody comes out and shows a few screenshots of a WORKING digimod...then they are barraged with requests to make it better and they never release it because it's not totally done. So many have been done only half way because people add in additional requests for features. Then they ***** about the availability of completed digimods...then blame Streetdeck development because they didn't deliver...

The digimod that overlayed traffic data over the navigation map is a prime example of something that had rockin potential but never saw the light of day because people kept asking for additional features and the OP never released it. "Hey, can you add the ability to reroute navigation if there is traffic?" or "Hey, great mod but...it would be even better if it had a weight sensor that reads my weight in the driver seat and lets me know if I'm too fat and needs to go to the gym...then re-route my navigation based on traffic levels."

On and on and on...
__________________
Planning: 100% [-▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ->
Bench Testing: 100% [-▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ->
Car Installation: 100% [-▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ->
Overall Progress: 95% [-▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓- ->

My Worklog

Wants Mr. T NAV Voices!!!!
froalskiner is offline   Reply With Quote
Old 05-23-2008, 10:38 AM   #25
Newbie
brombomb's CarPC Specs
 
Join Date: Jan 2008
Posts: 43
My Photos: (1)
can anyone re-up the files? I can't find them on the wiki and the link in this thread no longer works.
__________________
Full Install Blog
Percent Complete: [|||||||||/] - 95% install
brombomb 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
iGuidance Button modification (Centrafuse style) justintime GPS 307 06-11-2008 08:01 PM
Chuck's Skins lots of pics Update 7-16-07 Chuck RR Skins 288 11-09-2007 09:49 PM
GPS Gamma support skippy76 Road Runner 4 10-19-2005 07:19 AM
Lilliput doesn't go into VGA mode anymore thefreeauction LCD/Display 10 09-23-2005 08:48 PM
Does XM mode operate as 'RADIO' mode rjoek Road Runner 8 07-07-2005 10:18 AM


All times are GMT -5. The time now is 05:09 PM.


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