-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Orientation also in imu msg #20
Comments
I believe if you set |
yes that's true, but only in a custom msg, not in the sensor_msgs/Imu Message |
You are right. I will take a look. Meanwhile, if you already have something, a PR is always welcome. |
a workaround: #include "ros/ros.h" #include <imu_3dm_gx4/FilterOutput.h> class ImuWithOrientation
}; void ImuWithOrientation::imuCallback(const sensor_msgs::Imu::ConstPtr& imu) void ImuWithOrientation::imuFilterCallback(const imu_3dm_gx4::FilterOutput::ConstPtr& orientation) sensor_msgs::Imu temp_imu = current_imu_msg; pub_imu.publish(temp_imu); ImuWithOrientation::ImuWithOrientation() pub_imu = n.advertise<sensor_msgs::Imu>("imu_with_orientation", 100); int main(int argc, char **argv) |
thank you for your repo! It worked for me plug-and-play with the MicroStrain 3DM-GX4-25.
Is it possible to include the orientation in the published imu msg?
Kind regards,
Felix
The text was updated successfully, but these errors were encountered: