Ask Your Question

Compiling error on microstrain_3dmgx2_imu package [closed]

asked 2012-02-11 05:19:56 -0500

Hi all,

I'm using electric, with Ubuntu 11.10.

I've recently downloaded the stack imu_drivers (version 1.3.1) and I've done:

 $ rosdep install microstrain_3dmgx2_imu

 All required rosdeps installed successfully

 $ rosmake microstrain_3dmgx2_imu

and I get the followig error:


/home/andreu/rosSw-extra/imu_drivers/microstrain_3dmgx2_imu/ In member function ‘void ImuNode::getData(sensor_msgs::Imu&)’: /home/andreu/rosSw-extra/imu_drivers/microstrain_3dmgx2_imu/ error: ‘Matrix3x3’ is not a member of ‘tf’ /home/andreu/rosSw-extra/imu_drivers/microstrain_3dmgx2_imu/ error: ‘Matrix3x3’ is not a member of ‘tf’


Has anyone compiled successfully this package under electric+Ubuntu11.10 ?

Thanks !


edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Andreu
close date 2015-07-01 08:59:33.189468

1 Answer

Sort by » oldest newest most voted

answered 2012-02-11 07:05:35 -0500

ahendrix gravatar image

Why not install the imu_drivers from debs? sudo apt-get install ros-electric-imu-drivers

I suspect that newer versions of the imu drivers use the Fuerte tf API; the last version of the imu drivers that was released into electric is 1.2.4

edit flag offensive delete link more


THanks ! Installing the deb pkg works fine. But, from the ros stack name, how do you infer the deb package name ? Is there a common rule for ros that changes from "aa_bb" ros-stack name to "ros-electric-aa-bb" deb-pkg name ? THanks again !
Andreu gravatar image Andreu  ( 2012-02-11 16:51:37 -0500 )edit
Yes; you can infer the package name by replacing underscores in the package name with dashes, and prepending ros-<version>-. You can also search for deb packages with the package manager, such as 'apt-cache search imu-drivers' or 'apt-cache search ros-electric'
ahendrix gravatar image ahendrix  ( 2012-02-11 17:14:20 -0500 )edit
Great ! Thanks
Andreu gravatar image Andreu  ( 2012-02-11 19:19:09 -0500 )edit

Question Tools


Asked: 2012-02-11 05:19:56 -0500

Seen: 336 times

Last updated: Feb 11 '12