Hi to all,
I need to get, for my application, calibrated values of the acceleration.
Studying the MotioApps library, i saw that the function, that calculates the accelerations calibrated (and not only), is included in the file mlarray_lite.c.
Using the code of the demo teapot (with microsoft visual c + + 2010 Express), i was able,by simple printf, to obtain the quaternion and the Euler angles.
I would ask what features should I call in order to display the values of the acceleration inside the teapot demo
Thanks
- Log in to post comments
phpbb Topic ID
14517
Re: Re: Problem to read Acceleration Biases
For the motionFit SDK, you can transmit the accel values by modifying the MSP430 source code, or sending an "mfa" command over the bluetooth connection. The device will then include the values for accel. You can look at the functionality within the main.c file, for the MSP 430 motionapps project.
Re: Re: Problem to read Acceleration Biases
I would like to know if there's a way similar to that proposed for the MPU-6050 Sensor Board for AVR UC3.
As software i use Atmel studio 6 and I opened the project "EMBEDDED_MOTIONAPPS-V2_0_2Rel-MPU6050-6axis-2012-05-02-1255".
In the main I have seen that the functions are invoked to calculate the various parameters such as acceleration, angular velocity and I would like to know if there is a way to obtain these values to a file or displayed on the screen. (I got the Euler angles and quaternions using the teapot demo, but not the accelerations).
Thanks
Re: Re: Problem to read Acceleration Biases
For that version of the software you'll find various inv_get() functions within the ml_lite.h file. You should use inv_get_accel() in order to read the calibrated accel data.
Re: Re: Problem to read Acceleration Biases
Now I can read the acceleration at a given time (by a breakpoint), but I would like to know if there is any way to get the acceleration from moment to moment stored in a file.
Thanks
Re: Re: Problem to read Acceleration Biases
You should be able to print and then log to file, according to your application requirements. We don't provide a logger for the UC3 project.