unl-nimbus-lab / bag2matlab Goto Github PK
View Code? Open in Web Editor NEWRead ROS bag data into a Matlab workspace
License: GNU General Public License v2.0
Read ROS bag data into a Matlab workspace
License: GNU General Public License v2.0
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.
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.