evshary / autoware_carla_launch

ROS 2 Launch for running Autoware + Carla easily
https://autoware-carla-launch.readthedocs.io/en/latest/
Apache License 2.0
57 stars 18 forks source link

Update autoware to 2024.3 version #101

Closed habby1012 closed 1 week ago

habby1012 commented 3 months ago

Issue to be solved:

  1. After launching autoware, it has to take about two minutes for 'auto' to work. 'Common_ground_filter' node in the perception module seems to be the root cause, as it is not loaded in the first two minutes. 'Common_ground_filter' node -> ... -> '/perception/obstacle_segmentation/pointcloud' topic -> 'behavior_velocity_planner' node in the planning module -> planning function doesn't work well -> can not 'auto'.

  2. Check the difference between centerpoint and centerpoint_tiny

Things that have be done: Update autoware to 2024.3 version. You can check the details in commit messages.

YangXianqi commented 2 months ago

These days, the period of compiling will fail

habby1012 commented 2 months ago

Hello @YangXianqi! In which part you encounter the compiling error?

YangXianqi commented 2 months ago

Hello @YangXianqi! In which part you encounter the compiling error?

Hy @habby1012 !

  1. During compiling the autoware, the commit ids of core/autoware_internal_msgs and core/autoware_adapi_msgs seem to not be valid.

  2. During compiling the bridge, make prepare_bridge will report “configure: error: cannot compute suffix of object files: compile"

habby1012 commented 2 months ago

Hello @YangXianqi !

  1. Are you using the "update autoware" branch or other branch?
  2. Did you follow this page to build the environment?

You can provide more information about how you proceeded, so i can try to reproduce and help you find the problem. Thank you!

YangXianqi commented 2 months ago

Hello @YangXianqi !

  1. Are you using the "update autoware" branch or other branch?
  2. Did you follow this page to build the environment?

You can provide more information about how you proceeded, so i can try to reproduce and help you find the problem. Thank you!

Thanks @habby1012 !

  1. I am using the "update autoware" branch" to compoile the project

  2. During compiling the bridge, when make prepare_bridge is used, the error will occur: image

  3. During compiling the autoware, the commid id seems to be invalid: image

habby1012 commented 2 months ago

Hi @YangXianqi !

The log of compiling the Autoware you show seems like the Autoware version is not compatible. Since i have updated the Autoware version to 2024.6 these days, i am not sure whether this is the cause or not. Maybe you can check this first.

YangXianqi commented 2 months ago

Hi @YangXianqi !

The log of compiling the Autoware you show seems like the Autoware version is not compatible. Since i have updated the Autoware version to 2024.6 these days, i am not sure whether this is the cause or not. Maybe you can check this first.

Thanks @habby1012 ! I have checked the repo of the projects with mistakes, the corresponding commit id, such as ed9bd6535347214a8139df32f6b321265067690e in autoware_adapi_msgs and autoware_internal_msgs seems to be invalid. On the other hand, have you met the occured error in compiling the bridge?

habby1012 commented 2 months ago

Hi @YangXianqi !

About the compiling problem of Autoware, are you using the 2024.6 Autoware docker image, or is your image still the older version such as 2024.3? Regarding the occured error in compiling the bridge, i didn't meet such error.

I think you can try using 'docker images' command and check if you are using the right docker image first. If your docker image is still the old version, you should use 'git pull' to update the autoware_carla_launch repo and try to build it again. Hope this is useful to you!

YangXianqi commented 2 months ago

Thanke @habby1012 !

I have rebuilt the image based on ghcr.io/autowarefoundation/autoware:20240603-prebuilt-cuda-amd64.

image

But when i use the command make prepare_bridge, the error occured again: image

In addition, the autoware image i used is 2024.6.

habby1012 commented 2 months ago

Hi @YangXianqi Sorry for the late reply. I'm off from the office for about ten days starting from today, but I will still try to help.

Can you show the content of the file /tmp/python-build* showed in the yellow error log for me? You can upload the file, and I will take a look. I guess it may be something like the permission issue.

YangXianqi commented 2 months ago

Hi @YangXianqi Sorry for the late reply. I'm off from the office for about ten days starting from today, but I will still try to help.

Can you show the content of the file /tmp/python-build* showed in the yellow error log for me? You can upload the file, and I will take a look. I guess it may be something like the permission issue.

Thanks a lot! I have fixed this problem. It is caused by permission problem. But when i use the autoware image, there is a problem:

image

habby1012 commented 1 month ago

Hi @YangXianqi, Sorry for the late reply again! Have you solved this issue? Did it happen when you try to build autoware?

evshary commented 1 week ago

Close the PR since it's replaced by https://github.com/evshary/autoware_carla_launch/pull/130