FAQ
ROS FAQ
When creating a package in Python, a "no module named *" error occurs during execution
Please check if the submodule has been added to setup.py. please refer to this link
$ ros2 topic list
is not displayed
- Ensure your machine's
ROS_DOMAIN_ID
matches. (If you haven't set theROS_DOMAIN_ID
, there's no issue.) - Ensure
ROS2
is sourced.
Using AWSIM on Windows and Autoware on Ubuntu but $ ros2 topic list
is not displayed
- Allow communication in the Windows Firewall.
- Execute
ros2 daemon stop
andros2 daemon start
, check for any lingering processes, and restart.
No path found in Rviz
- Verify that your map data is correct. This includes PointCloud, VectorMap, and 3D fbx models.
AWSIM and Autoware network is unstable
When testing locally, setting ROS_LOCALHOST_ONLY=1
in all terminals can improve communication speed. For this competition, configurations of two PCs (Windows+Linux, Linux+Linux) and a single PC (only Linux) are considered. Please refer to the following settings:
- In the evaluation environment, set
ROS_LOCALHOST_ONLY=0
in this file. - On the container side, set
ROS_LOCALHOST_ONLY=0
in this file.
If you feel that machine performance or communication speed is insufficient, you can change the execution to be localhost-only as follows:
- Set ROS to be localhost-only. Add the following lines to your
.bashrc
. Note: After OS startup, the password will be prompted at terminal startup, andsudo ip link set lo multicast on
is required for the first time.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
Note: If you forget to modify as written in .bashrc
, it will always be applied. Always track changes, such as verifying with echo $ROS_LOCALHOST_ONLY
. Also, be aware that ROS_LOCALHOST_ONLY
is specified in the executable file.
Launched Autoware is not stable
Consider setting a wait time for Autoware to start.
<timer period="150.0">
<include file="$(find-pkg-share self_driving_controller)/launch/self_driving_controller.launch.xml" />
</timer>
Unable to Launch Rocker
Setup FAQ
Rviz Black Screen when running container
add-apt-repository ppa:kisak/kisak-mesa
apt update
apt upgrade
AWSIM ends with coredump
If AWSIM ends with a coredump just by starting, there might be a GPU memory shortage.
Check with Nvidia-smi if the GPU memory usage is reaching its limit.
We recommend a GPU memory of more than 11GB.
Other FAQ
You can also refer to the tier4:AWSIM troubleshooting.