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-Autoware localization problem #142

Open
Jk7913 opened this issue Apr 15, 2022 · 3 comments
Open

CARLA-Autoware localization problem #142

Jk7913 opened this issue Apr 15, 2022 · 3 comments

Comments

@Jk7913
Copy link

Jk7913 commented Apr 15, 2022

Ubuntu 18.04
CARLA 0.9.11
Autoware 1.14

Hi, I'm currently using Carla 9.11 but same thing was happening with 9.10.1. It also does not mater if I'm running ROS-bridge in synchronous or asynchronous mode, problems is always persistent. Basically on sharp turn, when NDT time increase, Autoware get lost, looks like vehicle shown in rviz Autoware is not capable to keep up with the vehicle in simulation. I assume something is wrong with localization in Autoware. I'm still getting some errors/warnings but I do not know if it has to do anything with it ("Failed transform from base_link to ego_vehicle/lidar", and some others which might be related to that one), since when the vehicle is driving straight, whole thing looks ok. Any idea what might be causing the problem? Thanks

Autoware - Copy

@MakerFace
Copy link

MakerFace commented Jul 12, 2022

Ubuntu 18.04, CARLA 0.9.10.1, Autoware 1.14
I have the same problem!

@MakerFace
Copy link

I'm not sure if it actually solved the problem, but you can try this solution:
Add the following code snippet

  <!--
    # imu #
    remap carla imu to autoware
    @todo: to reduce load, Autoware should directly use the Carla-topic.
  -->
  <node pkg='topic_tools' type='relay' name='imu_relay' args='/carla/$(arg role_name)/imu/imu1 /imu_raw'/>

to carla_autoware/carla-autoware-agent/agent/bridge.launch, and restart your carla_autoware_agent. Gook luck.

@JIANGZhengm
Copy link

I met the same problem and solved it by doing: (1) make sure synchronous mode is "true" in the carla-ros-bridge launch file; (2) Rebuild the NDT-matching node with Cuda. If these measures still don't work , you can try using the ground truth localization of Carla.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants