Skip to content

Bridges

This file defines a basic Bridge for extensibility of the ROAR Autonomous software

Bridge ¤

__init__(self) special ¤

Source code in ROAR_simulation/bridges/bridge.py
26
27
def __init__(self):
    self.logger = logging.Logger(__name__)

convert_control_from_agent_to_source(self, control) ¤

Source code in ROAR_simulation/bridges/bridge.py
77
78
79
@abstractmethod
def convert_control_from_agent_to_source(self, control: VehicleControl) -> Any:
    pass

convert_control_from_source_to_agent(self, source) ¤

Source code in ROAR_simulation/bridges/bridge.py
45
46
47
@abstractmethod
def convert_control_from_source_to_agent(self, source) -> VehicleControl:
    pass

convert_depth_from_source_to_agent(self, source) ¤

Source code in ROAR_simulation/bridges/bridge.py
53
54
55
@abstractmethod
def convert_depth_from_source_to_agent(self, source) -> DepthData:
    pass

convert_imu_from_source_to_agent(self, source) ¤

Source code in ROAR_simulation/bridges/bridge.py
61
62
63
@abstractmethod
def convert_imu_from_source_to_agent(self, source) -> IMUData:
    pass

convert_location_from_source_to_agent(self, source) ¤

Source code in ROAR_simulation/bridges/bridge.py
33
34
35
@abstractmethod
def convert_location_from_source_to_agent(self, source) -> Location:
    pass

convert_rgb_from_source_to_agent(self, source) ¤

Source code in ROAR_simulation/bridges/bridge.py
49
50
51
@abstractmethod
def convert_rgb_from_source_to_agent(self, source) -> RGBData:
    pass

convert_rotation_from_source_to_agent(self, source) ¤

Source code in ROAR_simulation/bridges/bridge.py
37
38
39
@abstractmethod
def convert_rotation_from_source_to_agent(self, source) -> Rotation:
    pass

convert_sensor_data_from_source_to_agent(self, source) ¤

Source code in ROAR_simulation/bridges/bridge.py
65
66
67
@abstractmethod
def convert_sensor_data_from_source_to_agent(self, source) -> SensorsData:
    pass

convert_transform_from_source_to_agent(self, source) ¤

Source code in ROAR_simulation/bridges/bridge.py
41
42
43
@abstractmethod
def convert_transform_from_source_to_agent(self, source) -> Transform:
    pass

convert_vector3d_from_agent_to_source(self, vector3d) ¤

Source code in ROAR_simulation/bridges/bridge.py
81
82
83
@abstractmethod
def convert_vector3d_from_agent_to_source(self, vector3d: Vector3D) -> Any:
    pass

convert_vector3d_from_source_to_agent(self, source) ¤

Source code in ROAR_simulation/bridges/bridge.py
57
58
59
@abstractmethod
def convert_vector3d_from_source_to_agent(self, source) -> Vector3D:
    pass

convert_vehicle_from_source_to_agent(self, source) ¤

Source code in ROAR_simulation/bridges/bridge.py
69
70
71
@abstractmethod
def convert_vehicle_from_source_to_agent(self, source) -> Vehicle:
    pass