From 96d3cd3548563f8a62f3d8b4cbb838387b2846b8 Mon Sep 17 00:00:00 2001 From: Alejandro Lopez Gestoso <alopez@iri.upc.edu> Date: Mon, 18 Mar 2019 12:55:27 +0100 Subject: [PATCH] Update ReadMe.md --- ReadMe.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index b4a5b1f..f322ba5 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -13,7 +13,8 @@ This driver offers a c++ wrapper to control a pan&tilt [PTU-D46](https://www.sus * Get any feedback that the pna-tilt offers. On the following image is shown a pan&tilt and his controller: - + +<img src="doc/images/ptu_d46.png" alt="ptu_d46" height="150"> ## Dependencies @@ -60,8 +61,8 @@ To do that, execute ``` make install ``` -as root and the shared libraries will be copied to */usr/local/lib/iridrivers* directory -and the header files will be copied to */usr/local/include/iridrivers* dierctory. At +as root and the shared libraries will be copied to */usr/local/lib/iri/ptu_d46* directory +and the header files will be copied to */usr/local/include/iri/ptu_d46* dierctory. At this point, the library may be used by any user. To remove the library from the system, exceute @@ -82,11 +83,11 @@ To use this library in an other library or application, in the CMakeLists.txt fi In the case that the package is present, it is necessary to add the header files directory to the include directory path by using -``` INCLUDE_DIRECTORIES(${<librray name>_INCLUDE_DIR}) ``` +``` INCLUDE_DIRECTORIES(${<librray name>_INCLUDE_DIRS}) ``` and it is also necessary to link with the desired libraries by using the following command -``` TARGET_LINK_LIBRARIES(<executable name> ${<library name>_LIBRARY}) ``` +``` TARGET_LINK_LIBRARIES(<executable name> ${<library name>_LIBRARIES}) ``` ## Disclaimer -- GitLab