ros-drivers / microstrain_3dmgx2_imu

A driver for IMUs compatible the microstrain 3DM-GX2 and 3DM-GX3 protoco
GNU Lesser General Public License v2.1
16 stars 29 forks source link

Getting "timeout reached" error on gx3-45 #6

Open limjizhengshawn opened 9 years ago

limjizhengshawn commented 9 years ago

Hi all,

I am getting a timeout reached error whenever i try to run the get_id or the imu_node. I am currently using the Microstrain GX3-45 using the factory default settings.

Linux: Ubuntu 14.04 LTS Device: Microstrain gx3-45 ROS: Indigo

Below is the error I'm getting..

get_id:

terminate called after throwing an instance of 'microstrain_3dmgx2_imu::TimeoutException' what(): timeout reached (in microstrain_3dmgx2_imu::IMU:read_with_timeout) Aborted (core dumped)

imu_node:

Exception thrown while starting IMU. This sometimes happens if you are not connected to an IMU or if another process is trying to access the IMU port. You may try 'lsof|grep /dev/ttyUSB0' to see if other processes have the port open. timeout reached (in microstrain_3dmgx2_imu::IMU:read_with_timeout) You may find further details at http://www.ros.org/wiki/microstrain_3dmgx2_imu/Troubleshooting


Using the lsof|grep /dev/ttyUSB0, only imu_node shows when i run the package. When the package is not running, the command returns nothing.

When i connect the imu to windows and use the MIP software, the imu works fine and it is able to get data.

I am wondering if there is anything I'm doing wrong?

ZdenekM commented 9 years ago

As far as I know the GX3-45 is not supported by this node. As we also have this unit in our lab I wrote alternative simple driver for it, see https://github.com/ZdenekM/microstrain_3dm_gx3_45.

limjizhengshawn commented 9 years ago

Hi Zedenek,

Thanks for your quick reply. I've tried using that package too and the device succeeds in pinging and setting to idle.. however it gets stuck in the devStatus function. That is the part where the timeout occurs.. is it because of some setting error?

On Thu, 6 Aug 2015 14:16 Zdeněk Materna notifications@github.com wrote:

As far as I know the GX3-45 is not supported by this node. As we also have this unit in our lab I wrote alternative simple driver for it, see https://github.com/ZdenekM/microstrain_3dm_gx3_45.

— Reply to this email directly or view it on GitHub https://github.com/ros-drivers/microstrain_3dmgx2_imu/issues/6#issuecomment-128262628 .