Motion and Environmental sensor reader application connected via BLE to ST BlueMS iOS/Android application.

Dependencies:   HTS221 LIS3MDL LPS22HB LSM303AGR LSM6DSL

Fork of MOTENV_Mbed by ST Expansion SW Team

This application supports three different sets of ST hardware boards:

  • STEVAL-STLKT01V1 (aka SensorTile)
  • X-NUCLEO-IDB05A1 and X-NUCLEO-IKS01A2 expansion boards
  • B-L475E-IOT01A IoT Discovery board

    and runs over four different target configurations:

  • Nucleo F401RE + X-NUCLEO-IDB05A1 + X-NUCLEO-IKS01A2 (set target NUCLEO_F401RE)
  • DISCO_L475VG_IOT01A (set target DISCO_L475VG_IOT01A)
  • Nucleo L476RG + CRADLE + SENSORTILE (set compile target NUCLEO_L476RG)
  • Nucleo L476RG + CRADLE_EXPANSION_BOARD + SENSORTILE (set compile target NUCLEO_L476RG, remove macro MINI_CRADLE from mbed_app.json)

The first 2 configurations do not require any HW modifications (just use the above indicated targets).

Third configuration (CRADLE ) only requires to remove the two ST-LINK jumpers and JP6 from the Nucleo L476RG board in order to allow flashing the SensorTile through the Nucleo Jtag controller. Once flashed, if the battery is properly plugged and charged, the SensorTile could be mounted in the plastic enclosure being able to run as a small stand alone wearable device. Please note that this configuration do not provide a serial console for printf.

To enable last configuration (CRADLE_EXPANSION_BOARD), follow the steps below:

  • On Nucleo L476RG
    • open the two "ST-LINK" jumpers
    • open the MCU power supply jumper JP6
    • close the solder bridges SB63 and SB62 (to enable the serial console)
  • On SensorTile Arduino Cradle close the solder bridges SB21 and SB10 (to enable the serial console) and move the jumper J2 to the 5V position
  • Plug the Sensor Tile on the Arduino Cradle
  • Plug the Cradle on the Nucleo Arduino connector and connect the debug flat cable between Cradle and Nucleo Jtag connector (the cradle pin1 -identified by a dot- must be connected to the Nucleo pin1 (dot) of SWD CN4 jtag connector)
  • Plug the Nucleo USB cable on PC (a new COM port should appear); no need to plug the micro USB cable on the cradle.
  • Open a PC terminal to see the messages
  • Compile from mbed CLI or on-line compiler removing macro MINI_CRADLE from mbed_app.json file and selecting NUCLEO_ L476RG target
  • Flash the board with the binary

For all configurations on an Android or iOS device download and open the ST BlueMS application and connect to "MotEnvMbedOS" BLE device to see the sensor data.

For all configurations is also possible to add a 9 axis MotionFX sensor fusion library, which is part of the X-CUBE-MEMS package at this link.
The library comes in three flavours, choose your preferred according to the toolchain used (IAR, Keil or GC, Keil version should be used for the online compiler) and copy it in the Middlewares\ST\STM32_MotionFX_Library\Lib directory changing the file extension according to the toolchain used (.a for GCC, .ar for Keil).
In the file mbed_app.json add the macro definition "USE_SENSOR_FUSION_LIB" to the chosen target.
If compiling from CLI and using GCC_ARM toolchain option, in the file \mbed-os\tools\toolchains\gcc.py change the compiling option from

        if target.core == "Cortex-M4F":
            self.cpu.append("-mfpu=fpv4-sp-d16")
            self.cpu.append("-mfloat-abi=softfp")

to

        if target.core == "Cortex-M4F":
            self.cpu.append("-mfpu=fpv4-sp-d16")
            self.cpu.append("-mfloat-abi=hard")

and compile.

