Code Monkey home page Code Monkey logo

bosch_imu_driver's Introduction

bosch_imu_driver

A driver for the sensor IMU Bosch BNO055. It was implemented only the UART communication interface (correct sensor mode should be selected).

Parameters:

  • port (default: '/dev/ttyUSB0') - path to USB port where device was connected.
  • frame_id (default: 'imu_link') - the frame in which sensor data will be published.
  • frequency (default: 100) - the frequency of reading from device and publishing data in Hz.
  • operation_mode (default: OPER_MODE_NDOF) - the operation mode of sensor BNO055. Other modes could be found in sensor datasheet.
  • axis_remap_config (default: 0x24) - the axis remap configuration. Refer to the datasheet page 27.
  • axis_remap_sign (default: 0x00) - the axis remap sign. Refer to the datasheet page 27.

Publishes:

bosch_imu_driver's People

Contributors

markus-k avatar mdrwiega avatar yoneken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bosch_imu_driver's Issues

IndexError: bytearray index out of range

I run the roslaunch imu.launch, then it works good, despite it shows a warning message periodically "Something bad when reading". This warning suggests that some readings of imu are lost.
But the problem is not the warning. After 2 hours, more or less, the node crashes, raising an exception:
"IndexError: bytearray index out of range" in line 224 of bosch_imu_node.py.

image

I have tested it more than 3 times and it still with the same behavior. I also have tested with another imu board that has the same model, but nothing has changed.

I am using an Adafruit board with bno055 connected to an UART-USB converter (FTDI).

lsusb command shows information about the FDTI:
Bus 001 Device 029: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC

The FTDI is connected to one USB port of Intel NUC with Ubuntu 18.04.4 LTS bionic and ROS melodic.

Is there a workaround for this problem?

Thanks in advance.

ROS interfacing how to ?

Hi,
I have interfaced the IMU with the arduino and can use the adafruit library. I do not understand how to then connect this with ROS ? Can you help me with this. There are no information on the ros wiki page. I think its not been updated for a long time.
Thanks

Alex

Feature Request: Calibration

According to Adafruit's site

Once the device is calibrated, the calibration data will be kept until the BNO is powered off.
The BNO doesn't contain any internal EEPROM, though, so you will need to perform a new calibration every time the device starts up, or manually restore previous calibration values yourself.

Therefore it would be convenient to have an option to save calibration data and re-load it upon startup.

I have begun working on this functionality and will make a pull request when complete.

Node closes by itself

To whom it may concern,

I am able to launch the node but immediately after it tells that the process closes by itself. Any idea of the issue?

started core service [/rosout]
process[bosch_imu_node-2]: started with pid [1780]
process[base_link_to_imu_bosch-3]: started with pid [1787]
[INFO] [1562490853.003331]: Opening serial port: /dev/ttyACM0...
[bosch_imu_node-2] process has finished cleanly
log file: /home/rovitis40/.ros/log/9539889e-a097-11e9-997f-2c9464017b87/bosch_imu_node-2*.log

BNO USB stick, no receiving data

Hi, I have this BNO055 attached tu a usb: http://www.mouser.com/ds/2/783/bosch_BST-BNO055-AN009-00%20USB%20stick%20user%20guide-890618.pdf
the problem is that I do not get it to wokr with your driver, i sends data but do not receive anything, I keep getting these errors:
[ERROR] [WallTime: 1487591149.357895] Incorrect Bosh IMU device response.
[ERROR] [WallTime: 1487591149.358092] Device ID is incorrect. Shutdown.

do you know why could it be?

Thanks a lot for your work!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.