iPod Dancing Francis Beaumier Dr. Pankratz Senior Capstone Experience in Computer Science 30 April 2009
Definition An iPod touch- and computer-based program to monitor the user's dancing and give feedback
Requirements Accelerometer: How much dancing Right dance moves On the beat Teach the software new dance moves
Requirements II Use components of Ryan's light sync to help the computer determine how a song should be danced to Synchronization Computer: display animations, scores
The Official Report Card ScoreAccelerometer: How much dancing Right dance moves On the beat Teach the software new dance moves ✔ ✔ ✔ –
The Official Report Card II ScoreRequirement Move determination algorithm Synchronization Computer: display animations, scores ✖ ✔ –
Understanding acceleration acceleration = a(t) = x’’(t) = v’(t) The push you feel in a car … so we use a spring!
What’s a heel raise? atan2(-y,x)
I get a kick … X acceleration
I get a kick … Y acceleration
I get a kick … atan2(-y,x)
Jump, jump for my looooove X acceleration
Jump, jump for my looooove Y acceleration
Demo In the event of a demo emergency, click hereclick here
Strategies Go at a thing from multiple angles Examples!
Knowledge Classes Threads Sockets
Extensions Programmatically learn new moves More moves Regularity of gait More precision in move recognition
Advice Contact Apple the semester before Save some time for CS Nothing’s the same Do then perfect
Questions