-
Notifications
You must be signed in to change notification settings - Fork 15
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
AWSIM Labs - Integration with Autoware not working #169
Comments
AWSIM Labs and Autoware should be able to run with that configuration in the same PC. I'll check the current Autoware main to see if there are any issues 👍 |
I found the following issue using the latest Autoware:
|
I was able to run AWSIM Labs v1.5.1 with up to date Autoware and Autoware Universe main. |
@mozhoku I have the AWSIM Labs v1.5.1 with latest (30th Sept) main branch of Autoware Universe. |
Okay have you followed these steps? There are some small differences from the Tier IV's AWSIM if you've used that one before. |
@mozhoku Yes, followed the steps as mentioned in the link. |
@pandyah In that case there shouldn't be any problems from the AWSIM Labs side. Since I'm not very familiar with the Autoware, I'll try to ask my colleagues. Maybe they can help you out. |
@pandyah Can you share the full Autoware log file ? You can find it in |
@Aysenayilmaz this broke the Autoware side: They've updated: But not https://github.com/autowarefoundation/awsim_labs_sensor_kit_launch |
@maxime-clem, Please find attached launch logs of Autoware. |
@pandyah from your logs:
Both has been today solved by: Could you do:
And try again? For me, I had the same problems and it was solved. |
Thanks very much for the details. I tried the same at my end. Unfortunately, AWSIM still freezes and does not get integrated with Autoware. Please find attached the launch.log |
This looks like an issue with the version of your TensorRT library. |
Thanks a lot @maxime-clem for the prompt response. Tried the |
Thanks all for your help. I am new to AWSIM. Carla works fine with Autoware (Release 2023.10) but does not support the latest release. Therefore wanted to try AWSIM. Please find attached latest log file. Now at least it is able to localize the vehicle and shows the point cloud in RVIZ. However, in few seconds the AWSIM freezes with point cloud error. When AWSIM freezes, the CTRL-C does not work and only option is to use kill -9 to stop AWSIM. Also, while running only AWSIM without sourcing the ROS2 environment using ./awsim_labs_v1.5.1/awsim_labs.x86_64 without Autoware, the Vehicle Controller keys does not work. Not able to move the vehicle. The hotkeys related to VPPVehicleSignalHandler.cs works fine. Thanks a lot. |
Are you running out of memory ? Can you slowdown AWSIM (e.g., to run at 0.3x real time) to see if it prevents this issue ? |
Thanks very much for the response @maxime-clem Error from Autoware logs
Also, as mentioned earlier, AWSIM running without Autoware freezes after few minutes and there is no response to Vehicle Controller keys. Thanks for the help. |
@pandyah I am sorry to hear you are having these troubles. Let's debug it step by step.
I'm aware of this bug, it is also there for me too. But it didn't prevent me from driving autonomously. We should fix it but it is not urgent for now.
Just running AWSIM Labs as it is shouldn't cause it to freeze after a while. We should solve this in isolation first. Let's make sure ROS 2 is not sourced first: Run the following in a terminal. echo $ROS_DISTRO This should return an empty line. Then please download and open the new awsim_labs executable from that terminal: https://github.com/autowarefoundation/AWSIM-Labs/releases/tag/v1.5.2 the new version is 1.5.2 (let's keep going with this version.) In order for keyboard control to work, you need to click on this button: And you should be able to drive with either wasd or arrow keys. And no matter how long it runs, it should not freeze. I did it on my machine and it seems to be running smoothly by itself. Could you confirm this much first? Edit: Also on your 3080 mobile chip and 16 thread cpu, you shouldn't need to slow it down. 32GB Ram is also more than enough. |
And with the DDS side of things, could you confirm you have these configured correctly? This is important for running high traffic DDS applications (like Autoware) on your local machine with best performance. |
Thanks a lot for all the details. AWSIM running independently works with the arrow keys smoothly and does not freeze. This is great. However, it freezes when running with Autoware (Irrespective if it is started before Autoware or after Autoware) Thanks a lot. |
Simulator is not able to integrate with latest Autoware. It freezes in few seconds with localization error as below.
The text was updated successfully, but these errors were encountered: