Giter Site home page Giter Site logo

bag2matlab's People

Contributors

andre-nguyen avatar danthony06 avatar evan-palmer 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bag2matlab's Issues

Error reading the bag files

So I am trying to read the topics from a bag file.
However I am getting the following error.

`Error using setupEnv (line 124)
Could not import python helper function

Error in bagInfo (line 62)
setupEnv(input_parser.Results.ros_root);`

I have ros noetic installed.

Extracting Images

Hi,

I am trying to extract Images and it is causing matlab to crash(Assertion `Fatal Java Exception.' ). I have tried both compressed and and normal images result is same. The problem is not memory as I have 32gb ram and only 10gb is utilized. My system is ubuntu 14.04, Matlab 15a, Indigo. Other ros msg types are working fine. Any help is appreciated.

Bests,
Xep

Error when extracting topic of type sensor_msgs/Imu

I have a bag containing multiple topics, with custom as well as standard message types. Weirdly enough I get an error when extracting topics of type sensor_msgs/Imu and sensor_msgs/NavSatFix

The error:

Error using msg_loader>get_msg_file (line 78)
Python Error: MsgNotFound: Cannot locate message [Header]: unknown package [std_msgs] on search path [{}]

Error in msg_loader>load_msg_by_type (line 119)
    file_path = get_msg_file(package_name, base_type, search_path)

Error in msg_loader>load_msg_depends (line 313)
            depspec = load_msg_by_type(msg_context, resolved_type, search_path)

Error in msg_loader>load_depends (line 344)
        return load_msg_depends(msg_context, spec, msg_search_path)

Error in generator>msg_generator (line 736)
        genmsg.msg_loader.load_depends(msg_context, spec, search_path)

Error in dynamic>generate_dynamic (line 155)
        for l in msg_generator(msg_context, spec, search_path):

Error in bag>_get_message_type (line 1565)
            message_type = genpy.dynamic.generate_dynamic(info.datatype, info.msg_def)[info.datatype]

Error in bag>seek_and_read_message_data_record (line 2469)
            msg_type = _get_message_type(connection_info)

Error in bag>read_messages (line 2331)
            yield self.seek_and_read_message_data_record((entry.chunk_pos, entry.offset), raw)

Error in matlab_bag_helper>read_bag (line 60)

What's weird is that my bag also contains a topic of type geometry_msgs/PoseStamped which has the Header field and it extracts just fine.

For what it's worth, I am starting matlab from the terminal with my workspace sourced and everything. Using ROS Kinetic.

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.