as2_gazebo_assets.bridges.bridge module

bridge.py.

class as2_gazebo_assets.bridges.bridge.Bridge(gz_topic: str, ros_topic: str, gz_type: str, ros_type: str, direction: BridgeDirection)

Bases: object

Bridge Gz<->Ros.

argument()

Return argument for ros_gz_bridge.

direction: BridgeDirection
gz_topic: str
gz_type: str
remapping()

Return remapping for ros_gz_bridge.

ros_topic: str
ros_type: str
class as2_gazebo_assets.bridges.bridge.BridgeDirection(value)

Bases: Enum

Enum for bridge directions.

BIDIRECTIONAL = 0
GZ_TO_ROS = 1
NONE = 3
ROS_TO_GZ = 2