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

Compiling error on microstrain_3dmgx2_imu package [closed]

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

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/imu_node.cc: In member function ‘void ImuNode::getData(sensor_msgs::Imu&)’: /home/andreu/rosSw-extra/imu_drivers/microstrain_3dmgx2_imu/imu_node.cc:450:6: error: ‘Matrix3x3’ is not a member of ‘tf’ /home/andreu/rosSw-extra/imu_drivers/microstrain_3dmgx2_imu/imu_node.cc:453:5: error: ‘Matrix3x3’ is not a member of ‘tf’

...

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

Thanks !

Andreu

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
1

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

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

Comments

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 -0600 )edit
1
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 -0600 )edit
Great ! Thanks
Andreu gravatar image Andreu  ( 2012-02-11 19:19:09 -0600 )edit

Question Tools

Stats

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

Seen: 416 times

Last updated: Feb 11 '12