opencda package
Subpackages
- opencda.core package
- Subpackages
- opencda.core.actuation package
- opencda.core.application package
- opencda.core.common package
- opencda.core.plan package
- Submodules
- opencda.core.plan.behavior_agent module
- opencda.core.plan.collision_check module
- opencda.core.plan.drive_profile_plotting module
- opencda.core.plan.global_route_planner module
- opencda.core.plan.global_route_planner_dao module
- opencda.core.plan.local_planner_behavior module
- opencda.core.plan.planer_debug_helper module
- opencda.core.plan.spline module
- Module contents
- opencda.core.sensing package
- Module contents
- Subpackages
- opencda.customize package
- opencda.scenario_testing package
- Subpackages
- Submodules
- opencda.scenario_testing.coopercption_datadump_town06_carla module
- opencda.scenario_testing.platoon_joining_2lanefree_carla module
- opencda.scenario_testing.platoon_joining_2lanefreecomplete_carla module
- opencda.scenario_testing.platoon_joining_town06_carla module
- opencda.scenario_testing.platoon_stability_2lanefree_carla module
- opencda.scenario_testing.single_2lanefree_carla module
- opencda.scenario_testing.single_town06_carla module
- Module contents
Submodules
opencda.opencda_carla module
Used to reduce the dependency on CARLA api by mocking them in the same structure.
- class opencda.opencda_carla.Location(x: float = 0, y: float = 0, z: float = 0)
Bases:
opencda.opencda_carla.Vector3D
Stores a 3D location, and provides useful helper methods.
- Parameters
x – The value of the x-axis.
y – The value of the y-axis.
z – The value of the z-axis.
- x
The value of the x-axis.
- y
The value of the y-axis.
- z
The value of the z-axis.
- class opencda.opencda_carla.Rotation(pitch: float = 0, yaw: float = 0, roll: float = 0)
Bases:
object
Used to represent the rotation of an actor or obstacle.
Rotations are applied in the order: Roll (X), Pitch (Y), Yaw (Z). A 90-degree “Roll” maps the positive Z-axis to the positive Y-axis. A 90-degree “Pitch” maps the positive X-axis to the positive Z-axis. A 90-degree “Yaw” maps the positive X-axis to the positive Y-axis.
- Parameters
-pitch – Rotation about Y-axis.
-yaw – Rotation about Z-axis.
-roll – Rotation about X-axis.
- -pitch
Rotation about Y-axis.
- -yaw
Rotation about Z-axis.
- -roll
Rotation about X-axis.
- class opencda.opencda_carla.Transform(location: Optional[opencda.opencda_carla.Location] = None, rotation: Optional[opencda.opencda_carla.Rotation] = None)
Bases:
object
A class that stores the location and rotation of an obstacle.
It can be created from a simulator transform, defines helper functions needed in Pylot, and makes the simulator transform serializable.
A transform object is instantiated with either a location and a rotation, or using a matrix.
- Parameters
- -location
The location of the object represented by the transform.
- Type
- -rotation
The rotation (in degrees) of the object represented by the transform.
- Type
- class opencda.opencda_carla.Vector3D(x: float = 0, y: float = 0, z: float = 0)
Bases:
object
Represents a 3D vector and provides useful helper functions. :param x: The value of the first axis. :param y: The value of the second axis. :param z: The value of the third axis.
- x
The value of the first axis.
- y
The value of the second axis.
- z
The value of the third axis.
opencda.version module
Specifies the current version number of OpenCDA.