MEMORIAL DAY SALE: Save 15% on ALL BlackBerry Accessories! Use Coupon Code MEM12.
Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > Stuff for your BlackBerry Smartphone! > BlackBerry Apps

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 02-04-2009, 09:24 PM
CrackBerry User
Device(s): 9530 (Storm)
Carrier: Verizon
 
Join Date: Feb 2009
Posts: 11
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
  #2  
Old 02-04-2009, 09:26 PM
CrackBerry Addict
Device(s): 9530 (Storm)
Carrier: Verizon
 
Join Date: Nov 2008
Posts: 662
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
  #3  
Old 02-04-2009, 09:27 PM
jcharris08
Guest
 
Posts: n/a
Likes Received:
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.
Reply With Quote Tip this Post
  #4  
Old 02-04-2009, 10:04 PM
CrackBerry Addict
Device(s): 9530 (Storm)
Carrier: Verizon
 
Join Date: Nov 2008
Posts: 662
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
  #5  
Old 02-04-2009, 10:12 PM
CrackBerry Abuser
Device(s): 9530 (Storm)
Carrier: VzW
 
Location: CT
Join Date: Dec 2008
Posts: 127
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

the posts in this thread made me laugh sooooo hard!!! funny stuff guys.
Reply With Quote Tip this Post
  #6  
Old 02-04-2009, 10:18 PM
CrackBerry Genius of Geniuses
Device(s): 9530 (Storm)
Carrier: Verizon
 
Location: Sunny Florida
Join Date: Nov 2008
Posts: 5,241
Likes Received: 1
Thanked 1 Time in 1 Post
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 Tip this Post
  #7  
Old 02-05-2009, 11:24 AM
CrackBerry Abuser
Device(s): 9530
Carrier: Verizon
 
Join Date: Oct 2008
Posts: 261
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
  #8  
Old 02-05-2009, 11:53 AM
CrackBerry Addict
Device(s): 9530 (Storm)
Carrier: Verizon
 
Join Date: Nov 2008
Posts: 662
Likes Received: 0
Thanked 0 Times in 0 Posts
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 11:58 AM.
Reply With Quote Tip this Post
  #9  
Old 02-05-2009, 12:10 PM
CrackBerry User
Device(s): 9530 Storm 4.7.0.99
Carrier: Verizon
 
Location: Fairfield County CT
Join Date: Oct 2008
Posts: 54
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
  #10  
Old 02-05-2009, 01:27 PM
CrackBerry Abuser
Device(s): 9530 (Storm)
Carrier: Verizon
 
Join Date: Nov 2008
Posts: 292
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
  #11  
Old 02-05-2009, 01:31 PM
CrackBerry Genius of Geniuses
Device(s): 9530 (Storm)
Carrier: Verizon
 
Location: Sunny Florida
Join Date: Nov 2008
Posts: 5,241
Likes Received: 1
Thanked 1 Time in 1 Post
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 Tip this Post
  #12  
Old 02-05-2009, 01:54 PM
CrackBerry User
Device(s): 9530 (Storm)
Carrier: Verizon
 
Join Date: Dec 2008
Posts: 71
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
    Thread Author   #13  
Old 02-05-2009, 04:17 PM
CrackBerry User
Device(s): 9530 (Storm)
Carrier: Verizon
 
Join Date: Feb 2009
Posts: 11
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
    Thread Author   #14  
Old 02-05-2009, 04:20 PM
CrackBerry User
Device(s): 9530 (Storm)
Carrier: Verizon
 
Join Date: Feb 2009
Posts: 11
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
  #15  
Old 02-05-2009, 05:17 PM
CrackBerry Addict
Device(s): 9530 (Storm)
Carrier: Verizon
 
Join Date: Nov 2008
Posts: 662
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > Stuff for your BlackBerry Smartphone! > BlackBerry Apps   any app designers out there trying this???

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes