CARLA Simulator: Difference between revisions

Line 82: Line 82:
Carla is based on UE4 which uses a left-handed coordinate system. Specifically, up is +z, forward is -y, and right is +x.
Carla is based on UE4 which uses a left-handed coordinate system. Specifically, up is +z, forward is -y, and right is +x.


See [https://subscription.packtpub.com/book/game_development/9781784394905/1/ch01lvl1sec18/the-2d-and-3d-coordinate-systems Coordinate systems in UE4].
To convert (yaw, pitch, roll) rotations to a right-handed coordinate system, just use (-yaw, pitch, roll)