Subversion Repositories Projects

Rev

Rev 127 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 127 Rev 130
1
# RIDDIM 
1
# RIDDIM 
-
 
2
#  
2
#  -> Remote Interactive Digital Drone Interface Mashup
3
#  -> Remote Interactive Digital Drone Interface Mashup
3
#
4
#
4
# Author: 	 Marcus -ligi- Bueschleb
5
# Author: 	 Marcus -ligi- Bueschleb
5
#
6
#
6
# Contact: ligi
7
# Contact: ligi
7
#	   -at-
8
#	   -at-
8
#	   smart4mobile.de
9
#	   smart4mobile.de
9
#
10
#
10
# Project Start: 12/2007
11
# Project Start: 12/2007
11
#
12
#
12
# Credits:
13
# Credits:
13
#          Holger & Ingo for the Mikrokopter Project ( www.mikrokopter.de ).
14
#          Holger & Ingo for the Mikrokopter Project ( www.mikrokopter.de ).
14
#	   eduard -- - at - -- hasenleithner.at for the linux x-52 lib
15
#	   eduard -- - at - -- hasenleithner.at for the linux x-52 lib
15
#
16
#
16
 
-
 
17
 
-
 
18
=Preface=
-
 
19
 
-
 
20
 Project to Control and interact with a MikroKopter. The main Focus on startup is the usage of one X-52 Joystick in combination with one Router. The X-52 has the possibility to Display some something on the Joystick and has lots of Axis and Buttons - so i will prefer it for flying. 
-
 
21
 
17
 
22
= Documentation =
-
 
23
 
-
 
24
 http://www.rcmovie.de/view_video.php?viewkey=7ec0047de2d5d1b28a75
-
 
25
 http://www.youtube.com/watch?v=3a0FSJTDQlM
-
 
26
 http://forum.mikrokopter.de/topic-2554.html
18
= Documentation / Infos =
27
 http://www.mikrokopter.de/ucwiki/en/Riddim
-
 
28
 
19
 http://www.mikrokopter.de/ucwiki/en/Riddim
29
 
20
  
30
= Licence =
21
= Licence =
31
 
22
 
32
 http://creativecommons.org/licenses/by-nc-sa/2.0/de/  (Creative Commons / Non Commercial / Share Alike 
23
 http://creativecommons.org/licenses/by-nc-sa/2.0/de/  (Creative Commons / Non Commercial / Share Alike 
33
 Addtitonally to this Licence it is not allowed to use this software in any violent manner.
24
 Addtitonally to this Licence it is not allowed to use this software in any violent manner.
34
 This explicitly includes that lethal Weapon owning "People" (e.g. Army & Police) are not allowed to use this Project
25
 This explicitly includes that lethal Weapon owning "People" (e.g. Army & Police) are not allowed to use this Project
35
 If you want to use this tool in any Commercial Context - please contact me first!
26
 If you want to use this tool in any Commercial Context - please contact me first!
-
 
27
 
36
 
28
 
37
=Hardware Setup=
29
=Hardware Setup=
38
 
30
 
39
 You need:
31
 You need:
40
  - 1x MikroKopter (  www.mikrokopter.de ) with bluetooth
32
  - 1x MikroKopter (  www.mikrokopter.de ) with bluetooth
41
  - 1x Saitek X-52 ( or X-52 PRO ) - later the support for other Devices can follow
33
  - 1x Saitek X-52 ( or X-52 PRO ) - later the support for other Devices can follow
42
  - 1x Hardware with the following minimum requirements:
34
  - 1x Hardware with the following minimum requirements:
43
	-> running linux
35
	-> running linux
44
	-> usb
36
	-> usb
45
	-> bluetooth ( later on bluetooth or wlan will be supportet )
37
	-> bluetooth ( later on bluetooth or wlan will be supportet )
46
		
38
		
47
   In the autohrs setup this will be my notebook ( its better for debug output )  at stage one and one Asus WL500g deluxe running OpenWrt in stage2.
39
   In the autohrs setup this will be my notebook ( its better for debug output )  at stage one and one Asus WL500g deluxe running OpenWrt in stage2.
48
 
40
 
49
 
41
 
50
 
42
 
51
=Compile=
43
=Compile=
52
 $> make
44
 $> make
53
 
45
 
54
=Run=
46
=Run=
55
 $> ./riddim [configfile]
47
 $> ./riddim [configfile]
56
 
48
 
57
 if no configfile is given riddim is trying to load "/etc/riddim.conf". If that fails riddim is using default values ( not very usefull perhaps )
49
 if no configfile is given riddim is trying to load "/etc/riddim.conf". If that fails riddim is using default values ( not very usefull perhaps )
58
 
50
 
59
example socat usage:
51
example socat usage:
60
 socat tcp-l:54321,reuseaddr,fork file:/dev/ttyUSB0,b57600,waitlock=/var/run/rfcomm0.lock
52
 socat tcp-l:54321,reuseaddr,fork file:/dev/ttyUSB0,b57600,waitlock=/var/run/rfcomm0.lock
61
 
53
 
62
 
54
 
63
 
55
 
64
= Changelog =
56
= Changelog =
65
 
57
 
66
 0.5 - code cleanup 
58
 0.5 - code cleanup 
67
 0.4 - Measure time from send command to confirm 
59
 0.4 - Measure time from send command to confirm 
68
 0.3 - mode selector 
60
 0.3 - mode selector 
69
 0.2 - first version with possibility to fly ( based on FC0.68b commands )
61
 0.2 - first version with possibility to fly ( based on FC0.68b commands )
70
 0.1 - initial release with basic functions and proove of concept Code ( Scanning for Blueooth Devices / read Joy / communicate to MK / ..)
62
 0.1 - initial release with basic functions and proove of concept Code ( Scanning for Blueooth Devices / read Joy / communicate to MK / ..)
71
 
-
 
72
 
-
 
73
= ToDo =
-
 
74
 
-
 
75
 - Force Feedback from ACC Sensor Data
-
 
76
 - Support more JoySticks -> generalize
-
 
77
 - Support more Aircraft types -> generalize
63