Skip to content

Commit

Permalink
Renames node frame_id to skip warnings in tf2. fixes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
mdleiton committed Feb 12, 2022
1 parent b3a9d23 commit cd85d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MPU9255_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ int main(int argc, char **argv){

data_mag.header.stamp = ros::Time::now();
data_imu.header.stamp = data_mag.header.stamp;
data_imu.header.frame_id = "/imu_link";
data_imu.header.frame_id = "imu_link";

float conversion_gyro = 3.1415/(180.0*32.8f);
float conversion_acce = 9.8/16384.0f;
Expand Down

0 comments on commit cd85d1d

Please sign in to comment.