I'm trying to make a mobile robot with 4 mecanum wheels. The method that I've chosen is to fuse the sensors(encoder, imu) with EKF and use the SLAM algorithms(Gmapping, Cartographer, etc..). Right now I'm trying to get an Imu values using rosserial.

My IMU is EBIMU24GV4 9DOF with EBRCV24GV4 wireless receiver. This IMU can output Euler angles, Quaternion as pose data, GYRO, ACCELERO, MAGNETO, DISTANE, TEMPERATURE data. I'm a noob to IMU and I think I didn't fully understand about IMU. Also, I don't know what info I need to get Odometry of my mobile robot.(what info among Euler, Quaternion, GYRO, ACCELERO, MAGNETO, DISTANCE do I need? and Why?) Pls Somebody help me.

And For my understanding, I have to get the 4 quaternion values by every timestamp using rosserial(std_msgs/String). Next I have to crop the exact data I need(w, x, y, z) and put it to sensor_msgs/Imu.Quaternion.msg to use and visualize in ROS for my mobile robot. Is my understanding corrrect?

  • $\begingroup$ Welcome to Robotics Daidalos99, but I'm afraid that it is not clear what you are asking. We prefer practical, answerable questions based on actual problems that you face, so it's a good idea to include details of what you want to understand, what you've researched so far, what you found & what you expected to find. Please take a look at How to Ask & tour for information on how stack exchange works and use the Robotics question checklist to edit your question to make it clearer. $\endgroup$
    – Chuck
    Commented Sep 28, 2022 at 14:12
  • $\begingroup$ You seem to be asking several questions at once (what is an IMU? What data do I need from an IMU? How do I use that data? How do I access that data?) The ultimate question seems to be you outlining how you would get the data - get the 4 quaternion values [...] using rosserial [...] crop the exact data I need (w, x, y, z) and put it to sensor_msgs/Imu.Quaternion.msg. You seem to understand the steps - have you tried them? Are you having issues? $\endgroup$
    – Chuck
    Commented Sep 28, 2022 at 14:14


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.