Open ll7 opened 2 years ago
Preperation:
First approach is to implement the micromobility vehicle as a normal vehicle. Integrate more accurate physics with https://github.com/ORNL-Modelica/UnrealEngine-FMIPlugin later.
Unreal directory
~/git/UnrealEngine_4.26
Building under Ubuntu 20.04
https://carla.readthedocs.io/en/latest/build_linux/#system-requirements
https://github.com/carla-simulator/carla/blob/master/Docs/build_linux.md?plain=1#L40
remove python as a package for ubuntu 20
sudo apt-get install build-essential clang-8 lld-8 g++-7 cmake ninja-build libvulkan1 python3-dev python3-pip libpng-dev libtiff5-dev libjpeg-dev tzdata sed curl unzip autoconf libtool rsync libxml2-dev git
warning for clang:
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/lib/llvm-8/bin/clang++ 180 &&
> sudo update-alternatives --install /usr/bin/clang clang /usr/lib/llvm-8/bin/clang 180
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/llvm-8/bin/clang++ because link group clang++ is broken
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/llvm-8/bin/clang because link group clang is broken
only use pip3:
pip3 install --user -Iv setuptools==47.3.1 &&
pip3 install --user distro &&
pip3 install --user wheel auditwheel
start your editor
cd ~/git/UnrealEngine_4.26/Engine/Binaries/Linux && ./UE4Editor
export UE4_ROOT=~/git/UnrealEngine_4.26
cd ~/git/carla-scoomatic/carla
make PythonAPI ARGS="--python-version=3.8"
Current tutorial to add a vehicle:
export UE4_ROOT=~/git/UnrealEngine_4.26
cd ~/git/carla-scoomatic/carla
make launch
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Add a micromobility vehicle in carla.