Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
208 | ligi | 1 | /************************************************************************************************* |
2 | * |
||
250 | ligi | 3 | * Project to Communicate via J2ME (Mobile Phone) and Bluetooth |
4 | * with a MikroKopter ( www.mikrokopter.de ) |
||
208 | ligi | 5 | * |
6 | * |
||
7 | * Author: Marcus -LiGi- Bueschleb |
||
8 | * Project-Start: 9/2007 |
||
250 | ligi | 9 | * Version: 0.29 |
208 | ligi | 10 | * Mailto: ligi@smart4mobile.de |
11 | * |
||
12 | * Licence: http://creativecommons.org/licenses/by-nc-sa/2.0/de/ |
||
13 | * (Creative Commons / Non Commercial / Share Alike) |
||
250 | ligi | 14 | * Credits: Holger&Ingo for the MikroKopter Project |
15 | * CaScAdE for Testing and Graphics |
||
16 | * Orion8 for inspiration |
||
208 | ligi | 17 | * |
18 | * ChangeLog: |
||
19 | * 0.01 - initial Version ( initialize connection / main Thread with reading data from MK) |
||
20 | * 0.02 - reconnect after connection loss ( e.g. switching on/off ) |
||
21 | * 0.03 - added send_command ( with CRC ) |
||
22 | * 0.04 - added decode64 to decode 'pseudo' BASE64 |
||
23 | * 0.05 - added get_version |
||
24 | * 0.06 - added parsing of DebugData |
||
25 | * 0.07 - Code-(Doc&&Cleanup) && initial svn commit |
||
26 | * 0.08 - Initial README / ToDo List |
||
27 | * 0.09 - implemented BTScanner for detecting BT-Devices (No hard mac anymore for first public bin) |
||
28 | * 0.10 - initial MKMinimalMidlet / Canvas |
||
29 | * 0.11 - 1st public binary ( JAR/JAD) |
||
30 | * 0.12 - measure Uptime ( like that word for MK being in Air ;-) |
||
31 | * 0.14 - measure idling mixture |
||
32 | * 0.15 - Fixed Nokia Problem 2 instead of 2.0 .. |
||
33 | * 0.16 - LCD implementation & polishing code on serveral places |
||
34 | * 0.17 - Quit via * | Rescan via # |
||
35 | * 0.18 - Remember URL ( bt-mac ) on quit |
||
210 | ligi | 36 | * 0.19 - better handling of MK Version |
37 | * 0.23 - care for Version while parsing DebugData - MK0.64 compatible now (0.20-0.23 - n1 bugfixing With CaSCade) |
||
221 | ligi | 38 | * 0.24 - adding some GFX |
39 | * 0.25 - adding Graph ( Nick int;Roll int; nick acc ;roll acc) |
||
40 | * 0.26 - more Visuals |
||
231 | ligi | 41 | * 0.27 - implemented motor_test |
42 | * 0.28 - Icon |
||
43 | * 0.29 - ressources for 176x220 / Ress differencing |
||
208 | ligi | 44 | * |
45 | * Online Link to this Document: |
||
46 | * http://mikrocontroller.cco-ev.de/mikroviewvc/FlightCtrl/branches/ligi_j2me/README?view=markup |
||
47 | * |
||
48 | *************************************************************************************************/ |
||
165 | ligi | 49 | |
250 | ligi | 50 | *** Features: |
51 | - draw Graphs with Nick integral / Roll integral / Nick acc / Roll acc |
||
52 | - test each motor |
||
53 | - Draw LCD of mk ( + interact with it Up/Down ) |
||
54 | - get MK_version |
||
55 | - measure ConnectionTime / Motor=15Time / Motor>15Time ( UpTime ) |
||
56 | |||
57 | *** Install: |
||
208 | ligi | 58 | - If u know how to handle JAR/JADs take the ones from the bin directory. |
221 | ligi | 59 | - If u dont visit http://www.getjar.com/products/12587/MKMiniMidlet ( SVN might be more recent) |
165 | ligi | 60 | |
250 | ligi | 61 | *** Usage: |
231 | ligi | 62 | General: |
63 | KEY # toggle Fullscreen |
||
64 | KEY * to Quit |
||
193 | ligi | 65 | |
231 | ligi | 66 | Device selection Screen: |
67 | KEY 1..X to select device |
||
68 | |||
69 | Main Screen: |
||
70 | KEY UP to go Page up in MK-LCD |
||
71 | KEY DOWN to go Page up in MK-LCD |
||
72 | KEY RIGHT - go to MotorTest |
||
73 | |||
74 | MotorTest Screen |
||
75 | UP/DOWN increas/decrease speed of actual motor |
||
76 | LEFT prev motor ( if first go to main screen ) |
||
77 | RIGHT next motor |
||
78 | |||
250 | ligi | 79 | *** Tested on: |
193 | ligi | 80 | SE - K800i |
231 | ligi | 81 | Nokia - N95 |
221 | ligi | 82 | SE - W800i |
231 | ligi | 83 | Nokia - 6234 |
84 | Nokia - N80 ( Font is too Big - but API worx) |
||
85 | Nokia - 6230i ( without copter ) |
||
86 | |||
250 | ligi | 87 | *** Compile: |
88 | - install some tools to fullfill Compile-Dependencys ( see below ) |
||
89 | - Set the path to WTK it in build.xml |
||
90 | - execute $> ant build |
||
91 | - the JAR and JAD will appear in build/bin when success |
||
92 | * see http://forum.mikrokopter.de/topic-post15829.html#post15829 for Hints on Compiling on Windows |
||
93 | |||
94 | *** Dependencys: |
||
95 | Run: |
||
96 | - The Phone needs the Bluetooth API and MIDP 2.0 . |
||
97 | - The MK needs a Bluetooth-Modul - http://mikrokopter.de/ucwiki/F2M03GXA?action=show |
||
98 | Compile: |
||
99 | - WTK ( 2.2 proven to work - please test with newer ) |
||
100 | - Obfuscator (e.g. Proguard from http://sourceforge.net/project/showfiles.php?group_id=54750 |
||
101 | ) when willing to obfuscate |
||
102 | - ANT |
||
103 | |||
104 | *** ToDo: |
||
193 | ligi | 105 | - Proxying to TCP/IP ( GPRS / UMTS / WLAN ( e.g. N80) .. ) |
165 | ligi | 106 | - measure DebugSets per Second |
193 | ligi | 107 | - log data/csv ( send via TCP/IP ; save ) |
165 | ligi | 108 | - Sound Alarms on Batt low or other triggers |
109 | - get/set MK-Parameters |
||
110 | - Visualisation of DebugData |
||
181 | ligi | 111 | - making lib to be useable with desktop JAVA / will be sceduled after bluecove for linux is ready ( anounced for next Version) |
210 | ligi | 112 | - triangulate MK by BT rssi |
221 | ligi | 113 | - trigger cammera shot via FC |
193 | ligi | 114 | - tbc |
165 | ligi | 115 |