mcap.data_stream module
¶
class
mcap.data_stream.
ReadDataStream
(
stream
:
IO
[
bytes
]
,
calculate_crc
:
bool
=
False
)
[source]
¶
Bases:
object
checksum
(
)
→
int
[source]
¶
property
count
:
int
¶
read
(
length
:
int
)
→
bytes
[source]
¶
read1
(
)
→
int
[source]
¶
read2
(
)
→
int
[source]
¶
read4
(
)
→
int
[source]
¶
read8
(
)
→
int
[source]
¶
read_prefixed_string
(
)
→
str
[source]
¶
class
mcap.data_stream.
RecordBuilder
[source]
¶
Bases:
object
property
count
:
int
¶
end
(
)
[source]
¶
finish_record
(
)
[source]
¶
start_record
(
opcode
:
Opcode
)
[source]
¶
write
(
data
:
bytes
)
[source]
¶
write1
(
value
:
int
)
[source]
¶
write2
(
value
:
int
)
[source]
¶
write4
(
value
:
int
)
[source]
¶
write8
(
value
:
int
)
[source]
¶
write_prefixed_string
(
value
:
str
)
[source]
¶
mcap
Navigation
Basic Reading and Writing
Working with Protobuf Messages
Working with ROS 1 Messages
Using
rosbag2_py
to use MCAP with ROS 2
Working with ROS 2 Messages
mcap
mcap package
mcap_protobuf
mcap_ros1
mcap_ros2
Related Topics
Documentation overview
mcap
mcap package
Previous:
mcap package
Next:
mcap.decoder module
Quick search