Subversion Repositories FlightCtrl

Rev

Rev 250 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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