Coder Social home page Coder Social logo

Comments (5)

carlosjoserg avatar carlosjoserg commented on July 20, 2024

Forgot to say, Ubuntu 14.04/Indigo

from imu_tools.

mintar avatar mintar commented on July 20, 2024

Could you record a rosbag of the data_raw topic please?

Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

from imu_tools.

carlosjoserg avatar carlosjoserg commented on July 20, 2024

Here it is.

I moved from the initial pose, twice to one direction, and twice to the other direction, and finish at the same initial position.

from imu_tools.

mintar avatar mintar commented on July 20, 2024

With the following commands, I was able to run everything without problems:

$ roscore
$ rosparam set use_sim_time true
$ rosbag play --clock --loop 2015-09-24-23-58-09.bag
$ roslaunch imu.launch

This is the imu.launch I used:

<launch>
  <!-- Nodelet manager -->
  <node pkg="nodelet" type="nodelet" name="imu_manager" 
    args="manager" output="screen" />

  <!-- IMU Orientation Filter -->
  <node pkg="nodelet" type="nodelet" name="ImuFilterNodelet" 
    args="load imu_filter_madgwick/ImuFilterNodelet imu_manager" 
    output="screen">

    <param name="use_magnetic_field_msg" value="false"/>
    <param name="use_mag" value="false"/>
    <param name="fixed_frame" value="odom" />
    <param name="publish_tf" value="true" />
  </node>
</launch>

The fixed_frame and publish_tf params are just for debug, so you can visualize the tf topic in RViz (you need to set the RViz fixed frame to odom). In a real system, you'd feed the /data/imu topic into something like robot_pose_ekf instead, which in turn would produce the proper tfs.

By the way, the messages in your bagfile have frame_id "world"; this has to be the IMU frame, so it's a bit of a strange name for that.

from imu_tools.

carlosjoserg avatar carlosjoserg commented on July 20, 2024

Ok, I was launching similarly but without setting any parameter, i.e. using the default ones.

The only difference is that you explicitly set use_mag parameter to false, and it is default to true here. I don't see how that can affect, but now it is working here as well.

Thanks @mintar, I'll close the issue.

from imu_tools.

Related Issues (20)

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.