I am planning to write my own code without using arduplane's code. I tried to include the library file from arduplane into my own code to get the IMU data output (roll pitch yaw, acceleration and GPS) but it doesn't work. May i know how I can achieve that?
You need to be a member of diydrones to add comments!
Replies
Can anyone tell me which are the variables in arduplane's library file that correspond to body attach axis of roll, pitch, yaw, and which are the ones that are corresponding to the global axis of roll pitch yaw?
It might be nice to see your code. What exactly isn't working? How are you incorporating the libraries into your code? A good place to start learning to interface with the libraries is in the examples folder for each library. For example, in arduino/libraries/AP_IMU/examples there's a nice test for the MPU 6000. Start with the code there and see if you can modify it to fit your needs.
~Nate
Hi,
I'm trying the same, so I am interesting in collaborate with someone to make a new code.
Now, I'm using an example call GPS_AUTO (it can find in arducopter code) to obtain the gps coordinates.
Currently I am reading about IMU data output.
I am open to new ideas, advised, suggestions and work in group.
Regards,
Andrés