Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Carla Ros Bridge Manual Control HUD cardinal direction mismatch GNSS #676

Open
matejm42 opened this issue May 10, 2023 · 1 comment · Fixed by matejm42/ros-bridge#1 · May be fixed by #677
Open

Carla Ros Bridge Manual Control HUD cardinal direction mismatch GNSS #676

matejm42 opened this issue May 10, 2023 · 1 comment · Fixed by matejm42/ros-bridge#1 · May be fixed by #677

Comments

@matejm42
Copy link

matejm42 commented May 10, 2023

I use Carla manual control to see all positional data on one screen when controlling the ego vehicle through ROS.

But I was really confused by the coordinate systems. I thought heading 0 is x direction and North GNSS direction (increasing latitude).

Actually, moving in the x direction is heading 0, but East (increasing longitude) and HUD is saying North.

issue0
issue1

After turning right -> moving in -y direction is heading -90, South (decreasing latitude), and HUD is saying West (which is 100% problem, when after going North and turning right, I should be heading East)
issue2

Summary image here
carla_coordinates

Good to point out that ROS-bridge transforms the left-handed coordinate system of CARLA into the right-handed coordinate system of ROS, so the y direction mismatch Python-API. carla_common/src/carla_common/transforms.py

@matejm42
Copy link
Author

I accidentally closed this issue when I merged it in my fork, but I thing it should remain open here until it's fixed.

@matejm42 matejm42 reopened this May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant