yujinrobot / kobuki_core

Core (non-ros) kobuki packages.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting input from external IMU

jonpol01 opened this issue · comments

ecl::Angle<double> Kobuki::getHeading() const

double Kobuki::getAngularVelocity() const

I have an external IMU and want to publish it to ros as a replacement for the current imu on turtlebot2.
I am just wondering on how the calculations are made for these two functions or rather on "Inertial Sensor Data" from kobuki protocol specifications.

btw, i have both acceleration and gyro datas. i just need the formula for the Angle and Angle Rate.