ROS2 Bridge [omni.isaac.ros2_bridge]

ROS2 Bridge Commands

class Ros2BridgeTickComponent(path: str)

Bases: omni.kit.commands.command.Command

Tick all publishers/subscribers on a specific component

Parameters

arg0 – (str): Path to component

Returns

True if component was found, False otherwise.

class Ros2BridgeUseSimTime(use_sim_time: bool)

Bases: omni.kit.commands.command.Command

Specify whether ROS2 bridge nodes publish their timestamp in sim time

Parameters

arg0 – (bool): True for sim time, False for system clock

Acquiring Extension Interface

_ros2_bridge.acquire_ros2_bridge_interface(plugin_name: str = None, library_path: str = None)omni::isaac::ros2_bridge::Ros2Bridge
_ros2_bridge.release_ros2_bridge_interface(arg0: omni::isaac::ros2_bridge::Ros2Bridge)None

ROS2 Bridge API

class Ros2Bridge
tick_component(self: omni.isaac.ros2_bridge._ros2_bridge.Ros2Bridge, arg0: str)bool

Tick all publishers/subscribers on a specific component

Parameters

arg0 – (str): Path to component

Returns

True if component was found, False otherwise.

use_sim_time(self: omni.isaac.ros2_bridge._ros2_bridge.Ros2Bridge, arg0: bool)None

Specify whether ROS2 bridge nodes publish their timestamp in sim time

Parameters

arg0 – (bool): True for sim time, False for system clock