TBD.Psi.RosBagStreamReader - v1 #148
xiangzhi
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Work with ROS 1 bags and want to use \Psi for analysis or visualize data in PsiStudio? This is the component you want!
TBD.Psi.RosBagStreamReader
This components by CMU TBD Lab implements the 3rd party stream reader interface for ROS 1 bag files. It converts known ROS messages into corresponding Psi Messages.
Because there is no perfect 1-to-1 correspondence between ROS Messages and Psi Stream Types, we created custom deserializers that converts them based on what they are intended for. The following is what we currently support
Supported Messages
string
bool
Shared<Image>
Shared<Image>
MathNet.Spatial.Euclidean.CoordinateSystem
MathNet.Spatial.Euclidean.CoordinateSystem
MathNet.Spatial.Euclidean.CoordinateSystem
MathNet.Spatial.Euclidean.CoordinateSystem
MathNet.Spatial.Euclidean.Quaternion
MathNet.Spatial.Euclidean.Vector3D
AudioBuffer
tbd.psi.TransformationTree
There are more ROS topic messages types out there and you might even have your own custom messages. We created a easy interface and guide to create your own deserializers. Please contribute back to the main repository if you think it might be useful for others!
How to use it?
Other
Notes on Implementation.
originating time
, instead each message stores the time it is created when it is being saved in a RosBag. However, for classes that contains aheader
, the time listed inside is often used by ROS programs as its originating time. Each deserializer has an parameter to toggle whether both times are the same or to use the header time as originating time.This work is partially funded under a grant from the National Institute on Disability, Independent Living, and Rehabilitation Research (NIDILRR grant number 90DPGE0003). NIDILRR is a Center within the Administration for Community Living (ACL), Department of Health and Human Services (HHS). The contents of here do not necessarily represent the policy of NIDILRR, ACL, HHS, and you should not assume endorsement by the Federal Government.
Beta Was this translation helpful? Give feedback.
All reactions