error with package imu_9_dof
I'm new to ROS and i'm trying to do a project starting with the imu sensor stick. While trying to convert the raw data (raw, pitch & yaw) from the IMU 9dof sensor to ros data, I've got a problem with this line:
imu.orientation.x = tf::createQuaternionFromYaw(0.0);
And this derived the error:
error: cannot convert ‘tf::Quaternion’ to ‘geometry_msgs::Quaternion_<std::allocator<void> >::_x_type {aka double}’ in assignment.
Any help is appreciated. Thanks :)