GithubHelp home page GithubHelp logo

"Failed transform from base_link to ego_vehicle/lidar/lidar1" and autoware does not seem to connect properly about carla-autoware HOT 24 OPEN

carla-simulator avatar carla-simulator commented on July 22, 2024
"Failed transform from base_link to ego_vehicle/lidar/lidar1" and autoware does not seem to connect properly

from carla-autoware.

Comments (24)

7n42Oaq1 avatar 7n42Oaq1 commented on July 22, 2024 2

thanks, I just got it working. I followed a comment from Felix-Feng-90 (can't find that comment anymore in here), basically I forgot to install Git lfs (silly mistake). After installing it, I repeated the whole process to build carla-autoware docker, alongside carla 0.9.10.1 docker, and everything works well for me

Following the instruction I can view point clouds and the image in YOLO box. However, I still had the error Failed transform from base_link to ego_vehicle/lidar/lidar1. And the ego_vehicle did not move anymore even though I set the 2D Nav goal. Does someone encounter the problem and solve it?

from carla-autoware.

KailinTong avatar KailinTong commented on July 22, 2024 2

Hello all,

I installed git-lfs and repeated the whole process again.

Be patient when doing git clone, it might hang a while.

Then it works perfectly!

from carla-autoware.

AminoACID123 avatar AminoACID123 commented on July 22, 2024

Also experiencing this problem, hoping to find the answer.

from carla-autoware.

joel-mb avatar joel-mb commented on July 22, 2024

Hi @AIasd @AminoACID123. Can you try again following the new README instructions?

from carla-autoware.

Basavaraj-PN avatar Basavaraj-PN commented on July 22, 2024

I am getting the same issue, I fallowed the README instructions @joel-mb

from carla-autoware.

AminoACID123 avatar AminoACID123 commented on July 22, 2024

@joel-mb I used the updated Dockerfile to generate the docker image and everything works fine for me now. Thanks.

from carla-autoware.

jxzzhang avatar jxzzhang commented on July 22, 2024

Hi I am having the same problems, and the ego_vehicle is not moving at all. Could you please post solution if you managed to get it working? thanks

from carla-autoware.

Basavaraj-PN avatar Basavaraj-PN commented on July 22, 2024

@joel-mb I used the updated Dockerfile to generate the docker image and everything works fine for me now. Thanks.

Still the same :(

from carla-autoware.

AminoACID123 avatar AminoACID123 commented on July 22, 2024

Based on my experiences, here is my advice:

  1. Use the newest Dockerfile.
  2. Check the integrity of the autoware-contentsfolder.
  3. If it still doesn't work, check the log files located in ~/.ros/log/folder for detailed information.

from carla-autoware.

jxzzhang avatar jxzzhang commented on July 22, 2024

thanks, I just got it working. I followed a comment from Felix-Feng-90 (can't find that comment anymore in here), basically I forgot to install Git lfs (silly mistake). After installing it, I repeated the whole process to build carla-autoware docker, alongside carla 0.9.10.1 docker, and everything works well for me

from carla-autoware.

Felix-Feng-90 avatar Felix-Feng-90 commented on July 22, 2024

@Jasonzhang11111 Glad to hear that installing Git lfs also works for you. I removed the comment because I found that although it works, there are still plenty of warning messages (especially some "topics not subscribed ones"), was trying to fix them as well. However, at the moment, I only solved the "state publisher" is deprecated warning, which needs to change the type of robot_state_publisher inside vehicle_model.launch

from carla-autoware.

Basavaraj-PN avatar Basavaraj-PN commented on July 22, 2024

Still the same with git-lfs

from carla-autoware.

joel-mb avatar joel-mb commented on July 22, 2024

Hi @Basavaraj-PN @7n42Oaq1 ,
Are you able to see the vector map and the point cloud map in Rviz? As others have said, this may be related to not having the maps correctly cloned. Please check that inside the autoware-contents folder you have all the *.pcd , *csv and *.osm files.

Apart from this, can you check if there is any node crashing when running the agent?

from carla-autoware.

Basavaraj-PN avatar Basavaraj-PN commented on July 22, 2024

@joel-mb I have attached terminal output and autoware-contents,

Terminal log -> launch_log.txt

At line num 2740 (log file) there is one error , terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >' what(): boost: mutex lock failed in pthread_mutex_lock: Invalid argument

Autoware_Contents

autoware-contents

I verified all *.pcd, *.csv and *.osm files exists.

from carla-autoware.

7n42Oaq1 avatar 7n42Oaq1 commented on July 22, 2024

@joel-mb my Rviz is shown like this
WeChat Image_20201105123336
I think everything is ok except the vehicle does not move.

from carla-autoware.

7n42Oaq1 avatar 7n42Oaq1 commented on July 22, 2024

@joel-mb my Rviz is shown like this
WeChat Image_20201105123336
I think everything is ok except the vehicle does not move.

@joel-mb I found my problem that I modified the Dockerfile to compile ros packages in ros-bridge. I repeated the whole process to build carla-autoware docker follow the readme and now everything works. Thanks.

from carla-autoware.

joel-mb avatar joel-mb commented on July 22, 2024

@7n42Oaq1 glad to here is working now for you!

@Basavaraj-PN I realized that the vision_darknet_detect node is also dying. Can you check what happends if you disable the vision nodes? Commenting the vision_detection include tag in my_detection.launch should be enough.

from carla-autoware.

AI-tang avatar AI-tang commented on July 22, 2024

I installed git-lfs and follow the read me to build the docker . but still get the error "Failed transform from base_link to ego_vehicle/lidar/lidar1", the ego vehicle still can not move

from carla-autoware.

ghostsun89 avatar ghostsun89 commented on July 22, 2024

I didn't use Docker to build the env and met the same issue. All is right unless the vehicle didn't move. I got the warning below:

[ WARN] [1630580298.268371780, 99.252712106]: Waiting for current_pose topic ...
[ WARN] [1630580298.268480414, 99.252712106]: Waiting for current_velocity topic ...

from carla-autoware.

ghostsun89 avatar ghostsun89 commented on July 22, 2024

I didn't use Docker to build the env and met the same issue. All is right unless the vehicle didn't move. I got the warning below:

[ WARN] [1630580298.268371780, 99.252712106]: Waiting for current_pose topic ...
[ WARN] [1630580298.268480414, 99.252712106]: Waiting for current_velocity topic ...
pip install simple-pid pygame networkx==2.2

This fixed my issue.

from carla-autoware.

110168511 avatar 110168511 commented on July 22, 2024

I installed git-lfs and repeated the whole process again.it is success.
thank you @KailinTong

from carla-autoware.

kaka-lin avatar kaka-lin commented on July 22, 2024

Hello all,

I installed git-lfs and repeated the whole process again.

Be patient when doing git clone, it might hang a while.

Then it works perfectly!

Thank you @KailinTong !!!

from carla-autoware.

lijecaru avatar lijecaru commented on July 22, 2024

Hi, can someone please tell me the step-by-step process to run Carla and autoware docker? I did the following (Ubuntu20.04):

  1. Installed Docker 19.03
  2. Installed Nvidia Docker
  3. Installed Carla Docker (0.9.10.1)
  4. Installed Git-lfs (and checked that it was working with $ git lfs install)
  5. Cloned Carla Autoware Repository $ git clone --recurse-submodules https://github.com/carla-simulator/carla-autoware
  6. Built Carla autoware image to generate a carla-autoware:latest docker image
  7. Run on one terminal the Carla server
  8. Run the carla-autoware image
  9. Start the agent by using: $ roslaunch carla_autoware_agent carla_autoware_agent.launch town:=Town03
  10. Rviz is showing the vehicle on one part of the map and the sensing suite in another. Camera is not working.
    Screenshot from 2022-03-14 16-40-12

Error appears to be vehicle model, No transform from [base_link] to [world]

I did have to use sudo to run the autoware docker image: $ sudo ./run.sh

from carla-autoware.

minhthai1995 avatar minhthai1995 commented on July 22, 2024

Hi, which cuda version you are using?

from carla-autoware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.