Trouble shooting
This document describes the most common errors encountered when working with AWSIM or Autoware.
Trouble | Solution |
---|---|
error: TASK [autoware.dev_env.cuda : Install CUDA keyring] ***************** fatal: [localhost]: FAILED! => "changed": false, "msg": "A later version is already installed" when installing CUDA keyring. |
1. Install CUDA Toolkit 11.6 manually: wget https://developer.download.nvidia.com/compute/cuda/11.6.0/local_installers/cuda_11.6.0_510.39.01_linux.run sudo sh cuda_11.6.0_510.39.01_linux.run 2. Downgrade your CUDA keyring to cuda-keyring_1.0-1_all.deb |
error: /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’: 435 | function(_Functor&& __f) when building autoware. |
There are two solutions: 1. Visit this link 2. Run these sets of commands: sudo apt install gcc-10 g++-10 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10 sudo update-alternatives --config gcc sudo update-alternatives --config g++ sudo reboot |
Massive output of Plugins errors | git clone the AWSIM repository again |
error : RuntimeError: error not set, at C:\ci\ws\src\ros2\rcl\rcl\src\rcl\node.c:262 |
Set up environment variables and config around ROS2 correctly. For example: - Environment variables - cyclonedds_config.xml |
$ ros2 topic list is not displayed |
- your machine ROS_DOMAIN_ID is different- ROS2 is not sourced |
Using AWSIM on Windows and Autoware on Ubuntu. $ ros2 topic list is not displayed. |
Allow the communication in Windows Firewall |
self-driving stops in the middle of the road. | Check if your map data is correct (PointCloud, VectorMap, 3D fbx models) |
Connecting AWSIM and Autoware results in bad network | Make ros local host-only. Include the following in the .bashrc (The password will be requested at terminal startup after OS startup.) export ROS_LOCALHOST_ONLY=1 export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp if [ ! -e /tmp/cycloneDDS_configured ]; then sudo sysctl -w net.core.rmem_max=2147483647 sudo ip link set lo multicast on touch /tmp/cycloneDDS_configured fi |
Error when starting AWSIM binary. segmentation fault (core dumped) |
Check if yourNvidia drivers or Vulkan API are installed correctly |
Initial pose does not match automatically. | |
Unity crashes and check the log for the cause of the error. | Editor log file location Windows : C:\Users\username\AppData\Local\Unity\Editor\Editor.log Linux : ~/.config/unity3d/.Editor.log Player log file location Windows : C:\Users\username\AppData\LocalLow\CompanyName\ProductName\output_log.txt Linux : ~/.config/unity3d/CompanyName/ProductName/Player.log See also : Unity Documentation - Log Files |
Safe mode dialog appears when starting UnityEditor. or error : No usable version of libssl was found |
1. download libssl $ wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.11_amd64.deb 2. install sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.11_amd64.deb |