| # |
| # For a description of the syntax of this configuration file, |
| # see the file kconfig-language.txt in the NuttX tools repository. |
| # |
| |
| config EXAMPLES_SENSOR_FUSION |
| bool "Sensor Fusion Example" |
| default n |
| ---help--- |
| Sensor fusion example that combines gyro and accelerometer data |
| using the Madgwick algorithm to provide yaw, pitch and roll angles. |
| |
| if EXAMPLES_SENSOR_FUSION |
| |
| config EXAMPLES_SENSOR_FUSION_SAMPLES |
| int "Number of samples to acquire" |
| default 100 |
| |
| config EXAMPLES_SENSOR_FUSION_SAMPLE_RATE |
| int "Sample rate in ms" |
| default 100 |
| |
| config EXAMPLES_SENSOR_FUSION_PROGNAME |
| string "Program name" |
| default "sensor_fusion" |
| ---help--- |
| This is the name of the program that will be used when the NSH ELF |
| program is installed. |
| |
| config EXAMPLES_SENSOR_FUSION_PRIORITY |
| int "Sensor Fusion task priority" |
| default 100 |
| |
| config EXAMPLES_SENSOR_FUSION_STACKSIZE |
| int "Sensor Fusion stack size" |
| default DEFAULT_TASK_STACKSIZE |
| |
| endif |