lethal233 / ms-thesis-project

GNU General Public License v3.0
1 stars 0 forks source link

Workaround I made on 1/30/2024 #5

Closed lethal233 closed 3 months ago

lethal233 commented 7 months ago

Using the latest Autoware rather than release branch

Errors when using the latest version of Autoware If you are working with the latest version of Autoware, issues can occur due to out-of-date software or old build files. To resolve these types of problems, first try cleaning your build artifacts and rebuilding:

rm -rf build/ install/ log/
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release

settools upgrade

pip install --upgrade setuptools

Performance issues

check this page: dds setup

i.e., add these lines to ~/.bashrc:

export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp

export RCUTILS_COLORIZED_OUTPUT=1
export RCUTILS_CONSOLE_OUTPUT_FORMAT="[{severity} {time}] [{name}]: {message} ({function_name}() at {file_name}:{line_number})"
export CYCLONEDDS_URI=/home/sora/Desktop/shilonl/autoware/sli/cyclonedds_config.xml

on host machine:

sudo sysctl -w net.core.rmem_max=2147483647