Changes between Version 2 and Version 3 of PacpusSensors/SickPlugins


Ignore:
Timestamp:
04/03/14 17:02:10 (10 years ago)
Author:
cfougera
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PacpusSensors/SickPlugins

    v2 v3  
    1919}}}
    2020
     21Also, the environment variable $PACPUS_ROOT must point to the pacpus installation directory (you normally already set it when you installed PACPUS).
     22
     23
    2124Then we need to configure the installation :
    2225{{{
     
    3336}}}
    3437
     38Make sure the executable files you just created are copied into $PACPUS_ROOT/lib/.
    3539
    3640
    3741= Configuration =
     42
     43In order to work with the plugins we want, PACPUS needs an XML file.
    3844
    3945== XML ==
     
    6470= Execution =
    6571
     72First, we need to set the environment variable $LD_LIBRARY_PATH. This variable is used by the main program to find where the plugins (.so files) are.
     73{{{ #!sh
     74$ export LD_LIBRARY_PATH=$PACPUS_ROOT/lib
     75}}}
     76
     77The Sick plugin will use files to record the data it processes (if configured to, see XML). To make sure the files are created or opened, we have two solutions :
     78* Give all the rights to users of the bin directory
     79{{{#!sh
     80sudo chmod 777 $PACPUS_ROOT/bin/
     81}}}
     82* Execute Pacpus as root (not working)
     83
     84
     85Then, we can execute Pacpus :
     86{{{#!sh
     87$ cd $PACPUS_BIN/bin/
     88$ ./PacpusSensor path/to/xml/file.xml
     89}}}