Old 12-09-2009, 05:41 PM   #1 (permalink)
Jr. Member
 
Join Date: Jul 2008
Location: Kingdom Hearts...Duh
Posts: 252
itsthatsguy is on a distinguished road
Default <!> [A] Ruler

Its ruler, its 2 7/8" long, thats about it.

Image, and download on my blog


I am making a better one using the accelerometer, the math is simple, but, the accelerometer might not be accurate enough. for anyone who likes math (not me) the formula is: 385.82677126 * accel.y * frame rate(decimal)
385.82677126 is gravity in inches and (1 / 30) is our target frame rate

its simple enough, when the zune accelerates the accelerometer gives me a decimal g-force, multiply that by 9.8MPS^2 or (in our case we convert that to inches) and it will give us a large number, by multiply that by the frame rate, which, is how many times we run this logic per second, and you have the amount of inches you have moved in that amount of time. += this to a decimal and you have an endless ruler. But, its not as simple as that, for one, gravity varies from place to place (it really does, in small amounts), if the zune is not perfectly flat it will not work, but, using more math we can solve that (and let you meusure on vertical faces ect.) and the fact that the accelorometer is not 100% accurate, aside from that it should be fun to mess with.
__________________
go on, buy the melon you started wanting a second ago...

Last edited by itsthatsguy; 12-09-2009 at 05:50 PM.




itsthatsguy is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old 12-09-2009, 08:59 PM   #2 (permalink)
Experienced Zuner
 
Join Date: Sep 2009
Posts: 177
roguemat will become famous soon enough
Default

wow sounds cool
__________________
Visit my blog of awesomeness! Lots of little zune apps with source code for you to download!



roguemat is offline   Reply With Quote
Old 12-10-2009, 06:54 PM   #3 (permalink)
Experienced Member
 
Join Date: Nov 2006
Posts: 919
Ricardo Dawkins will become famous soon enough
Send a message via MSN to Ricardo Dawkins
Default

This should with merged with the level and a calculator application.
__________________

Black Zune 80 + MEElectronics M6 (Clear) + Zune Premium + AKG K26p + JVC HA-FX66 Blue "Air Cushion"




Ricardo Dawkins is offline   Reply With Quote
Old 12-10-2009, 08:04 PM   #4 (permalink)
Experienced Zuner
 
Cobalthex's Avatar
 
Join Date: Sep 2009
Posts: 206
Cobalthex is on a distinguished road
Default

create an infinite scrolling ruler with multiple types of measurements, including px, in, mm, cm, m, ft, yd, etc.



Cobalthex is offline   Reply With Quote
Old 12-10-2009, 11:25 PM   #5 (permalink)
Experienced Zuner
 
Join Date: Sep 2009
Posts: 177
roguemat will become famous soon enough
Default

Quote:
Originally Posted by Cobalthex View Post
create an infinite scrolling ruler with multiple types of measurements, including px, in, mm, cm, m, ft, yd, etc.
Would it kill you to make even 1% of your comments encouraging? Im not saying suggesting features is bad at all btw
__________________
Visit my blog of awesomeness! Lots of little zune apps with source code for you to download!



roguemat is offline   Reply With Quote
Old 12-11-2009, 04:31 AM   #6 (permalink)
Experienced Zuner
 
Cobalthex's Avatar
 
Join Date: Sep 2009
Posts: 206
Cobalthex is on a distinguished road
Default

encouraging? thats too easy

and its really not hard, you start a project, open source it, link me, and ill contribute

Last edited by Jordan; 12-11-2009 at 08:11 AM. Reason: Double



Cobalthex is offline   Reply With Quote
Old 12-11-2009, 06:59 AM   #7 (permalink)
Experienced Zuner
 
Join Date: Sep 2009
Posts: 177
roguemat will become famous soon enough
Default

Quote:
Originally Posted by Cobalthex View Post
and its really not hard, you start a project, open source it, link me, and ill contribute
Have you ever considered just making something yourself?
__________________
Visit my blog of awesomeness! Lots of little zune apps with source code for you to download!



roguemat is offline   Reply With Quote
Old 12-11-2009, 01:02 PM   #8 (permalink)
Experienced Zuner
 
Cobalthex's Avatar
 
Join Date: Sep 2009
Posts: 206
Cobalthex is on a distinguished road
Default

yes



Cobalthex is offline   Reply With Quote
Old 12-11-2009, 03:06 PM   #9 (permalink)
Jr. Member
 
ConnerWoods's Avatar
 
Join Date: Sep 2008
Location: Galt, California
Posts: 391
ConnerWoods is on a distinguished road
Send a message via MSN to ConnerWoods Send a message via Yahoo to ConnerWoods Send a message via Skype™ to ConnerWoods
Default

Quote:
Originally Posted by roguemat View Post
Have you ever considered just making something yourself?
Correct me if I'm wrong, but I'm convinced Cobalthex has made a couple solo apps in the past.
__________________
Add me on the Zune Social. Search for PickleAndCheese. Also, my Zune games/apps Archive!
-Zune Social
-Zune Boards
-Zunegg
-Zunited











ConnerWoods is offline   Reply With Quote
Old 12-11-2009, 03:43 PM   #10 (permalink)
Jr. Member
 
Join Date: Jul 2008
Location: Kingdom Hearts...Duh
Posts: 252
itsthatsguy is on a distinguished road
Default

I don't do open source

and i am way ahead of you, my current version does meters, inches, feet, miles, cm, and mm. Miles are a bit weird, but, if i get the math right they should be able to measure really long distances
__________________
go on, buy the melon you started wanting a second ago...




itsthatsguy is offline   Reply With Quote
Old 12-11-2009, 07:21 PM   #11 (permalink)
Experienced Zuner
 
Cobalthex's Avatar
 
Join Date: Sep 2009
Posts: 206
Cobalthex is on a distinguished road
Default

ok i hadnt tested it yet.



Cobalthex is offline   Reply With Quote
Reply

Bookmarks

Thread Tools