ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to mount Razor IMU on Clearpath Husky Robot

asked 2017-03-07 07:24:30 -0600

Marcus Barnet gravatar image

updated 2017-03-08 02:35:07 -0600

I hope you can help me with my Razor IMU configuration (SEN-10736). I've followed the razor_imu_9dof tutorial in order to make the board work under ROS Indigo and everything works great!

I'm just getting confused about the IMU orientation on my Clearpath Husky robot: should I mount the board by aligning the x-axis (the axis which points towards the short edge with the connector holes) towards the front bumper of my robot? Or should I use the frame orientation specified on the sensor board?

The side with the electronics component should point up or down?

By looking at the visual tool under ROS, I think I should place the IMU with the short edge pointing towards the front bumper, but what about the component side? Should it face up or down?

  • The roll values should be positive when moving on the right side or on the left side?
  • And the pitch values should be positive when moving up or down?

Thank you!


image description


image description

edit retag flag offensive close merge delete


did you find razor imu to work better than the um7 that comes with the husky?

aarontan gravatar image aarontan  ( 2018-08-08 11:44:53 -0600 )edit

I have a very old husky version and it doesn't include any imu sensor so I can't help you, sorry

Marcus Barnet gravatar image Marcus Barnet  ( 2018-08-08 13:06:48 -0600 )edit

The razor surely worked fine

Marcus Barnet gravatar image Marcus Barnet  ( 2018-08-08 13:07:11 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-03-08 01:46:14 -0600

Humpelstilzchen gravatar image

See the documentation for the razor imu, section "Coordinate Frames" (You have to select indigo first):

The definition of the coordinate frame used by the Razor_AHRS firmware differs from what is printed on the board and also from the ROS coordinate frame. You will be exposed to these differences when testing the Razor AHRS and ROS topic output in the testing section below.

The Razor_AHRS firmware uses:

X axis pointing forward (towards the short edge with the connector holes)

Y axis pointing to the right

Z axis pointing down

Ignore the labelling on the board and use this coordinate frame when mounting the Razor.

So to answer your question, you are correct:

  • Ignore the axis labels
  • Components up
  • Roll positive clockwise
  • Pitch positive on front down
edit flag offensive delete link more


Thank you for your answer! I edited my first post in order to add a picture. The Z-axis should point UP since the Z-axis of the robot points up, is it correct?

Marcus Barnet gravatar image Marcus Barnet  ( 2017-03-08 02:30:47 -0600 )edit

This is correct.

Humpelstilzchen gravatar image Humpelstilzchen  ( 2017-03-08 02:57:22 -0600 )edit

Thank you for your support!

Marcus Barnet gravatar image Marcus Barnet  ( 2017-03-08 06:59:08 -0600 )edit

Question Tools

1 follower


Asked: 2017-03-07 07:24:30 -0600

Seen: 873 times

Last updated: Mar 08 '17