FAQ
Warning
Many issues can be resolved using ChatGPT or Google search. For questions that cannot be resolved, please include and attach excerpts of error logs.
Environment Setup
The communication between AWSIM and Autoware is unstable.
When testing locally, setting ROS_LOCALHOST_ONLY=1
in all terminals can improve communication speed. Add the following lines to your .bashrc
.
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
For a dual-PC setup (Windows+Linux or Linux+Linux), set ROS_LOCALHOST_ONLY=0
.
Note:
- After OS startup, you will need to enter the password when starting the terminal and execute
sudo ip link set lo multicast on
for the first time. - Always track changes by using commands like
echo $ROS_LOCALHOST_ONLY
to avoid forgetting modifications in.bashrc
. - Mixed use of
ROS_LOCALHOST_ONLY=1
andROS_LOCALHOST_ONLY=0
will prevent container communication. - Ensure that
ROS_LOCALHOST_ONLY
is not hard-coded in the executable.
ros2 topic list does not display.
Ensure that the ROS_DOMAIN_ID
matches on your machine (this is not an issue if you haven't set ROS_DOMAIN_ID
). Also, ensure ROS2 is sourced correctly.
Using AWSIM on Windows and Autoware on Ubuntu, ros2 topic list does not display.
Allow communication through the Windows Firewall. Also, execute ros2 daemon stop
and ros2 daemon start
to ensure no unnecessary processes are running, then restart.
Rocker does not start.
First, verify that Rocker is installed. If it is installed but does not start, check the permissions. It has been reported that differing account types and permissions when building and running the image can cause issues.
AWSIM terminates with a core dump.
If AWSIM terminates with a core dump immediately after startup, your GPU may be out of memory. Check the GPU memory usage with nvidia-smi
to ensure it is not at its limit. A GPU with at least 11GB of memory is recommended.
I only have a Windows PC with a GPU.
The official support is for the configuration listed on the HP website, so detailed guidance cannot be provided, but generally, the following methods are possible:
The key is to "prepare an environment to run Autoware," which may involve issues related to performance, package availability, and host-container communication settings. Possible solutions include:
- Setting up Ubuntu in a dual-boot configuration.
- Using a VM on Windows to run Ubuntu (Hyper-V, VirtualBox, VMware, etc.).
- Setting up Ubuntu on WSL2.
- Setting up a Docker environment on Windows and running the Autoware image directly.
- Building the environment in the cloud (some past participants used AWS).
AWSIM appears but Rviz shows a black screen when set up on AWS.
There have been cases where running sudo apt upgrade
resolved the issue. Additionally, there is a similar question in a past issue that might be helpful.
docker_run.sh: line 35: rocker: command not found
appears.
Please install Rocker as described here.
WARNING unable to detect os for base image 'aichallenge-2024-dev', maybe the base image does not exist
appears.
Please build the Docker image.
Unable to pull Docker.
Please restart Docker with newgrp docker
or sudo service docker restart
, or restart Ubuntu.
Operations
ROS
I get a no module named * error when creating a package with Python and running it.
Refer to this guide.
What command should I use to check the type of a topic?
Use ros2 topic info -v fuga_topic
to check the type of a topic, or if you can identify the node, use ros2 node info hoge-node
. For more information about ROS commands, searching for "ROS2 commands" online may also help.
Autoware
Maps and routes are not displayed in Rviz.
Ensure that the map data is placed in the correct location and is valid.
I don't know how to improve Autoware for participation.
Methods include adjusting parameters, improving nodes, or replacing nodes in Autoware. Basic configurations of Autoware can be found on the website or here. Additionally, this external article might be helpful.
Please explain about Behavior Path/Motion Planner.
The behavior planner primarily functions for general roads (ODD3 and above), considering traffic rules like stop lines, crosswalks, and signal stops. It does not optimize avoidance functions. On the other hand, the motion planner functions for limited areas (ODD2 and below), handling basic driving functionalities such as obstacle avoidance, stopping, and speed optimization without using signals or map information.
Please explain Autoware's avoidance behavior.
There are two types of avoidance: behavior path and obstacle avoidance. By default, obstacle avoidance is off and only path smoothing is performed. The default setting is to avoid using the behavior path, but the default avoidance targets are only cars and trucks.
Please explain the center point.
The center point detects cars, trucks, and pedestrians, but not untagged objects like cardboard boxes. Currently, Autoware requires object data for planning, and the default configuration using center point can lead to two issues:
- If the center point fails, planning cannot generate a path.
- Clustering-based obstacle detection results are erased during data association.
Although Autoware mini is the ideal perception configuration, understanding these issues and selectively implementing nodes is challenging. Ensuring the center point functions correctly may be important. Reference
AWSIM
How can I reset the car to the initial position?
Currently, the only way to do this is by restarting AWSIM.
AWSIM operation is unstable.
This may be due to insufficient GPU performance. If using a high-performance GPU is not feasible, setting the time scale to about 0.5 using the slider at the bottom of the AWSIM screen may stabilize operation.
I want to tune the MPC. Are the model parameters (delay and time constants) used in this AWSIM disclosed?
The delay and time constants are neither measured nor disclosed, but the basic specifications are available here.
General Competition Questions
Is it possible to add extra sensors?
To ensure all participants face the same conditions and difficulty, the addition of new sensors is not allowed.