|
пре 3 година | |
---|---|---|
.github | пре 2 година | |
Assets | пре 2 година | |
Config | пре 2 година | |
Gem | пре 2 година | |
Levels | пре 2 година | |
LightingPresets | пре 2 година | |
Platform | пре 2 година | |
ReflectionProbes | пре 2 година | |
Registry | пре 2 година | |
Resources | пре 2 година | |
ShaderLib | пре 2 година | |
Shaders | пре 2 година | |
cmake | пре 2 година | |
.gitattributes | пре 2 година | |
.gitignore | пре 2 година | |
.lfsconfig | пре 2 година | |
CMakeLists.txt | пре 2 година | |
CODE_OF_CONDUCT.md | пре 2 година | |
CONTRIBUTING.md | пре 2 година | |
LICENSE | пре 2 година | |
LICENSE.txt | пре 2 година | |
LICENSE_APACHE2.TXT | пре 2 година | |
LICENSE_MIT.TXT | пре 2 година | |
README.md | пре 2 година | |
SurfaceTypeMaterialLibrary.physmaterial | пре 2 година | |
autoexec.cfg | пре 2 година | |
game.cfg | пре 2 година | |
preview.png | пре 2 година | |
project.json | пре 2 година | |
surface_tags.surfaceTagNameList | пре 2 година | |
user.cfg | пре 2 година |
This project will demonstrate the ROS2 Gems and O3DE using assets from the Loft demo scene
Refer to the O3DE System Requirements documentation to make sure that the system/hardware requirements are met
This project has the following dependencies
The following steps will assume the following
$ cd $DEMO_BASE
~/github$ git clone https://github.com/o3de/o3de.git
~/github$ cd o3de
~/github/o3de$ git lfs install
~/github/o3de$ git lfs pull
~/github/o3de$ scripts/o3de.sh register --this-engine
$ cd $DEMO_BASE
~/github$ git clone https://github.com/RobotecAI/o3de-ros2-gem.git
~/github$ $DEMO_BASE/o3de/scripts/o3de.sh register --gem-path $DEMO_BASE/o3de-ros2-gem
$ cd $DEMO_BASE
~/github$ git clone https://github.com/aws-lumberyard/loft-arch-vis-sample.git
~/github$ cd loft-arch-vis-sample
~/github/loft-arch-vis-sample$ git lfs install
~/github/loft-arch-vis-sample$ git lfs pull
~/github$ $DEMO_BASE/o3de/scripts/o3de.sh register --gem-path $DEMO_BASE/loft-arch-vis-sample/Gems/ArchVis
$ cd $DEMO_BASE
~/github$ o3de/scripts/o3de.sh register -pp $DEMO_BASE/o3de-demo-project
~/github$ cd o3de-demo-project
~/github/o3de-demo-project$ cmake -B build/linux -G "Ninja Multi-Config" -DLY_UNITY_BUILD=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DLY_PARALLEL_LINK_JOBS=16 -DLY_STRIP_DEBUG_SYMBOLS=OFF
~/github/o3de-demo-project$ cmake --build build/linux --config profile --target ROS2-Gem-Demo Editor AssetProcessor
$ cd $DEMO_BASE
~/github$ cd o3de-demo-project
~/github/o3de-demo-project$ cd build/linux/bin/profile
~/github/o3de-demo-project/build/linux/bin/profile$ ./Editor
Sometimes when there were problems while the AssetProcessor was working (for example, disk space ran out), subsequent executions of the Editor fail to re-start the process for such Assets. This might be due to a limitation of the number of files that can be watched by a single user. You can fix this by increasing the value, for example:
sudo sysctl -w fs.inotify.max_user_watches=524288
To make this setting permanent, add it to /etc/systctl.conf
file.