Committer:
mapellil
Date:
Mon Oct 12 15:16:57 2015 +0000
Revision:
0:e93a11b4e044
Child:
9:2693f9ef8ff7
dft DS3 not present

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mapellil 0:e93a11b4e044 1 /**
mapellil 0:e93a11b4e044 2 ******************************************************************************
mapellil 0:e93a11b4e044 3 * @file MotionFX_Manager.c
mapellil 0:e93a11b4e044 4 * @author Central Lab
mapellil 0:e93a11b4e044 5 * @version V1.1.0
mapellil 0:e93a11b4e044 6 * @date 20-Jannuary-2015
mapellil 0:e93a11b4e044 7 * @brief This file includes sensor fusion interface functions
mapellil 0:e93a11b4e044 8 ******************************************************************************
mapellil 0:e93a11b4e044 9 * @attention
mapellil 0:e93a11b4e044 10 *
mapellil 0:e93a11b4e044 11 * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
mapellil 0:e93a11b4e044 12 *
mapellil 0:e93a11b4e044 13 * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
mapellil 0:e93a11b4e044 14 * You may not use this file except in compliance with the License.
mapellil 0:e93a11b4e044 15 * You may obtain a copy of the License at:
mapellil 0:e93a11b4e044 16 *
mapellil 0:e93a11b4e044 17 * http://www.st.com/software_license_agreement_liberty_v2
mapellil 0:e93a11b4e044 18 *
mapellil 0:e93a11b4e044 19 * Redistribution and use in source and binary forms, with or without modification,
mapellil 0:e93a11b4e044 20 * are permitted provided that the following conditions are met:
mapellil 0:e93a11b4e044 21 * 1. Redistributions of source code must retain the above copyright notice,
mapellil 0:e93a11b4e044 22 * this list of conditions and the following disclaimer.
mapellil 0:e93a11b4e044 23 * 2. Redistributions in binary form must reproduce the above copyright notice,
mapellil 0:e93a11b4e044 24 * this list of conditions and the following disclaimer in the documentation
mapellil 0:e93a11b4e044 25 * and/or other materials provided with the distribution.
mapellil 0:e93a11b4e044 26 * 3. Neither the name of STMicroelectronics nor the names of its contributors
mapellil 0:e93a11b4e044 27 * may be used to endorse or promote products derived from this software
mapellil 0:e93a11b4e044 28 * without specific prior written permission.
mapellil 0:e93a11b4e044 29 *
mapellil 0:e93a11b4e044 30 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
mapellil 0:e93a11b4e044 31 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
mapellil 0:e93a11b4e044 32 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
mapellil 0:e93a11b4e044 33 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
mapellil 0:e93a11b4e044 34 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
mapellil 0:e93a11b4e044 35 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
mapellil 0:e93a11b4e044 36 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
mapellil 0:e93a11b4e044 37 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
mapellil 0:e93a11b4e044 38 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
mapellil 0:e93a11b4e044 39 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mapellil 0:e93a11b4e044 40 *
mapellil 0:e93a11b4e044 41 ******************************************************************************
mapellil 0:e93a11b4e044 42 */
mapellil 0:e93a11b4e044 43
mapellil 0:e93a11b4e044 44 /* Includes ------------------------------------------------------------------*/
mapellil 0:e93a11b4e044 45 #include "MotionFX_Manager.h"
mapellil 0:e93a11b4e044 46
mapellil 0:e93a11b4e044 47 #ifdef USE_SENSOR_FUSION_LIB
mapellil 0:e93a11b4e044 48
mapellil 0:e93a11b4e044 49 #include "osx_license.h"
mapellil 0:e93a11b4e044 50 #define FROM_MG_TO_G 0.001
mapellil 0:e93a11b4e044 51 #define FROM_MDPS_TO_DPS 0.001
mapellil 0:e93a11b4e044 52 #define FROM_MGAUSS_TO_UT50 (0.1f/50.0f)
mapellil 0:e93a11b4e044 53
mapellil 0:e93a11b4e044 54 /* SF Data structure */
mapellil 0:e93a11b4e044 55 static volatile osxMFX_output iDataOUT;
mapellil 0:e93a11b4e044 56 static volatile osxMFX_input iDataIN;
mapellil 0:e93a11b4e044 57
mapellil 0:e93a11b4e044 58 /* Private define ------------------------------------------------------------*/
mapellil 0:e93a11b4e044 59 #define SAMPLETODISCARD 15
mapellil 0:e93a11b4e044 60
mapellil 0:e93a11b4e044 61 /* Private Variables -------------------------------------------------------------*/
mapellil 0:e93a11b4e044 62 static volatile int sampleToDiscard = SAMPLETODISCARD;
mapellil 0:e93a11b4e044 63 static float MotionFX_engine_deltatime = DELTATIMESENSORFUSION;
mapellil 0:e93a11b4e044 64 static int discardedCount = 0;
mapellil 0:e93a11b4e044 65
mapellil 0:e93a11b4e044 66 static osxMFX_knobs iKnobs;
mapellil 0:e93a11b4e044 67 static osxMFX_knobs* ipKnobs;
mapellil 0:e93a11b4e044 68
mapellil 0:e93a11b4e044 69 /**
mapellil 0:e93a11b4e044 70 * @brief Run sensor fusion Algo
mapellil 0:e93a11b4e044 71 * @param None
mapellil 0:e93a11b4e044 72 * @retval None
mapellil 0:e93a11b4e044 73 */
mapellil 0:e93a11b4e044 74 void MotionFX_manager_run(AxesRaw_t *ACC_Value, AxesRaw_t *GYR_Value, AxesRaw_t *MAG_Value, osxMFX_calibFactor & magOffset)
mapellil 0:e93a11b4e044 75 {
mapellil 0:e93a11b4e044 76 iDataIN.gyro[0] = GYR_Value->AXIS_X * FROM_MDPS_TO_DPS;
mapellil 0:e93a11b4e044 77 iDataIN.gyro[1] = GYR_Value->AXIS_Y * FROM_MDPS_TO_DPS;
mapellil 0:e93a11b4e044 78 iDataIN.gyro[2] = GYR_Value->AXIS_Z * FROM_MDPS_TO_DPS;
mapellil 0:e93a11b4e044 79
mapellil 0:e93a11b4e044 80 iDataIN.acc[0] = ACC_Value->AXIS_X * FROM_MG_TO_G;
mapellil 0:e93a11b4e044 81 iDataIN.acc[1] = ACC_Value->AXIS_Y * FROM_MG_TO_G;
mapellil 0:e93a11b4e044 82 iDataIN.acc[2] = ACC_Value->AXIS_Z * FROM_MG_TO_G;
mapellil 0:e93a11b4e044 83
mapellil 0:e93a11b4e044 84 iDataIN.mag[0] = (MAG_Value->AXIS_X - magOffset.magOffX) * FROM_MGAUSS_TO_UT50;
mapellil 0:e93a11b4e044 85 iDataIN.mag[1] = (MAG_Value->AXIS_Y - magOffset.magOffY) * FROM_MGAUSS_TO_UT50;
mapellil 0:e93a11b4e044 86 iDataIN.mag[2] = (MAG_Value->AXIS_Z - magOffset.magOffZ) * FROM_MGAUSS_TO_UT50;
mapellil 0:e93a11b4e044 87
mapellil 0:e93a11b4e044 88 if(discardedCount == sampleToDiscard){
mapellil 0:e93a11b4e044 89 osx_MotionFX_propagate((osxMFX_output*)&iDataOUT, (osxMFX_input*)&iDataIN, MotionFX_engine_deltatime);
mapellil 0:e93a11b4e044 90
mapellil 0:e93a11b4e044 91 osx_MotionFX_update((osxMFX_output*)&iDataOUT, (osxMFX_input*)&iDataIN, MotionFX_engine_deltatime, NULL);
mapellil 0:e93a11b4e044 92 } else {
mapellil 0:e93a11b4e044 93 discardedCount++;
mapellil 0:e93a11b4e044 94 }
mapellil 0:e93a11b4e044 95 }
mapellil 0:e93a11b4e044 96
mapellil 0:e93a11b4e044 97
mapellil 0:e93a11b4e044 98 /**
mapellil 0:e93a11b4e044 99 * @brief Initialise MotionFX engine
mapellil 0:e93a11b4e044 100 * @param None
mapellil 0:e93a11b4e044 101 * @retval None
mapellil 0:e93a11b4e044 102 */
mapellil 0:e93a11b4e044 103 bool MotionFX_manager_init(bool DS3_OnBoard, osxMFX_calibFactor & magOffset)
mapellil 0:e93a11b4e044 104 {
mapellil 0:e93a11b4e044 105 // ST MotionFX Engine Initializations
mapellil 0:e93a11b4e044 106 ipKnobs =&iKnobs;
mapellil 0:e93a11b4e044 107
mapellil 0:e93a11b4e044 108 if(!osx_MotionFX_initialize()) {
mapellil 0:e93a11b4e044 109 printf("Error License authentication\n\r");
mapellil 0:e93a11b4e044 110 return false;
mapellil 0:e93a11b4e044 111 }
mapellil 0:e93a11b4e044 112 else {
mapellil 0:e93a11b4e044 113 char VersionMotionFX[36];
mapellil 0:e93a11b4e044 114 osx_MotionFX_getLibVersion(VersionMotionFX);
mapellil 0:e93a11b4e044 115 printf("Enabled %s\n\r",VersionMotionFX);
mapellil 0:e93a11b4e044 116 }
mapellil 0:e93a11b4e044 117
mapellil 0:e93a11b4e044 118 osx_MotionFX_compass_init();
mapellil 0:e93a11b4e044 119
mapellil 0:e93a11b4e044 120 osx_MotionFX_getKnobs(ipKnobs);
mapellil 0:e93a11b4e044 121
mapellil 0:e93a11b4e044 122 /* Values For DS0/DS3: These values must be not changed */
mapellil 0:e93a11b4e044 123 ipKnobs->gbias_acc_th_sc_6X = 2*0.000765;
mapellil 0:e93a11b4e044 124 ipKnobs->gbias_gyro_th_sc_6X = 2*0.002;
mapellil 0:e93a11b4e044 125 ipKnobs->gbias_mag_th_sc_6X = 2*0.001500;
mapellil 0:e93a11b4e044 126
mapellil 0:e93a11b4e044 127 ipKnobs->gbias_acc_th_sc_9X = 2*0.000765;
mapellil 0:e93a11b4e044 128 ipKnobs->gbias_gyro_th_sc_9X = 2*0.002;
mapellil 0:e93a11b4e044 129 ipKnobs->gbias_mag_th_sc_9X = 2*0.001500;
mapellil 0:e93a11b4e044 130
mapellil 0:e93a11b4e044 131
mapellil 0:e93a11b4e044 132 if(DS3_OnBoard) {
mapellil 0:e93a11b4e044 133 /* DS3 */
mapellil 0:e93a11b4e044 134 ipKnobs->acc_orientation[0] ='n';
mapellil 0:e93a11b4e044 135 ipKnobs->acc_orientation[1] ='w';
mapellil 0:e93a11b4e044 136 ipKnobs->acc_orientation[2] ='u';
mapellil 0:e93a11b4e044 137
mapellil 0:e93a11b4e044 138 ipKnobs->gyro_orientation[0] = 'n';
mapellil 0:e93a11b4e044 139 ipKnobs->gyro_orientation[1] = 'w';
mapellil 0:e93a11b4e044 140 ipKnobs->gyro_orientation[2] = 'u';
mapellil 0:e93a11b4e044 141 } else {
mapellil 0:e93a11b4e044 142 /* DS0 */
mapellil 0:e93a11b4e044 143 ipKnobs->acc_orientation[0] ='e';
mapellil 0:e93a11b4e044 144 ipKnobs->acc_orientation[1] ='n';
mapellil 0:e93a11b4e044 145 ipKnobs->acc_orientation[2] ='u';
mapellil 0:e93a11b4e044 146
mapellil 0:e93a11b4e044 147 ipKnobs->gyro_orientation[0] = 'e';
mapellil 0:e93a11b4e044 148 ipKnobs->gyro_orientation[1] = 'n';
mapellil 0:e93a11b4e044 149 ipKnobs->gyro_orientation[2] = 'u';
mapellil 0:e93a11b4e044 150 }
mapellil 0:e93a11b4e044 151 ipKnobs->mag_orientation[0] = 's';
mapellil 0:e93a11b4e044 152 ipKnobs->mag_orientation[1] = 'e';
mapellil 0:e93a11b4e044 153 ipKnobs->mag_orientation[2] = 'u';
mapellil 0:e93a11b4e044 154
mapellil 0:e93a11b4e044 155 ipKnobs->output_type = OSXMFX_ENGINE_OUTPUT_ENU;
mapellil 0:e93a11b4e044 156
mapellil 0:e93a11b4e044 157 ipKnobs->LMode = 1;
mapellil 0:e93a11b4e044 158
mapellil 0:e93a11b4e044 159 ipKnobs->modx = 1;
mapellil 0:e93a11b4e044 160
mapellil 0:e93a11b4e044 161 osx_MotionFX_setKnobs(ipKnobs);
mapellil 0:e93a11b4e044 162
mapellil 0:e93a11b4e044 163 osx_MotionFX_enable_6X(OSXMFX_ENGINE_DISABLE);
mapellil 0:e93a11b4e044 164
mapellil 0:e93a11b4e044 165 osx_MotionFX_enable_9X(OSXMFX_ENGINE_DISABLE);
mapellil 0:e93a11b4e044 166
mapellil 0:e93a11b4e044 167 /* Number of Sample to Discard */
mapellil 0:e93a11b4e044 168 sampleToDiscard = SAMPLETODISCARD;
mapellil 0:e93a11b4e044 169 discardedCount = 0;
mapellil 0:e93a11b4e044 170 MotionFX_engine_deltatime = DELTATIMESENSORFUSION;
mapellil 0:e93a11b4e044 171
mapellil 0:e93a11b4e044 172 /* Reset MagnetoOffset */
mapellil 0:e93a11b4e044 173 magOffset.magOffX = magOffset.magOffY= magOffset.magOffZ=0;
mapellil 0:e93a11b4e044 174
mapellil 0:e93a11b4e044 175 return true;
mapellil 0:e93a11b4e044 176 }
mapellil 0:e93a11b4e044 177
mapellil 0:e93a11b4e044 178 /**
mapellil 0:e93a11b4e044 179 * @brief Starts 6 axes MotionFX engine
mapellil 0:e93a11b4e044 180 * @param None
mapellil 0:e93a11b4e044 181 * @retval None
mapellil 0:e93a11b4e044 182 */
mapellil 0:e93a11b4e044 183 void MotionFX_manager_start_6X(void)
mapellil 0:e93a11b4e044 184 {
mapellil 0:e93a11b4e044 185 osx_MotionFX_enable_6X(OSXMFX_ENGINE_ENABLE);
mapellil 0:e93a11b4e044 186 }
mapellil 0:e93a11b4e044 187
mapellil 0:e93a11b4e044 188
mapellil 0:e93a11b4e044 189 /**
mapellil 0:e93a11b4e044 190 * @brief Stops 6 axes MotionFX engine
mapellil 0:e93a11b4e044 191 * @param None
mapellil 0:e93a11b4e044 192 * @retval None
mapellil 0:e93a11b4e044 193 */
mapellil 0:e93a11b4e044 194 void MotionFX_manager_stop_6X(void)
mapellil 0:e93a11b4e044 195 {
mapellil 0:e93a11b4e044 196 osx_MotionFX_enable_6X(OSXMFX_ENGINE_DISABLE);
mapellil 0:e93a11b4e044 197 }
mapellil 0:e93a11b4e044 198
mapellil 0:e93a11b4e044 199
mapellil 0:e93a11b4e044 200 /**
mapellil 0:e93a11b4e044 201 * @brief Starts 9 axes MotionFX engine
mapellil 0:e93a11b4e044 202 * @param None
mapellil 0:e93a11b4e044 203 * @retval None
mapellil 0:e93a11b4e044 204 */
mapellil 0:e93a11b4e044 205 void MotionFX_manager_start_9X(void)
mapellil 0:e93a11b4e044 206 {
mapellil 0:e93a11b4e044 207 sampleToDiscard = SAMPLETODISCARD;
mapellil 0:e93a11b4e044 208 osx_MotionFX_enable_9X(OSXMFX_ENGINE_ENABLE);
mapellil 0:e93a11b4e044 209 }
mapellil 0:e93a11b4e044 210
mapellil 0:e93a11b4e044 211
mapellil 0:e93a11b4e044 212 /**
mapellil 0:e93a11b4e044 213 * @brief Stops 9 axes MotionFX engine
mapellil 0:e93a11b4e044 214 * @param None
mapellil 0:e93a11b4e044 215 * @retval None
mapellil 0:e93a11b4e044 216 */
mapellil 0:e93a11b4e044 217 void MotionFX_manager_stop_9X(void)
mapellil 0:e93a11b4e044 218 {
mapellil 0:e93a11b4e044 219 osx_MotionFX_enable_9X(OSXMFX_ENGINE_DISABLE);
mapellil 0:e93a11b4e044 220 }
mapellil 0:e93a11b4e044 221
mapellil 0:e93a11b4e044 222
mapellil 0:e93a11b4e044 223 /**
mapellil 0:e93a11b4e044 224 * @brief Get MotionFX Engine data Out
mapellil 0:e93a11b4e044 225 * @param None
mapellil 0:e93a11b4e044 226 * @retval osxMFX_output *iDataOUT MotionFX Engine data Out
mapellil 0:e93a11b4e044 227 */
mapellil 0:e93a11b4e044 228 osxMFX_output* MotionFX_manager_getDataOUT(void)
mapellil 0:e93a11b4e044 229 {
mapellil 0:e93a11b4e044 230 return (osxMFX_output*)&iDataOUT;
mapellil 0:e93a11b4e044 231 }
mapellil 0:e93a11b4e044 232
mapellil 0:e93a11b4e044 233
mapellil 0:e93a11b4e044 234 /**
mapellil 0:e93a11b4e044 235 * @brief Get MotionFX Engine data IN
mapellil 0:e93a11b4e044 236 * @param None
mapellil 0:e93a11b4e044 237 * @retval osxMFX_input *iDataIN MotionFX Engine data IN
mapellil 0:e93a11b4e044 238 */
mapellil 0:e93a11b4e044 239 osxMFX_input* MotionFX_manager_getDataIN(void)
mapellil 0:e93a11b4e044 240 {
mapellil 0:e93a11b4e044 241 return (osxMFX_input*)&iDataIN;
mapellil 0:e93a11b4e044 242 }
mapellil 0:e93a11b4e044 243
mapellil 0:e93a11b4e044 244 #else /** USE_SENSOR_FUSION_LIB generate stub functions **/
mapellil 0:e93a11b4e044 245
mapellil 0:e93a11b4e044 246 void MotionFX_manager_run(AxesRaw_t *ACC_Value, AxesRaw_t *GYR_Value, AxesRaw_t *MAG_Value, osxMFX_calibFactor & magOffset)
mapellil 0:e93a11b4e044 247 {
mapellil 0:e93a11b4e044 248 }
mapellil 0:e93a11b4e044 249
mapellil 0:e93a11b4e044 250 bool MotionFX_manager_init(bool DS3_OnBoard, osxMFX_calibFactor & magOffset)
mapellil 0:e93a11b4e044 251 {
mapellil 0:e93a11b4e044 252 return false;
mapellil 0:e93a11b4e044 253 }
mapellil 0:e93a11b4e044 254
mapellil 0:e93a11b4e044 255 void MotionFX_manager_start_6X(void)
mapellil 0:e93a11b4e044 256 {
mapellil 0:e93a11b4e044 257 }
mapellil 0:e93a11b4e044 258
mapellil 0:e93a11b4e044 259 void MotionFX_manager_stop_6X(void)
mapellil 0:e93a11b4e044 260 {
mapellil 0:e93a11b4e044 261 }
mapellil 0:e93a11b4e044 262
mapellil 0:e93a11b4e044 263 void MotionFX_manager_start_9X(void)
mapellil 0:e93a11b4e044 264 {
mapellil 0:e93a11b4e044 265 }
mapellil 0:e93a11b4e044 266
mapellil 0:e93a11b4e044 267 void MotionFX_manager_stop_9X(void)
mapellil 0:e93a11b4e044 268 {
mapellil 0:e93a11b4e044 269 }
mapellil 0:e93a11b4e044 270
mapellil 0:e93a11b4e044 271 osxMFX_output* MotionFX_manager_getDataOUT(void)
mapellil 0:e93a11b4e044 272 {
mapellil 0:e93a11b4e044 273 return NULL;
mapellil 0:e93a11b4e044 274 }
mapellil 0:e93a11b4e044 275
mapellil 0:e93a11b4e044 276 osxMFX_input* MotionFX_manager_getDataIN(void)
mapellil 0:e93a11b4e044 277 {
mapellil 0:e93a11b4e044 278 return NULL;
mapellil 0:e93a11b4e044 279 }
mapellil 0:e93a11b4e044 280
mapellil 0:e93a11b4e044 281 #endif /** USE_SENSOR_FUSION_LIB **/
mapellil 0:e93a11b4e044 282 /******************* (C) COPYRIGHT 2015 STMicroelectronics *****END OF FILE****/