Coder Social home page Coder Social logo

Comments (9)

cjds avatar cjds commented on June 20, 2024 1

I'll check but it might have been through a simulator. I will sanitize the bag of private information and attach it

from webviz.

cjds avatar cjds commented on June 20, 2024 1

I think that may be it...

We use the rosbag C++ API directly.

https://github.com/ros/ros_comm/tree/melodic-devel/tools/rosbag

Specifically https://github.com/ros/ros_comm/blob/melodic-devel/tools/rosbag_storage/include/rosbag/bag.h#L165 that line is what it comes down to.

I think I'll check the changes that fix is doing and either make an upstream change to rosbag or change our downstream use of it. Thanks for the help.

from webviz.

cjds avatar cjds commented on June 20, 2024

Commit I'm trying out is e9835e5

from webviz.

janpaul123 avatar janpaul123 commented on June 20, 2024

Looks like an issue with the bag. How was it recorded? Any chance you can share it with us?

from webviz.

cjds avatar cjds commented on June 20, 2024

https://drive.google.com/file/d/1aapnmnWaEPQ0piEowbSGMsoDNmzXVpio/view?usp=sharing

Attached is the bag file

from webviz.

janpaul123 avatar janpaul123 commented on June 20, 2024

What version of ROS are you on? The message definitions looks pretty old and malformed. First it uses the old Header definition instead of std_msgs/Header, but that's allowed per the bag format. But also there is a topic which uses DiagnosticStatus in the message definition, but the definition for DiagnosticStatus itself is not present in that header. That looks malformed per the description here: "message_definition: full text of message definition (output of gendeps --cat)".

from webviz.

cjds avatar cjds commented on June 20, 2024

Sorry, I don't think I follow your comment (not super well versed with the rosbag format).

  1. We're using Melodic
  2. To generate the DiagnosticStatus messages we're using https://github.com/ros/diagnostics which hasn't been changed since Indigo but does have a melodic release (maybe a PR to that is needed). (Assuming you are talking about the /diagnostics_toplevel_state topic)
  3. Could you point me to the topic using the old school Header message because I wasn't able to find it using old school rosbag info?

Thanks

from webviz.

janpaul123 avatar janpaul123 commented on June 20, 2024

Huh, weird. To clarify: the problem seems to be that the bag does not properly contain the message definitions inside. How did you generate the bag? Did you just use rosbag record or something else?

from webviz.

janpaul123 avatar janpaul123 commented on June 20, 2024

I suspect that there's something weird with how the bag was generated, because when I run rosbag fix 2019-12-06-05-44-04.088091_task-3715_action-57980_freight100-1274_0.bag out.bag --force then it produces a bag that I can play with Webviz just fine.

from webviz.

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.