@foxglove/rosbag2
Version:
ROS 2 (Robot Operating System) bag reader and writer abstract implementation
31 lines • 919 B
TypeScript
import { QosProfile } from "./types";
/**
* Parses a YAML string into a list of ROS2 QoS profiles. Missing values will be filled in with
* rosbag2 QoS defaults.
*
* These are the default values for QoS profile fields, according to
* <https://github.com/ros2/rosbag2/blob/master/README.md#overriding-qos-profiles>
*
* history: keep_last
* depth: 10
* reliability: reliable
* durability: volatile
* deadline:
* # unspecified/infinity
* sec: 0
* nsec: 0
* lifespan:
* # unspecified/infinity
* sec: 0
* nsec: 0
* liveliness: system_default
* liveliness_lease_duration:
* # unspecified/infinity
* sec: 0
* nsec: 0
* avoid_ros_namespace_conventions: false
* @param data A string in YAML format
* @returns A list of parsed QoS profiles
*/
export declare function parseQosProfiles(data: string): QosProfile[];
//# sourceMappingURL=metadata.d.ts.map