Skip to content

Commit

Permalink
fixed formatting of code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
JMoore5353 committed Mar 11, 2024
1 parent 0506b66 commit f349904
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/user-guide/ros2-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ echo "source ~/rosflight_ws/install/setup.bash" >> ~/.bashrc
You'll also need to source the file at `/usr/share/gazebo/setup.sh` if you plan to use the Gazebo simulator.

!!! note
Gazebo does not have an arm64 build target. If using a companion computer with arm64 architecture, run this command instead of the ```rosdep install``` command above:
Gazebo does not have an arm64 build target. If using a companion computer with arm64 architecture, run this command instead of the `rosdep install` command above:

```rosdep install -i --from-path ./ -y --ignore-src --skip-keys="gazebo_dev gazebo_plugins gazebo_ros gazebo" -r```

Also note that Gazebo is currently used only in the ```rosflight_sim``` package, in the ```rosflight_ros_pkgs``` directory. A CMakeLists command in this package will skip compilation of ```rosflight_sim``` if arm64 architecture is detected. If using a companion computer that uses arm64 architecture and you want rosflight_sim, you will need to remove the CMakeLists command and Gazebo.
```
rosdep install -i --from-path ./ -y --ignore-src --skip-keys="gazebo_dev gazebo_plugins gazebo_ros gazebo" -r
```

Also note that Gazebo is currently used only in the `rosflight_sim` package, in the `rosflight_ros_pkgs` directory. A CMakeLists command in this package will skip compilation of `rosflight_sim` if arm64 architecture is detected. If using a companion computer that uses arm64 architecture and you want rosflight_sim, you will need to remove the CMakeLists command and Gazebo.


## Running rosflight_io
Expand Down

0 comments on commit f349904

Please sign in to comment.