Overview
This tutorial describes how to install Gazebo Utils on Linux, Mac OS X and Windows via either a binary distribution or from source.
Install
We recommend following the Binary Install instructions to get up and running as quickly and painlessly as possible.
The Source Install instructions should be used if you need the very latest software improvements, you need to modify the code, or you plan to make a contribution.
Binary Install
Ubuntu Linux
Setup your computer to accept software from packages.osrfoundation.org:
Setup keys:
Install Gazebo Utils:
Be sure to replace <#>
with a number value, such as 1 or 2, depending on which version you need.
macOS
On macOS, add OSRF packages:
Install Gazebo utils:
Be sure to replace <#>
with a number value, such as 1 or 2, depending on which version you need.
Windows
Install Conda package management system. Miniconda suffices.
Create if necessary, and activate a Conda environment:
Install gz-utils
:
Be sure to replace <#>
with a number value, such as 1 or 2, depending on which version you need.
Source Install
Source installation can be performed in UNIX systems by first installing the necessary prerequisites followed by building from source.
Ubuntu
- Install tools
- Clone the repository
Be sure to replace <#>
with a number value, such as 1 or 2, depending on which version you need.
- Install dependencies
- Configure and build
- Optionally, install Gazebo Utils
macOS
- Clone the repository
Be sure to replace <#>
with a number value, such as 1 or 2, depending on which version you need.
- Install dependencies
Be sure to replace <#>
with a number value, such as 1 or 2, depending on which version you need.
- Configure and build
- Optionally, install
Windows
This assumes you have created and activated a Conda environment while installing the Prerequisites.
- Navigate to where you would like to build the library, and clone the repository.
- Configure and build
- Optionally, install
Documentation
API and tutorials can be found at https://gazebosim.org/libs/utils.
You can also generate the documentation from a clone of this repository by following these steps.
- You will need Doxygen. On Ubuntu Doxygen can be installed using
- Clone the repository
- Configure and build the documentation.
- View the documentation by running the following command from the build directory.
Testing
Follow these steps to run tests and static code analysis in your clone of this repository.
- Follow the source install instruction.
- Run tests.
- Static code checker.