Skip to content

Commit

Permalink
PR #2516 from Gilaadb: publish actual IMU optical frame ID in IMU mes…
Browse files Browse the repository at this point in the history
…sages
  • Loading branch information
Nir-Az authored Oct 25, 2022
2 parents 4315392 + 882a2fa commit 1ab947b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion realsense2_camera/src/base_realsense_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ void BaseRealSenseNode::FillImuData_Copy(const CimuData imu_data, std::deque<sen

void BaseRealSenseNode::ImuMessage_AddDefaultValues(sensor_msgs::msg::Imu& imu_msg)
{
imu_msg.header.frame_id = DEFAULT_IMU_OPTICAL_FRAME_ID;
imu_msg.header.frame_id = IMU_OPTICAL_FRAME_ID;
imu_msg.orientation.x = 0.0;
imu_msg.orientation.y = 0.0;
imu_msg.orientation.z = 0.0;
Expand Down

0 comments on commit 1ab947b

Please sign in to comment.