Changes between Version 2 and Version 3 of sinus
- Timestamp:
- Feb 6, 2019, 5:34:27 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
sinus
v2 v3 9 9 The program generates a sinusoidal signal and low pass filters are added. Everything can be configured through the ground control station. This demo shows how filters are added and updated, and how to draw graphs on ground control station. 10 10 11 __NB__: Filter and !SensorActuator libraries sources are alwo a good starting point to see how to program with Flair. Yet, they use the [http://c2.com/cgi/wiki?PimplIdiom pimpl idiom], which can be harder to read than this example. 11 Sources are in [source:flair-src/trunk/demos/Sinus flair-src/trunk/demos/Sinus]. 12 13 __NB__: Filter and !SensorActuator libraries sources are also a good starting point to see how to program with Flair. Yet, they use the [http://c2.com/cgi/wiki?PimplIdiom pimpl idiom], which can be harder to read than this example. 12 14 13 15 == Compilation == … … 17 19 === Compile among everything (recommended) === 18 20 19 Use the [source:flair-dev/trunk/scripts/flair_compile_all.sh flair_compile_all.sh] script using [wiki:compile_all this page].21 Use the [source:flair-dev/trunk/scripts/flair_compile_all.sh flair_compile_all.sh] script using documentation from [wiki:compile_all this page]. 20 22 21 23 All libs, tools and demos will be compiled for all supported architectures (the ones with an installed toolchain). … … 42 44 === Generate and compile it alone === 43 45 44 You can also generate this project demo where you want, and compile it. Yet, you need to have [wiki:compile_all compiled and installed] Flair libs before to have alldevelopment files. But it is not necessary to recompile libs each time you want to compile the demo.46 You can also generate this demo's project where you want, and compile it. Yet, you need to have [wiki:compile_all compiled and installed] Flair libs before to have all needed development files. But it is not necessary to recompile libs each time you want to compile the demo. 45 47 46 48 The following assumes you want to place the project in ''$FLAIR_ROOT/flair-build/mywork/sinus'' … … 77 79 }}} 78 80 79 This script, as or ground control station, launchthe program with some arguments.81 This script, as for ground control station, launches the program with some arguments. 80 82 81 83 Note that the script also detects if the system uses Xenomai or not, in order to launch the corresponding program version (real time or not). 82 84 83 === = setup ====85 === setup === 84 86 85 87 When executing the program, the ground control station should construct itself and show setup and graphs for the sinus. … … 94 96 }}} 95 97 96 x is the drone number, from 18 to 63 .98 x is the drone number, from 18 to 63 in the Heudiasyc configuration. 97 99 98 100 === execution === … … 112 114 With ''PC_address'' your PC IP address. 113 115 114 This script, as or ground control station, launchthe program with some arguments.116 This script, as for ground control station, launches the program with some arguments. 115 117 116 118 Note that the script also detects if the system uses Xenomai or not, in order to launch the corresponding program version (real time or not).