Skip to content

Commit

Permalink
refactor: renamed the SimulationConnector to SimulationBridge to not …
Browse files Browse the repository at this point in the history
…suggest having something common with ROS2ARIConnector
  • Loading branch information
MagdalenaKotynia committed Feb 18, 2025
1 parent dbf077c commit ac84601
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
PoseModel,
SceneState,
SimulationConfig,
SimulationConnector,
SimulationBridge,
SpawnedEntity,
)

Expand All @@ -50,7 +50,7 @@ def load_config(
return cls(**base_config.model_dump(), **connector_content)


class O3DExROS2Connector(SimulationConnector[O3DExROS2SimulationConfig]):
class O3DExROS2Bridge(SimulationBridge[O3DExROS2SimulationConfig]):
def __init__(
self, connector: ROS2ARIConnector, logger: Optional[logging.Logger] = None
):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class SceneState(BaseModel):
SimulationConfigT = TypeVar("SimulationConfigT", bound=SimulationConfig)


class SimulationConnector(ABC, Generic[SimulationConfigT]):
class SimulationBridge(ABC, Generic[SimulationConfigT]):
"""
Responsible for communication with simulation.
"""
Expand Down

0 comments on commit ac84601

Please sign in to comment.