tlab-wide / AutowareV2X

AutowareV2X is an open-source module that can be added onto the newest Autoware.universe to enable V2X communication.
https://tlab-wide.github.io/AutowareV2X/main/
19 stars 5 forks source link

autoware_v2x: Cannot locate rosdep definition for [Vanetza] #50

Open QSLee-Net opened 11 months ago

QSLee-Net commented 11 months ago

ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: autoware_v2x: Cannot locate rosdep definition for [Vanetza], this error occurred during installation and compilation. How can I resolve it? Thank you! 截图 2023-09-15 16-36-09

yuasabe commented 11 months ago

@L-Net-1992 Hi, thanks for trying out AutowareV2X!

Actually, I think this autoware_v2x: Cannot locate rosdep definition for [Vanetza] error can be ignored for now and everything is OK as long as the dependencies for all the other packages are installed.

As per the AutowareV2X documentation here, just make sure you are running the following command. Don't forget the -r option so you can skip over this error from autoware_v2x.

sudo apt update
rosdep update
rosdep install --from-paths . --ignore-src --rosdistro $ROS_DISTRO -r

I'll try to fix this though, because it is definitely confusing.

Please let me know how the rest of the setup goes! Thanks!

QSLee-Net commented 11 months ago

@yuasabe Firstly, thank you for your timely response. Secondly, I have updated the code base again and encountered some issues. I hope it will serve as a reminder to you. ################################################################################################### My computer environment configuration: System: Ubuntu 22.04 Autoware: Latest ROS:Humble Other: Installed according to the official Autoware documentation ###################################################################################################

Based on the installation documentation, I have selected the following version: 截图 2023-09-18 09-00-16 Then some compilation warnings appeared one after another: 截图 2023-09-18 09-27-58 截图 2023-09-18 09-34-25 截图 2023-09-18 09-34-57 The final result is the compilation: 截图 2023-09-18 09-47-27 I think the compilation was successful because some CMAKE warnings also appeared in other Autoware modules, which are considered errors, such as the following: 截图 2023-09-18 09-48-02 When I recompiled again, all the errors and warnings disappeared. 截图 2023-09-18 09-58-08

#####################################################################################################

When I use a newer version (main/master): 截图 2023-09-18 09-00-41 The following error occurred: 截图 2023-09-18 10-06-06 截图 2023-09-18 10-07-00 截图 2023-09-18 10-07-30 I tried to fix these errors, but failed because I have just started working on this project and am not very familiar with it. Additionally, I can feel that it is an excellent open source project. Thank you for your contribution. Thank you. I will also try to fix these errors, and if there is progress, I will promptly PR, thank you!