ENSTABretagneRobotics / razor_imu_9dof

A ROS driver and firmware to connect to Sparkfun OpenLog Artemis, 9DoF Razor IMU M0, 9DOF Razor IMU and 9DOF Sensor Stick. These boards consists of 3 sensors: magnetic, gyro and acceleration sensor.
BSD 3-Clause "New" or "Revised" License
92 stars 114 forks source link

ImportError: No module named razor_imu_9dof.cfg #41

Closed andrestoga closed 6 years ago

andrestoga commented 6 years ago

Hi,

I'm having the following error while running the imu_node.py:

from razor_imu_9dof.cfg import imuConfig ImportError: No module named razor_imu_9dof.cfg

I looked in the repos and indeed there is no file named razor_imu_9dof.cfg. Only imu.cfg

My workaround was to comment out the lines of the node code where a variable of that file is used. Of course, the Dynamic Reconfigure is not available because of that.

Any help would be appreciated.

P.S. I'm using Ubuntu 16.04 with Kinetic.

Best,

andrestoga commented 6 years ago

Hi,

I forgot to build the package with catkin_make in order to generate the files for the dynamic reconfigure.

Best,

subodh-malgonde commented 6 years ago

I had the same problem and my case I forgot to source devel/setup.bash