Benjamin Cole Daniel Hammer Trenton J Johnson Ricardo Martinez Introduction and Background Therapy and Rehabilitation Using Wii Motes 2 Introduction Hippocrates Medicine First professional association 1921 ID: 1032801
Download Presentation The PPT/PDF document "Wii Care James Augustin" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
1. Wii CareJames AugustinBenjamin ColeDaniel HammerTrenton J. JohnsonRicardo Martinez
2. Introduction and BackgroundTherapy and Rehabilitation Using Wii-Motes2
3. IntroductionHippocratesMedicineFirst professional association, 1921American Physical Therapy Association(APTA),1940s74000 members, 200+ programsDemandQuantify Range of Motion (ROM) Insurance Claims3
4. BackgroundPhysiotherapy low cost alternative to surgical treatment and/or medication. Journal of the American Medical Association (JAMA) spine-related expenditures continue to increase without positive results of improvement. American Physical Therapy Association (APTA) patients who receive physical therapy for musculoskeletal disorders experience better outcomes at a lower cost than the use of medication drugs.Physical therapists Early intervention treatment; Prevent chronic ailmentsFitness and wellness-oriented programs that promote healthy, active lifestyles.4
5. BackgroundNintendo’ interestsstabilizing one’s well-being American Heart AssociationWii FitDaily activityCalendar; prescription 5
6. Problem DefinitionSensory device and interface to record cervical movement using Nintendo Wii components and other Bluetooth compatible devices.Health care/Rehabilitation Low costAdaptability for different EnvironmentsLow maintenanceEasy Replacement 6
7. Devices in UseInclinometerCompassTilt w.r.t. gravity$4007
8. Problem DefinitionTape measurements Sternal Notch-chinFlexion/ExtensionAcromion Process-Chin/LobeRotationLateral Flexion/ExtensionHuman Error8
9. Problem DefinitionUltrasoundShoulder reference; transmittersMicrophone transducer sensorsExpensive9
10. Problem DefinitionGoniometerPivoting ProtractorErrorAccuracy10
11. Problem DefinitionWii-Care ProjectLow cost Wii ComponentsQuantify Accurate Range of Motion11
12. Concept Generation and SElectionOptimization of Design Options12
13. Concept Generation and SelectionVariety of concepts analyzedOverall design chosen to be using multiple Wii controllers and 4 infrared LEDsMost accurate, highest versatility, and little extra complexity13
14. Decision MatrixCriteriaWeighing Factor1 WiimoteMultiple WiimotesAccelerometer1-4 LEDs4+ LEDSArray1-4 LEDs4+LEDsArrayCost0.19877659Durability0.18868864Adaptability/Versatility0.26669997Efficiency0.057765549Portability/Lightweight0.18897785Ease of Use/Setup0.18898879Accuracy0.1998101087Design Complexity0.29598679Aesthetics0.059998889Total87.17.658.057.557.27.514
15. Meeting With HarrisMeeting with John Rust on November 19thKey Issues brought up:Sensitivity of Wii controller’s IR cameraHow accurate can it determine depth?How to differentiate the LEDsMore testing with the Wii controllers15
16. Station UpdatesReference Point and Plane Isolation16
17. Therapist ConsultationTyressa Judge- Physical Therapist for FSU Thagard3 primary motions-Flexion/Extension, Lateral F/E, RotationAny other motion is a combination of the 3.Disability is measured based on angles achieved.17
18. Therapist ConsultationPatient sits down as she measures the patient’s range of motion.Uses patient’s acromioclavicular joint as a reference point.Uses patient’s nose to determine rotation angle18
19. Updated DesignImplements 3 Wii-MotesMicrophone stands attached to chairChair handles provide additional support for acromioclavicular joint 19
20. Updated DesignEach camera strategically placed to capture a specific motionCameras are positioned perpendicularly to the microphone stand.20
21. LED Placement UpdatesThe Baseball Cap Concept21
22. Updated DesignLED PlacementOn top of headReference: acromioclavicular joint 22
23. Calculating the AnglesSide ViewRear ViewTop ViewSimple Trigonometric EquationsAllows to capture full range of motion23
24. ProgrammingThe Inner Workings and Communication24
25. What We KnowWiimote Data ProcessingInfraredRaw data is processed as 4-byte-long integersPoints are given in (X,Y) coordinate pairsAccelerometerRaw data is processed as 4-byte-long floats (decimals)We have a capable Java libraryWiiRemoteJ- credits to Michael Diamond25
26. What We Are Ready To Know“HOW” data is sent from Wiimote to computerBluetooth in-depthUnderstand and standardize a way for WiiRemoteJ to be accessed on ALL probable platformsImportant for replication?26
27. Programming Design and AnalysisBluetoothBluetooth Stacks Software that implements the Bluetooth protocolDrivers that make Bluetooth radios workTwo Types:General purpose – for devices with considerable resourcesEmbedded system – for peripherals27
28. Programming Design and AnalysisBluetoothNative StacksWinsock (Microsoft Windows’ native Bluetooth stack)OS X (Apple Mac OS X’s native Bluetooth stack)BlueZ (Linux’s de facto Bluetooth stack)Third-Party StacksBlueSoleilWIDCOMM28
29. Programming Design and AnalysisBluetoothBluetooth Protocolsdescribe the syntax, semantics, and synchronization of communication“protocols : communications :: programming languages : computations”Examples:OBEXSDPL2CAPTCPRFCOMM29
30. Programming Design and AnalysisJava and BluetoothJSR-82 ImplementationJava Specification Request (JSR) No. 82It’s basically a Java library or archive file (.jar)Lets the Java app access the stackVery few in existence30
31. Programming Design and AnalysisJava and BluetoothCommercial JSR-82 Implementation OptionsElectricBlue- “uses the native Microsoft stack, and hence can be run on any Windows XP/Vista that has the Microsoft Bluetooth Stack Installed” Avetana- “enable[s] Bluetooth Development on Desktop PCs (running Windows, Linux or Mac OS X) using the standardized JSR-82 APIs”31
32. Programming Design and AnalysisJava and BluetoothFree/Open JSR-82 Implementation OptionsBlueSock- “aims to wrap the Microsoft Windows Bluetooth API's with JSR-82 using JNI”BlueCove- “currently interfaces with the Mac OS X, WIDCOMM, BlueSoleil and Microsoft Bluetooth stack found in Windows XP SP2 and newer” 32
33. Programming Design and Analysis BlueCove33
34. Concept Generation and SelectionBecause we:Need the L2CAP protocolWant the app to work on multiple systemsWant to make the app low-costThe best combo of software isA WIDCOMM stack, which provides L2CAP support &the BlueCove JSR-82 imp, which is free / open source.Both are usable on ALL major operating systems34
35. Concept Generation and SelectionC♯ still in mindThe previously tested C♯ option, WiimoteLib, worked smoothlyLack of portabilityIf Java and the WiiRemoteJ library continue to raise difficult (compatibility) issues:Abandon the Java languageUse C♯35
36. Prototyping and Written Programspublic partial class WiiCareDraft : Form { Wiimote myWiimote; Mutex m = new Mutex(); float myX, myY, myZ; int acX, acY; public WiiCareDraft() { InitializeComponent(); myWiimote = new Wiimote(); myWiimote.Connect(); myWiimote.SetReportType(InputReport.IRAccel, false); myWiimote.SetLEDs(false, false, false, false); myWiimote.WiimoteChanged += new EventHandler<WiimoteChangedEventArgs>(myWiimote_WiimoteChanged); }36
37. Materials SelectionProduct Selection and Use37
38. Materials / Item SelectionMicrophone stand and boomsEasy to install on a chairAllows for easy installation with Wiimote mountOffice chair with arm restsComfortable and easy to modifyWidcomm Bluetooth stackCompatible with Wiimote and JAVA libraryKensington Bluetooth dongleCompatible with WIDCOMM stack38
39. Materials / Item Selection cont.Wii ControllersWiimote MountInfrared LEDsDonated hat39
40. Cost AnalysisItem Quantity Cost Wii Controller 7 $300LEDS 20 $17.98 Bluetooth Dongle 2 $30Microphone Stand and Booms 3$60 Wiimote Mount4$59.80Hat, Batteries, and Chair1/14/1$0Total $467.7840
41. SummaryTherapist + Harris Consultations3 wii-motes with 4 LED hotspotsHat style headset with reference on shoulderFolding chair style assemblyInfra-red data is processed as 4-byte-long integers in txt fileJava library: WiiRemoteJBluetooth Software: WIDCOMM stack + BlueCove JSR-82 impLow Cost: $467.78$200 reproduction cost41
42. What's Next?Java Bluetooth DongleWii-Mote StandsHarris TeleconferenceWiimote Analysis/TestingLED Sensitivity Analysis Assembly PortabilityProgrammingExplore WIDCOMM stack + BlueCove JSR-82 impModel 3d head in environmentModel graphing environmentCalibration; Interface; Display42