Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Device Help and Discussion Forums > BlackBerry Storm 9530/9500 > Storm 3rd Party Apps

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-04-2009, 11:24 PM
CrackBerry User
Device Model: 9530 (Storm)
Carrier: Verizon
 
Join Date: Feb 2009
Posts: 11
Lightbulb any app designers out there trying this???

i was wondering if any app designers were considering creating an app using the accelerometer as a tool to measure a golf swing. seems like compared to some games it would be pretty easy to create a swing speed and path analysis that could show a ball flight (launch angle, accuracy, length and spin). then perhaps with some kind of special handle grip and holding case insert your bb storm like on a wii remote it would be like swinging a golf club. of course to improve on that you could make a virtual golf game by selecting your clubs and aiming and then looking at the course on your screen before the swing dont know if anyone is working on it, but lots of people probably consider paying decent money for it.
Reply With Quote
  #2  
Old 02-04-2009, 11:26 PM
bthoward's Avatar
CrackBerry Addict
Device Model: 9530 (Storm)
Carrier: Verizon
 
Join Date: Nov 2008
Posts: 663
Default

Its only a 2 axis accelerometer in the thing... You're not going to be able to get a lot of that with a 2 axis unit. You need a 3 axis accelerometer in order to have enough information for this. Not to mention it would have to be a much faster and more expensive unit.

Not to mention that too many people would be throwing their phones against the wall.
Reply With Quote
  #3  
Old 02-04-2009, 11:27 PM
MikkkeJones's Avatar
CrackBerry Addict
Device Model: 9530
Carrier: Verizon Wireless
 
Join Date: Nov 2008
Posts: 527
Default

I can see it now..."man throws storm out the window testing swing speed with blackberry" or it'll be the next wiimote into the tv experience.

on another note...would be sweet.
__________________
Twitter: Jcharris08
Reply With Quote
  #4  
Old 02-05-2009, 12:04 AM
bthoward's Avatar
CrackBerry Addict
Device Model: 9530 (Storm)
Carrier: Verizon
 
Join Date: Nov 2008
Posts: 663
Default

Step one rubber band your storm to the head of your driver...
Step two choke up a bit to make sure you don't accidentally "take a divot"
Step three....
Reply With Quote
  #5  
Old 02-05-2009, 12:12 AM
Chrisb06's Avatar
CrackBerry Abuser
Device Model: 9530 (Storm)
Carrier: VzW
 
Join Date: Dec 2008
Location: CT
Posts: 125
Default

the posts in this thread made me laugh sooooo hard!!! funny stuff guys.
Reply With Quote
  #6  
Old 02-05-2009, 12:18 AM
dmglakewood's Avatar
CrackBerry Genius of Geniuses
Device Model: 9530 (Storm)
Carrier: Verizon
 
Join Date: Nov 2008
Location: Sunny Florida
Posts: 5,047
Default

Quote:
Originally Posted by bthoward View Post
Its only a 2 axis accelerometer in the thing... You're not going to be able to get a lot of that with a 2 axis unit. You need a 3 axis accelerometer in order to have enough information for this. Not to mention it would have to be a much faster and more expensive unit.

Not to mention that too many people would be throwing their phones against the wall.
You can get the xyz coordinates from the accelerometer. This app is totally possible, it would just require a lot of math functions.
Reply With Quote
  #7  
Old 02-05-2009, 01:24 PM
CrackBerry Abuser
Device Model: 9530
Carrier: Verizon
 
Join Date: Oct 2008
Posts: 262
Default

Quote:
Originally Posted by dmglakewood View Post
... This app is totally possible, it would just require a lot of math functions.
And duct tape.
Reply With Quote
  #8  
Old 02-05-2009, 01:53 PM
bthoward's Avatar
CrackBerry Addict
Device Model: 9530 (Storm)
Carrier: Verizon
 
Join Date: Nov 2008
Posts: 663
Default

Quote:
Originally Posted by dmglakewood View Post
You can get the xyz coordinates from the accelerometer. This app is totally possible, it would just require a lot of math functions.
I highly doubt there is a 3 axis accelerometer in the unit. Do you have proof somewhere (read: a credible reference) that they are using a 3axis module? Next piece of information would be the resolution and sample rate that the part is capable of.

I should also state that the accelerometer won't give you X,Y,Z cords. It gives you positional information by telling you the magnitude of gravity in three fixed known directions (if its a 3axis unit). I'm betting that the unit in the Storm only tells you gravity in 2 dimensions. Which is how it determines orientation. Which ever dimension has a larger gravity vector the phone can assume to be pointing down (toward the earth). This is why the phone has a hard time when its tilted at an angle as a large portion of your vector is biased into the Z vector. The software is probably written in such a way that when that happens it doesn't meet the thresholds required to rotate in their algorithm. If they had a 3axis unit they could make that much more responsive even while tilted in the Z direction.

Honestly the math part isn't really that hard. Its just applied sophomore level calculus. But you would still want the storm at the end of the club so that it could get the maximum swing distance and therefore better accuracy and less loss due to resolution.

Last edited by bthoward; 02-05-2009 at 01:58 PM.
Reply With Quote
  #9  
Old 02-05-2009, 02:10 PM
RAUnity69's Avatar
CrackBerry User
Device Model: 9530 Storm 4.7.0.99
Carrier: Verizon
 
Join Date: Oct 2008
Location: Fairfield County CT
Posts: 54
Default

Quote:
Originally Posted by bthoward View Post
I highly doubt there is a 3 axis accelerometer in the unit. Do you have proof somewhere (read: a credible reference) that they are using a 3axis module? Next piece of information would be the resolution and sample rate that the part is capable of.

I should also state that the accelerometer won't give you X,Y,Z cords. It gives you positional information by telling you the magnitude of gravity in three fixed known directions (if its a 3axis unit). I'm betting that the unit in the Storm only tells you gravity in 2 dimensions. Which is how it determines orientation. Which ever dimension has a larger gravity vector the phone can assume to be pointing down (toward the earth). This is why the phone has a hard time when its tilted at an angle as a large portion of your vector is biased into the Z vector. The software is probably written in such a way that when that happens it doesn't meet the thresholds required to rotate in their algorithm. If they had a 3axis unit they could make that much more responsive even while tilted in the Z direction.

Honestly the math part isn't really that hard. Its just applied sophomore level calculus. But you would still want the storm at the end of the club so that it could get the maximum swing distance and therefore better accuracy and less loss due to resolution.

BlackBerry JDE 4.7 is now live! | BlackBerry Cool

It has 3 axis capabilities.
Reply With Quote
  #10  
Old 02-05-2009, 03:27 PM
CrackBerry Abuser
Device Model: 9530 (Storm)
Carrier: Verizon
 
Join Date: Nov 2008
Posts: 291
Default

Quote:
Originally Posted by bthoward View Post
I highly doubt there is a 3 axis accelerometer in the unit. Do you have proof somewhere (read: a credible reference) that they are using a 3axis module? Next piece of information would be the resolution and sample rate that the part is capable of.

I should also state that the accelerometer won't give you X,Y,Z cords. It gives you positional information by telling you the magnitude of gravity in three fixed known directions (if its a 3axis unit). I'm betting that the unit in the Storm only tells you gravity in 2 dimensions. Which is how it determines orientation. Which ever dimension has a larger gravity vector the phone can assume to be pointing down (toward the earth). This is why the phone has a hard time when its tilted at an angle as a large portion of your vector is biased into the Z vector. The software is probably written in such a way that when that happens it doesn't meet the thresholds required to rotate in their algorithm. If they had a 3axis unit they could make that much more responsive even while tilted in the Z direction.

Honestly the math part isn't really that hard. Its just applied sophomore level calculus. But you would still want the storm at the end of the club so that it could get the maximum swing distance and therefore better accuracy and less loss due to resolution.
Haha, sorry. It's 3-axis.

BlackBerry JDE 4.7.0 API Reference: Class AccelerometerSensor
Reply With Quote
  #11  
Old 02-05-2009, 03:31 PM
dmglakewood's Avatar
CrackBerry Genius of Geniuses
Device Model: 9530 (Storm)
Carrier: Verizon
 
Join Date: Nov 2008
Location: Sunny Florida
Posts: 5,047
Default

Quote:
Originally Posted by bthoward View Post
I highly doubt there is a 3 axis accelerometer in the unit. Do you have proof somewhere (read: a credible reference) that they are using a 3axis module? Next piece of information would be the resolution and sample rate that the part is capable of.

I should also state that the accelerometer won't give you X,Y,Z cords. It gives you positional information by telling you the magnitude of gravity in three fixed known directions (if its a 3axis unit). I'm betting that the unit in the Storm only tells you gravity in 2 dimensions. Which is how it determines orientation. Which ever dimension has a larger gravity vector the phone can assume to be pointing down (toward the earth). This is why the phone has a hard time when its tilted at an angle as a large portion of your vector is biased into the Z vector. The software is probably written in such a way that when that happens it doesn't meet the thresholds required to rotate in their algorithm. If they had a 3axis unit they could make that much more responsive even while tilted in the Z direction.

Honestly the math part isn't really that hard. Its just applied sophomore level calculus. But you would still want the storm at the end of the club so that it could get the maximum swing distance and therefore better accuracy and less loss due to resolution.
Sure here is their Accelerometer Sensor data

BlackBerry JDE 4.7.0 API Reference: Class AccelerometerSensor

As for the math, you're correct it wouldn't be spot on. Plus your swing may be altered due to the fact the storm is a lot wider then a club etc. All in all though it would give you a general idea.
Reply With Quote
  #12  
Old 02-05-2009, 03:54 PM
CrackBerry User
Device Model: 9530 (Storm)
Carrier: Verizon
 
Join Date: Dec 2008
Posts: 71
Default

You sir got served!

I also can confirm that the Storm has a 3 Axis accelerometer, as I am developing a game for it, and have used all 3 axis (plural?).
Reply With Quote
  #13  
Old 02-05-2009, 06:17 PM
CrackBerry User
Device Model: 9530 (Storm)
Carrier: Verizon
 
Join Date: Feb 2009
Posts: 11
Default

well all the feedback is awesome as i dont really know much about writing apps. if you were to try some of the sample apps floating out there they do show that it can sense movement on 3 axis. the video of the ball flight and pictures of the course could add to the experience wondering if that is possible as well. game wouldnt have to be perfect, but even a scaled down version of this would be fairly cool way to kill time on long phone meetings in the office or whenever you have time to burn.
Reply With Quote
  #14  
Old 02-05-2009, 06:20 PM
CrackBerry User
Device Model: 9530 (Storm)
Carrier: Verizon
 
Join Date: Feb 2009
Posts: 11
Default

in all honesty the more i look at it the app would be an exhaustive and complex project to conquer. if it was running smooth though could be worth the effort.
Reply With Quote
  #15  
Old 02-05-2009, 07:17 PM
bthoward's Avatar
CrackBerry Addict
Device Model: 9530 (Storm)
Carrier: Verizon
 
Join Date: Nov 2008
Posts: 663
Default

Quote:
Originally Posted by coffman34 View Post
You sir got served!

I also can confirm that the Storm has a 3 Axis accelerometer, as I am developing a game for it, and have used all 3 axis (plural?).
Now the next question is a 2G maximum going to be enough... I doubt it. But maybe.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On




All times are GMT -4. The time now is 01:13 AM.

 
 Site Support | Accessory Order Support | App Store Support | Advertise | Newsletter | About Us

Creating smartphone communities
Android Central - Android reviews, news and forums Crackberry - Blackberry news, reviews and community TiPb - iPhone news, accessory reviews & forums
Pre Central - Palm Pre Review, News and Community Treo Central - Treo & Centro News and Forums WMExperts - Windows Mobile Reviews & News

The names RIM and BlackBerry are registered Trademarks of Research in Motion Limited.
CrackBerry.com is in No Way Affiliated with Research in Motion Limited.
Copyright ©2007-2009 Smartphone Experts. Terms and Conditions. Privacy Policy. All rights reserved.