Changes between Version 2 and Version 3 of PacpusSensors/SickPlugins
- Timestamp:
- Apr 3, 2014, 5:02:10 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PacpusSensors/SickPlugins
v2 v3 19 19 }}} 20 20 21 Also, the environment variable $PACPUS_ROOT must point to the pacpus installation directory (you normally already set it when you installed PACPUS). 22 23 21 24 Then we need to configure the installation : 22 25 {{{ … … 33 36 }}} 34 37 38 Make sure the executable files you just created are copied into $PACPUS_ROOT/lib/. 35 39 36 40 37 41 = Configuration = 42 43 In order to work with the plugins we want, PACPUS needs an XML file. 38 44 39 45 == XML == … … 64 70 = Execution = 65 71 72 First, 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 77 The 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 80 sudo chmod 777 $PACPUS_ROOT/bin/ 81 }}} 82 * Execute Pacpus as root (not working) 83 84 85 Then, we can execute Pacpus : 86 {{{#!sh 87 $ cd $PACPUS_BIN/bin/ 88 $ ./PacpusSensor path/to/xml/file.xml 89 }}}