Bladeren bron

Update README.md

Adam Dąbrowski 2 jaren geleden
bovenliggende
commit
d6d86212db
1 gewijzigde bestanden met toevoegingen van 24 en 9 verwijderingen
  1. 24 9
      README.md

+ 24 - 9
README.md

@@ -83,19 +83,14 @@ The Gem is open to your contributions!
 
 ### Registering the Gem
 
-During the step above, make sure to register the Gem in the engine:
+During the step above, make sure to register the Gem in the engine. Run this command in O3DE directory:
 `scripts/o3de.sh register --gem-path <PATH_TO_CLONED_ROS2_GEM>`
 
-### Additional ROS 2 packages
-
-The additional packages need to be installed. Use the following command:
-
+You can confirm the Gem is registered running the following command from O3DE directory:
 ```
-sudo apt install ros-${ROS_DISTRO}-vision-msgs ros-${ROS_DISTRO}-nav-msgs ros-${ROS_DISTRO}-rmw-cyclonedds-cpp ros-${ROS_DISTRO}-cyclonedds
+scripts/o3de.sh get-registered -gn ROS2
 ```
 
-💡 ***Note:*** This is a dependency besides all the packages already required by the ROS 2 Gem.
-
 ### Required environment settings
 
 Some commands and environmental variables are necessary for ROS 2 systems, including this demo, to function properly. It is best to add these commands and settings to either `~/.bashrc` or `~/.profile`.
@@ -112,6 +107,26 @@ Currently we are observing issues when running navigation with FastDDS (the defa
 export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
 ```
 
+### Additional ROS 2 packages
+
+First, ensure your ROS 2 is installed and sourced properly:
+
+```
+echo ${ROS_DISTRO}
+```
+
+It should show `humble` or `galactic`.
+
+
+The additional packages need to be installed. Use the following command:
+
+```
+sudo apt install ros-${ROS_DISTRO}-vision-msgs ros-${ROS_DISTRO}-nav-msgs ros-${ROS_DISTRO}-rmw-cyclonedds-cpp ros-${ROS_DISTRO}-cyclonedds
+```
+
+💡 ***Note:*** This is a dependency besides all the packages already required by the ROS 2 Gem.
+
+
 # Building this project
 
 ## Build steps
@@ -134,7 +149,7 @@ echo $ROS_DISTRO
 > humble
 ```
 
-4. Configure build:
+4. From the ROSConDemo Project folder, configure the build:
 
 ```
 cmake -B build/linux -G"Ninja Multi-Config" -DLY_DISABLE_TEST_MODULES=ON