grepros 1.2.2
grep for ROS bag files and live topics
Loading...
Searching...
No Matches
grepros.plugins.mcap Namespace Reference

MCAP input and output. More...

Classes

class  McapBag
 MCAP bag interface, providing most of rosbag.Bag interface. More...
 
class  McapSink
 Writes messages to MCAP file. More...
 

Functions

 copy_with_slots (self)
 Returns a shallow copy, with slots populated manually.
 
 deepcopy_with_slots (self, memo)
 Returns a deep copy, with slots populated manually.
 
 init (*_, **__)
 Adds MCAP support to reading and writing.
 
 message_get_fields_and_field_types (self)
 Returns a map of message field names and types (patch method for MCAP message classes).
 
 message_repr (self)
 Returns a string representation of ROS message.
 

Variables

 mcap
 

Detailed Description

MCAP input and output.

Function Documentation

◆ copy_with_slots()

copy_with_slots (   self)

Returns a shallow copy, with slots populated manually.

Definition at line 563 of file mcap.py.

◆ deepcopy_with_slots()

deepcopy_with_slots (   self,
  memo 
)

Returns a deep copy, with slots populated manually.

Definition at line 571 of file mcap.py.

◆ init()

init ( _,
**  __ 
)

Adds MCAP support to reading and writing.

Raises ImportWarning if libraries not available.

Definition at line 714 of file mcap.py.

◆ message_get_fields_and_field_types()

message_get_fields_and_field_types (   self)

Returns a map of message field names and types (patch method for MCAP message classes).

Definition at line 579 of file mcap.py.

◆ message_repr()

message_repr (   self)

Returns a string representation of ROS message.

Definition at line 584 of file mcap.py.

Variable Documentation

◆ mcap

mcap

Definition at line 26 of file mcap.py.