Skip to content

Commit

Permalink
Merge pull request #101 from robotology/fix_robsub_832
Browse files Browse the repository at this point in the history
Fix AMENT_PREFIX_PATH  documentation
  • Loading branch information
traversaro authored Aug 31, 2021
2 parents c6e295a + f19f96e commit 5d70b3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file.

The format of this document is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).


## [Unreleased]

### Fixed
* Fixed document on the use of `AMENT_PREFIX_PATH` environment variable (https://github.com/robotology/icub-models/pull/101).

## [1.21.0] - 2021-08-27

### Added
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ If `<icub-models>` is the location of the repo, some folders need to be appended
```sh
export YARP_DATA_DIRS=${YARP_DATA_DIRS}:<icub-models>/build/iCub
export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:<icub-models>/build
export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH}:<icub-models>/build
```

### By installing the models
Expand All @@ -51,7 +50,7 @@ Once the models are installed into a given prefix, edit the env variables as fol
```sh
export YARP_DATA_DIRS=${YARP_DATA_DIRS}:<prefix>/share/iCub
export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:<prefix>/share
export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH}:<prefix>/share
export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH}:<prefix>
```
### Use the models with Gazebo
In order to use these models in Gazebo, set up the simulation environment following the instructions provided in the [icub-gazebo](https://github.com/robotology/icub-gazebo) repository, and add the following line to your ``.bashrc``:
Expand Down

0 comments on commit 5d70b3c

Please sign in to comment.