Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How activate the IMU frame on Lidar MRS1000 #335

Open
Franklein20 opened this issue May 23, 2024 · 2 comments
Open

How activate the IMU frame on Lidar MRS1000 #335

Franklein20 opened this issue May 23, 2024 · 2 comments

Comments

@Franklein20
Copy link

I am working on integrating the MRS1000 LiDAR with ROS2 Humble, and in addition to point clouds, I also want to utilize the IMU. With the correct configuration, I have the topics for both point clouds and IMU data.

My question concerns the frames for these two types of data. The point clouds are published on the 'cloud' frame, and the IMU data is on the 'imu_link' frame (as indicated in the topics). How can I activate or create the frame for the IMU, because when I visualize the frames, there is nothing displayed for 'imu_link'?

@rostest
Copy link
Collaborator

rostest commented May 24, 2024

Thanks for your feedback. Point cloud messages of type sensor_msgs/PointCloud2 are published on topic "/cloud" with frame id "cloud". IMU messages of type sensor_msgs/Imu are published on topic "/sick_mrs_1xxx/imu" with frame id "imu_link". You can view IMU messages with rostopic echo -p /sick_mrs_1xxx/imu or visualize them with rviz by adding topic "/sick_mrs_1xxx/imu" and setting option "Fixed Frame" to "imu_link". Use a static_transform_publisher like rosrun tf static_transform_publisher 0 0 0 0 0 0 base_frame imu_link 100 to link imu frames to another base frame.

image

@Franklein20
Copy link
Author

ok i see.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants