Changes between Version 1 and Version 2 of PacpusSensors/OpencvVideo


Ignore:
Timestamp:
Apr 8, 2016, 11:26:14 AM (9 years ago)
Author:
ldecherf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PacpusSensors/OpencvVideo

    v1 v2  
    1111=== Linux driver ===
    1212
    13 The supported driver are:
    14 - socketCAN
    15 - kvaser card (USB, PCI, PCIe,...)
    16 
    17 First of all, follow the README in source:pacpussensors/trunk/CanGateway/driver/kvaser/linuxcan.tar.gz in order to install the kvaser driver.
    18 
    19 ''Note that this procedure blacklist the SocketCAN driver.''
    20 
    21 To check if the KVASER driver is properly installed, type in a terminal {{{lsmod | grep kv}}}.
    22 You must see a kvaser driver running:
    23 {{{
    24 #!sh
    25 $ lsmod | grep kv
    26 kvm                   452088  0
    27 kvpcican               43541  0
    28 }}}
    29 
    30 If the automatic loading of the driver doesn't work at startup, you can add the file {{{kvaser.conf}}} containing this text:
    31 {{{
    32 # kvaser module load
    33 kvpcican
    34 }}}
    35 in the {{{/etc/modules-load.d}}} folder.
     13There is no driver to install, it's native.
    3614
    3715
     
    4321== Compilation ==
    4422
    45 First, make sure the CMakeList.txt at the root of the directory is well configured (into trunk/). In order to install the CanGateway plugin, modify the file and verify you have the following line :
     23First, make sure the CMakeList.txt at the root of the directory is well configured (into trunk/). In order to install the OpencvVideo plugin, modify the file and verify you have the following line :
    4624{{{
    4725#!sh
    48 add_subdirectory(CanGateway)
     26add_subdirectory(OpencvVideo)
    4927}}}
    5028
     
    7755Put an example xml file.
    7856
    79 Fields:
    80 - source ...
    81 - speed ...
     57<?xml version="1.0" encoding="ISO-8859-1"?>
     58<pacpus>
     59        <components>
     60                <component name="webcam"
     61                        type="CVWebcam"
     62                        device="0"
     63                        width="640"
     64                        height="480"
     65                        framerate="25"
     66                        ui="true"                               
     67                        recording="true" />
     68        </components>
     69
     70        <connections></connections>
     71
     72        <plugins prefix="lib" postfix="" extension="so">
     73                <plugin lib="OpencvVideo" />
     74        </plugins>
     75</pacpus>
    8276
    8377== Running the plugin ==
     
    9185{{{
    9286cd $PACPUS_ROOT
    93 ./PacpusSensor can.xml
     87./PacpusSensor OpencvVideo.xml
    9488}}}
    9589