Giter Site home page Giter Site logo

tinyimu_relay's Introduction

tinyIMU_relay

A package designed to relay messages from the tinyIMU messages published by the arduino running the sketch found in https://github.com/superjax/tinyIMU_arduino to full IMU messages recognized by the rest of ROS.

Scaling for MPU6050

When using the MPU6050, the raw sensor value are scaled corresponding to the sensitivity of the sensor and in an odd range. When setting the ros parameter 'scale' = true, the readings will be scaled to [m/s²] (accel) and [rad/s] (gyro). These units are defined as a standard in sensor_msgs/Imu.

To use the scaling function run

rosrun tinyIMU_relay tinyIMU_relay _scale:=true

This works with the standard MPU6050 settings AFS_SEL=0 and FS_SEL=0 which corresponds to a sensitivity of +-2g for the accelerometer and +-250 degree/second for the gyro. The scaling factor to get from the reading to [g] (accel) and [deg/s] (gyro) is 16,384 and 131. The readings are then scaled from [g] to [m/s²] and from [deg/s] to [rad/s]. The values come from the MPU6050 Datasheet Page 12-13.

This is usefull when using the imu data for another package like imu_complementary_filter. Don't forget to calibrate the sensor offsets.

tinyimu_relay's People

Contributors

andreasgerken avatar superjax avatar

Stargazers

 avatar

Watchers

James Cloos avatar Robert Pottorff avatar  avatar  avatar

Forkers

wingbot

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.