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 to connect the IMU to a ROS system for consistent stream data logging? #128

Closed
tsurudyne opened this issue Oct 2, 2020 · 3 comments
Closed

Comments

@tsurudyne
Copy link

Hi @TixiaoShan , thank you for your excellent work and beautiful source code.

When I tried mapping with your dataset(casual_walk.bag, park.bag, etc..), I was able to generate clear and detailed maps.
However, when I tried to verify the mapping using own data, I had a problem.
The lidar I used is VLP16 and the IMU is 3DM-GX5-25.
The mapping seems to be successful, but it looks like the point cloud of the object is noisier than when using your dataset.

I'm guessing this is a problem with the IMU data.
According to the 3DM-GX5-25 manual(p.28), data streaming is inconsistent when using USB.
However, I connect the IMU and PC via USB and use ros_mscl to set imu_data_rate to 500Hz for logging.
Therefore, when I checked my rosbag with rqt_bag, the data was inconsistent and multiple data were gathered at about the same moment.

I think you've solved this problem, please tell me how you connected the IMU to the ROS system.

@stale
Copy link

stale bot commented Oct 9, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 9, 2020
@TixiaoShan
Copy link
Owner

Hi @tsurudyne
I used USB to connect the IMU. Actually, I may have the same problem, but I never checked. Here is my IMU driver. If you are interested, you can try it out.
microstrain_mips.zip

@stale stale bot removed the stale label Oct 10, 2020
@tsurudyne
Copy link
Author

Hi @tsurudyne
I used USB to connect the IMU. Actually, I may have the same problem, but I never checked. Here is my IMU driver. If you are interested, you can try it out.
microstrain_mips.zip

Thank you for your reply!
I used the driver you provided and it worked well !
My imu data is now similar to your data.

There seems to be a problem with latest ROS-MSCL package(or MSCL driver).
https://github.com/LORD-MicroStrain/MSCL/issues/53
ros-drivers/microstrain_mips#32

Anyway, I'll try to experiment with mapping tomorrow.

I am looking forward to your research presentation at IROS.
Thank you.

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