Changes between Version 2 and Version 3 of sinus


Ignore:
Timestamp:
Feb 6, 2019, 5:34:27 PM (6 years ago)
Author:
Sanahuja Guillaume
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • sinus

    v2 v3  
    99The 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.
    1010
    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.
     11Sources 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.
    1214
    1315== Compilation ==
     
    1719=== Compile among everything (recommended) ===
    1820
    19 Use the [source:flair-dev/trunk/scripts/flair_compile_all.sh flair_compile_all.sh] script using [wiki:compile_all this page].
     21Use the [source:flair-dev/trunk/scripts/flair_compile_all.sh flair_compile_all.sh] script using documentation from [wiki:compile_all this page].
    2022
    2123All libs, tools and demos will be compiled for all supported architectures (the ones with an installed toolchain).
     
    4244=== Generate and compile it alone ===
    4345
    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 all development files. But it is not necessary to recompile libs each time you want to compile the demo.
     46You 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.
    4547
    4648The following assumes you want to place the project in ''$FLAIR_ROOT/flair-build/mywork/sinus''
     
    7779}}}
    7880
    79 This script, as or ground control station, launch the program with some arguments.
     81This script, as for ground control station, launches the program with some arguments.
    8082
    8183Note that the script also detects if the system uses Xenomai or not, in order to launch the corresponding program version (real time or not).
    8284
    83 ==== setup ====
     85=== setup ===
    8486
    8587When executing the program, the ground control station should construct itself and show setup and graphs for the sinus.
     
    9496}}}
    9597
    96 x is the drone number, from 18 to 63.
     98x is the drone number, from 18 to 63 in the Heudiasyc configuration.
    9799
    98100=== execution ===
     
    112114With ''PC_address'' your PC IP address.
    113115
    114 This script, as or ground control station, launch the program with some arguments.
     116This script, as for ground control station, launches the program with some arguments.
    115117
    116118Note that the script also detects if the system uses Xenomai or not, in order to launch the corresponding program version (real time or not).