mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-09-13 19:40:19 +08:00
fix: Correct IMU orientation in OBCameraNode
This commit is contained in:
@@ -2228,7 +2228,7 @@ void OBCameraNode::setDefaultIMUMessage(sensor_msgs::msg::Imu &imu_msg) {
|
||||
imu_msg.orientation.x = 0.0;
|
||||
imu_msg.orientation.y = 0.0;
|
||||
imu_msg.orientation.z = 0.0;
|
||||
imu_msg.orientation.w = 0.0;
|
||||
imu_msg.orientation.w = 1.0;
|
||||
|
||||
imu_msg.orientation_covariance = {-1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0};
|
||||
imu_msg.linear_acceleration_covariance = {
|
||||
|
||||
Reference in New Issue
Block a user