Package Summary
| Version | 0.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_PYTHON |
| Use | RECOMMENDED |
Repository Summary
| Description | Dockerized ROS2 stack for the WATonomous Autonomous Driving Software Pipeline |
| Checkout URI | https://github.com/watonomous/wato_monorepo.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-02-24 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- WATonomous
Authors
carla_common
Shared utilities for CARLA ROS bridge packages.
Functions
Coordinate conversion (CARLA left-handed to ROS right-handed):
-
carla_to_ros_position(x, y, z)- Negates Y axis -
carla_to_ros_rotation(roll_deg, pitch_deg, yaw_deg)- Converts degrees to radians, negates pitch/yaw
Quaternion conversion:
-
euler_to_quaternion(roll, pitch, yaw)- Euler angles (radians) to quaternion (x, y, z, w) -
quaternion_to_euler(x, y, z, w)- Quaternion to Euler angles (radians)
CARLA client utilities:
-
connect_carla(host, port, timeout)- Connect to CARLA server, returnscarla.Client -
find_ego_vehicle(world, role_name)- Find vehicle by role_name attribute, returns vehicle or None
Usage
from carla_common import (
connect_carla,
find_ego_vehicle,
carla_to_ros_position,
carla_to_ros_rotation,
euler_to_quaternion,
)
# Connect and find ego
client = connect_carla(host, port, timeout)
world = client.get_world()
vehicle = find_ego_vehicle(world, "ego_vehicle")
# Convert CARLA transform to ROS
transform = vehicle.get_transform()
x, y, z = carla_to_ros_position(
transform.location.x,
transform.location.y,
transform.location.z,
)
roll, pitch, yaw = carla_to_ros_rotation(
transform.rotation.roll,
transform.rotation.pitch,
transform.rotation.yaw,
)
qx, qy, qz, qw = euler_to_quaternion(roll, pitch, yaw)
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged carla_common at Robotics Stack Exchange
Package Summary
| Version | 0.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_PYTHON |
| Use | RECOMMENDED |
Repository Summary
| Description | Dockerized ROS2 stack for the WATonomous Autonomous Driving Software Pipeline |
| Checkout URI | https://github.com/watonomous/wato_monorepo.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-02-24 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- WATonomous
Authors
carla_common
Shared utilities for CARLA ROS bridge packages.
Functions
Coordinate conversion (CARLA left-handed to ROS right-handed):
-
carla_to_ros_position(x, y, z)- Negates Y axis -
carla_to_ros_rotation(roll_deg, pitch_deg, yaw_deg)- Converts degrees to radians, negates pitch/yaw
Quaternion conversion:
-
euler_to_quaternion(roll, pitch, yaw)- Euler angles (radians) to quaternion (x, y, z, w) -
quaternion_to_euler(x, y, z, w)- Quaternion to Euler angles (radians)
CARLA client utilities:
-
connect_carla(host, port, timeout)- Connect to CARLA server, returnscarla.Client -
find_ego_vehicle(world, role_name)- Find vehicle by role_name attribute, returns vehicle or None
Usage
from carla_common import (
connect_carla,
find_ego_vehicle,
carla_to_ros_position,
carla_to_ros_rotation,
euler_to_quaternion,
)
# Connect and find ego
client = connect_carla(host, port, timeout)
world = client.get_world()
vehicle = find_ego_vehicle(world, "ego_vehicle")
# Convert CARLA transform to ROS
transform = vehicle.get_transform()
x, y, z = carla_to_ros_position(
transform.location.x,
transform.location.y,
transform.location.z,
)
roll, pitch, yaw = carla_to_ros_rotation(
transform.rotation.roll,
transform.rotation.pitch,
transform.rotation.yaw,
)
qx, qy, qz, qw = euler_to_quaternion(roll, pitch, yaw)
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged carla_common at Robotics Stack Exchange
Package Summary
| Version | 0.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_PYTHON |
| Use | RECOMMENDED |
Repository Summary
| Description | Dockerized ROS2 stack for the WATonomous Autonomous Driving Software Pipeline |
| Checkout URI | https://github.com/watonomous/wato_monorepo.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-02-24 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- WATonomous
Authors
carla_common
Shared utilities for CARLA ROS bridge packages.
Functions
Coordinate conversion (CARLA left-handed to ROS right-handed):
-
carla_to_ros_position(x, y, z)- Negates Y axis -
carla_to_ros_rotation(roll_deg, pitch_deg, yaw_deg)- Converts degrees to radians, negates pitch/yaw
Quaternion conversion:
-
euler_to_quaternion(roll, pitch, yaw)- Euler angles (radians) to quaternion (x, y, z, w) -
quaternion_to_euler(x, y, z, w)- Quaternion to Euler angles (radians)
CARLA client utilities:
-
connect_carla(host, port, timeout)- Connect to CARLA server, returnscarla.Client -
find_ego_vehicle(world, role_name)- Find vehicle by role_name attribute, returns vehicle or None
Usage
from carla_common import (
connect_carla,
find_ego_vehicle,
carla_to_ros_position,
carla_to_ros_rotation,
euler_to_quaternion,
)
# Connect and find ego
client = connect_carla(host, port, timeout)
world = client.get_world()
vehicle = find_ego_vehicle(world, "ego_vehicle")
# Convert CARLA transform to ROS
transform = vehicle.get_transform()
x, y, z = carla_to_ros_position(
transform.location.x,
transform.location.y,
transform.location.z,
)
roll, pitch, yaw = carla_to_ros_rotation(
transform.rotation.roll,
transform.rotation.pitch,
transform.rotation.yaw,
)
qx, qy, qz, qw = euler_to_quaternion(roll, pitch, yaw)
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged carla_common at Robotics Stack Exchange
Package Summary
| Version | 0.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_PYTHON |
| Use | RECOMMENDED |
Repository Summary
| Description | Dockerized ROS2 stack for the WATonomous Autonomous Driving Software Pipeline |
| Checkout URI | https://github.com/watonomous/wato_monorepo.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-02-24 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- WATonomous
Authors
carla_common
Shared utilities for CARLA ROS bridge packages.
Functions
Coordinate conversion (CARLA left-handed to ROS right-handed):
-
carla_to_ros_position(x, y, z)- Negates Y axis -
carla_to_ros_rotation(roll_deg, pitch_deg, yaw_deg)- Converts degrees to radians, negates pitch/yaw
Quaternion conversion:
-
euler_to_quaternion(roll, pitch, yaw)- Euler angles (radians) to quaternion (x, y, z, w) -
quaternion_to_euler(x, y, z, w)- Quaternion to Euler angles (radians)
CARLA client utilities:
-
connect_carla(host, port, timeout)- Connect to CARLA server, returnscarla.Client -
find_ego_vehicle(world, role_name)- Find vehicle by role_name attribute, returns vehicle or None
Usage
from carla_common import (
connect_carla,
find_ego_vehicle,
carla_to_ros_position,
carla_to_ros_rotation,
euler_to_quaternion,
)
# Connect and find ego
client = connect_carla(host, port, timeout)
world = client.get_world()
vehicle = find_ego_vehicle(world, "ego_vehicle")
# Convert CARLA transform to ROS
transform = vehicle.get_transform()
x, y, z = carla_to_ros_position(
transform.location.x,
transform.location.y,
transform.location.z,
)
roll, pitch, yaw = carla_to_ros_rotation(
transform.rotation.roll,
transform.rotation.pitch,
transform.rotation.yaw,
)
qx, qy, qz, qw = euler_to_quaternion(roll, pitch, yaw)
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged carla_common at Robotics Stack Exchange
Package Summary
| Version | 0.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_PYTHON |
| Use | RECOMMENDED |
Repository Summary
| Description | Dockerized ROS2 stack for the WATonomous Autonomous Driving Software Pipeline |
| Checkout URI | https://github.com/watonomous/wato_monorepo.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-02-24 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- WATonomous
Authors
carla_common
Shared utilities for CARLA ROS bridge packages.
Functions
Coordinate conversion (CARLA left-handed to ROS right-handed):
-
carla_to_ros_position(x, y, z)- Negates Y axis -
carla_to_ros_rotation(roll_deg, pitch_deg, yaw_deg)- Converts degrees to radians, negates pitch/yaw
Quaternion conversion:
-
euler_to_quaternion(roll, pitch, yaw)- Euler angles (radians) to quaternion (x, y, z, w) -
quaternion_to_euler(x, y, z, w)- Quaternion to Euler angles (radians)
CARLA client utilities:
-
connect_carla(host, port, timeout)- Connect to CARLA server, returnscarla.Client -
find_ego_vehicle(world, role_name)- Find vehicle by role_name attribute, returns vehicle or None
Usage
from carla_common import (
connect_carla,
find_ego_vehicle,
carla_to_ros_position,
carla_to_ros_rotation,
euler_to_quaternion,
)
# Connect and find ego
client = connect_carla(host, port, timeout)
world = client.get_world()
vehicle = find_ego_vehicle(world, "ego_vehicle")
# Convert CARLA transform to ROS
transform = vehicle.get_transform()
x, y, z = carla_to_ros_position(
transform.location.x,
transform.location.y,
transform.location.z,
)
roll, pitch, yaw = carla_to_ros_rotation(
transform.rotation.roll,
transform.rotation.pitch,
transform.rotation.yaw,
)
qx, qy, qz, qw = euler_to_quaternion(roll, pitch, yaw)
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged carla_common at Robotics Stack Exchange
Package Summary
| Version | 0.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_PYTHON |
| Use | RECOMMENDED |
Repository Summary
| Description | Dockerized ROS2 stack for the WATonomous Autonomous Driving Software Pipeline |
| Checkout URI | https://github.com/watonomous/wato_monorepo.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-02-24 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- WATonomous
Authors
carla_common
Shared utilities for CARLA ROS bridge packages.
Functions
Coordinate conversion (CARLA left-handed to ROS right-handed):
-
carla_to_ros_position(x, y, z)- Negates Y axis -
carla_to_ros_rotation(roll_deg, pitch_deg, yaw_deg)- Converts degrees to radians, negates pitch/yaw
Quaternion conversion:
-
euler_to_quaternion(roll, pitch, yaw)- Euler angles (radians) to quaternion (x, y, z, w) -
quaternion_to_euler(x, y, z, w)- Quaternion to Euler angles (radians)
CARLA client utilities:
-
connect_carla(host, port, timeout)- Connect to CARLA server, returnscarla.Client -
find_ego_vehicle(world, role_name)- Find vehicle by role_name attribute, returns vehicle or None
Usage
from carla_common import (
connect_carla,
find_ego_vehicle,
carla_to_ros_position,
carla_to_ros_rotation,
euler_to_quaternion,
)
# Connect and find ego
client = connect_carla(host, port, timeout)
world = client.get_world()
vehicle = find_ego_vehicle(world, "ego_vehicle")
# Convert CARLA transform to ROS
transform = vehicle.get_transform()
x, y, z = carla_to_ros_position(
transform.location.x,
transform.location.y,
transform.location.z,
)
roll, pitch, yaw = carla_to_ros_rotation(
transform.rotation.roll,
transform.rotation.pitch,
transform.rotation.yaw,
)
qx, qy, qz, qw = euler_to_quaternion(roll, pitch, yaw)
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged carla_common at Robotics Stack Exchange
Package Summary
| Version | 0.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_PYTHON |
| Use | RECOMMENDED |
Repository Summary
| Description | Dockerized ROS2 stack for the WATonomous Autonomous Driving Software Pipeline |
| Checkout URI | https://github.com/watonomous/wato_monorepo.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-02-24 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- WATonomous
Authors
carla_common
Shared utilities for CARLA ROS bridge packages.
Functions
Coordinate conversion (CARLA left-handed to ROS right-handed):
-
carla_to_ros_position(x, y, z)- Negates Y axis -
carla_to_ros_rotation(roll_deg, pitch_deg, yaw_deg)- Converts degrees to radians, negates pitch/yaw
Quaternion conversion:
-
euler_to_quaternion(roll, pitch, yaw)- Euler angles (radians) to quaternion (x, y, z, w) -
quaternion_to_euler(x, y, z, w)- Quaternion to Euler angles (radians)
CARLA client utilities:
-
connect_carla(host, port, timeout)- Connect to CARLA server, returnscarla.Client -
find_ego_vehicle(world, role_name)- Find vehicle by role_name attribute, returns vehicle or None
Usage
from carla_common import (
connect_carla,
find_ego_vehicle,
carla_to_ros_position,
carla_to_ros_rotation,
euler_to_quaternion,
)
# Connect and find ego
client = connect_carla(host, port, timeout)
world = client.get_world()
vehicle = find_ego_vehicle(world, "ego_vehicle")
# Convert CARLA transform to ROS
transform = vehicle.get_transform()
x, y, z = carla_to_ros_position(
transform.location.x,
transform.location.y,
transform.location.z,
)
roll, pitch, yaw = carla_to_ros_rotation(
transform.rotation.roll,
transform.rotation.pitch,
transform.rotation.yaw,
)
qx, qy, qz, qw = euler_to_quaternion(roll, pitch, yaw)
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged carla_common at Robotics Stack Exchange
Package Summary
| Version | 0.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_PYTHON |
| Use | RECOMMENDED |
Repository Summary
| Description | Dockerized ROS2 stack for the WATonomous Autonomous Driving Software Pipeline |
| Checkout URI | https://github.com/watonomous/wato_monorepo.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-02-24 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- WATonomous
Authors
carla_common
Shared utilities for CARLA ROS bridge packages.
Functions
Coordinate conversion (CARLA left-handed to ROS right-handed):
-
carla_to_ros_position(x, y, z)- Negates Y axis -
carla_to_ros_rotation(roll_deg, pitch_deg, yaw_deg)- Converts degrees to radians, negates pitch/yaw
Quaternion conversion:
-
euler_to_quaternion(roll, pitch, yaw)- Euler angles (radians) to quaternion (x, y, z, w) -
quaternion_to_euler(x, y, z, w)- Quaternion to Euler angles (radians)
CARLA client utilities:
-
connect_carla(host, port, timeout)- Connect to CARLA server, returnscarla.Client -
find_ego_vehicle(world, role_name)- Find vehicle by role_name attribute, returns vehicle or None
Usage
from carla_common import (
connect_carla,
find_ego_vehicle,
carla_to_ros_position,
carla_to_ros_rotation,
euler_to_quaternion,
)
# Connect and find ego
client = connect_carla(host, port, timeout)
world = client.get_world()
vehicle = find_ego_vehicle(world, "ego_vehicle")
# Convert CARLA transform to ROS
transform = vehicle.get_transform()
x, y, z = carla_to_ros_position(
transform.location.x,
transform.location.y,
transform.location.z,
)
roll, pitch, yaw = carla_to_ros_rotation(
transform.rotation.roll,
transform.rotation.pitch,
transform.rotation.yaw,
)
qx, qy, qz, qw = euler_to_quaternion(roll, pitch, yaw)
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged carla_common at Robotics Stack Exchange
Package Summary
| Version | 0.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_PYTHON |
| Use | RECOMMENDED |
Repository Summary
| Description | Dockerized ROS2 stack for the WATonomous Autonomous Driving Software Pipeline |
| Checkout URI | https://github.com/watonomous/wato_monorepo.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-02-24 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- WATonomous
Authors
carla_common
Shared utilities for CARLA ROS bridge packages.
Functions
Coordinate conversion (CARLA left-handed to ROS right-handed):
-
carla_to_ros_position(x, y, z)- Negates Y axis -
carla_to_ros_rotation(roll_deg, pitch_deg, yaw_deg)- Converts degrees to radians, negates pitch/yaw
Quaternion conversion:
-
euler_to_quaternion(roll, pitch, yaw)- Euler angles (radians) to quaternion (x, y, z, w) -
quaternion_to_euler(x, y, z, w)- Quaternion to Euler angles (radians)
CARLA client utilities:
-
connect_carla(host, port, timeout)- Connect to CARLA server, returnscarla.Client -
find_ego_vehicle(world, role_name)- Find vehicle by role_name attribute, returns vehicle or None
Usage
from carla_common import (
connect_carla,
find_ego_vehicle,
carla_to_ros_position,
carla_to_ros_rotation,
euler_to_quaternion,
)
# Connect and find ego
client = connect_carla(host, port, timeout)
world = client.get_world()
vehicle = find_ego_vehicle(world, "ego_vehicle")
# Convert CARLA transform to ROS
transform = vehicle.get_transform()
x, y, z = carla_to_ros_position(
transform.location.x,
transform.location.y,
transform.location.z,
)
roll, pitch, yaw = carla_to_ros_rotation(
transform.rotation.roll,
transform.rotation.pitch,
transform.rotation.yaw,
)
qx, qy, qz, qw = euler_to_quaternion(roll, pitch, yaw)