Skip to content
Snippets Groups Projects
Commit 96d3cd35 authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

Update ReadMe.md

parent 7e2b1a04
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,8 @@ This driver offers a c++ wrapper to control a pan&tilt [PTU-D46](https://www.sus ...@@ -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. * Get any feedback that the pna-tilt offers.
On the following image is shown a pan&tilt and his controller: On the following image is shown a pan&tilt and his controller:
![ptu-d46 and his controller](https://gitlab.iri.upc.edu/labrobotica/drivers/ptu_d46/blob/master/doc/images/ptu_d46.png "ptu_d46")
<img src="doc/images/ptu_d46.png" alt="ptu_d46" height="150">
## Dependencies ## Dependencies
...@@ -60,8 +61,8 @@ To do that, execute ...@@ -60,8 +61,8 @@ To do that, execute
``` make install ``` ``` make install ```
as root and the shared libraries will be copied to */usr/local/lib/iridrivers* directory 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/iridrivers* dierctory. At 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. this point, the library may be used by any user.
To remove the library from the system, exceute 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 ...@@ -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 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 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 ## Disclaimer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment