ROS Bridge [omni.isaac.ros_bridge]¶
ROS Bridge Commands¶
-
class
RosBridgeRosMasterCheck
¶ Bases:
omni.kit.commands.command.Command
- Returns
True if ros master was found, False otherwise.
-
class
RosBridgeTickComponent
(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
RosBridgeUseSimTime
(use_sim_time: bool)¶ Bases:
omni.kit.commands.command.Command
Specify whether ROS bridge nodes publish their timestamp in sim time
- Parameters
arg0 – (
bool
): True for sim time, False for system clock
Acquiring Extension Interface¶
-
_ros_bridge.
acquire_ros_bridge_interface
(plugin_name: str = None, library_path: str = None) → omni::isaac::ros_bridge::RosBridge¶
-
_ros_bridge.
release_ros_bridge_interface
(arg0: omni::isaac::ros_bridge::RosBridge) → None¶
ROS Bridge API¶
-
class
RosBridge
¶ -
ros_master_check
(self: omni.isaac.ros_bridge._ros_bridge.RosBridge) → bool¶ - Returns
True if ros master was found, False otherwise.
-
tick_component
(self: omni.isaac.ros_bridge._ros_bridge.RosBridge, 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.ros_bridge._ros_bridge.RosBridge, arg0: bool) → None¶ Specify whether ROS bridge nodes publish their timestamp in sim time
- Parameters
arg0 – (
bool
): True for sim time, False for system clock
-