Skip to content

Commit

Permalink
Replace ament commands with colcon (ros-perception#263)
Browse files Browse the repository at this point in the history
Latest ros2 repo does not include ament_tools. Executing ament command results in error.
  • Loading branch information
Lalit Begani authored and Akhilesh Moghe committed Jan 14, 2019
1 parent 4ab4021 commit 494efdb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cv_bridge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ cd /usr/lib/x86_64-linux-gnu/ && sudo ln -s libboost_python-py35.so libboost_pyt

cd <YOUR_ROS2_WORKSPACE>
git clone https://github.com/ros-perception/vision_opencv.git
cd vision_opencv
git checkout ros2
src/ament/ament_tools/scripts/ament.py build --build-tests --symlink-install
colcon build --symlink-install

```

Expand All @@ -54,7 +55,7 @@ Next to prepare runtime environment and run tests:
```bash

source <YOUR_ROS2_WORKSPACE>/install/local_setup.bash
ament test --skip-build --skip-install --only-packages cv_bridge
colcon test

```

Expand Down

0 comments on commit 494efdb

Please sign in to comment.