Kobuki "gyro" versus "inertia" packets?
Hello,
I have a Kobuki (a.k.a. TurtleBot 2) and I am trying to understand some of the source code in the kobuki and kobuki_core packages. Specifically, the inertia.hpp file refers to both the angle and the angle_rate. I was wondering how the raw angle is obtained at this low level if only a gyro is used? Also, there is a separate three_axis_gyro.hpp file that seems to be handling the gyro so I'm not sure which data is actually being used to compute the Kobuki's orientation.
Can someone help me find where in the source code the robot's orientation angle (around the z-axis) is actually computed or measured?
Thanks!
patrick