diff options
-rw-r--r-- | examples/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/opencvdbusconfig | 19 | ||||
-rw-r--r-- | examples/opencvluxconfig | 4 |
3 files changed, 21 insertions, 4 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index ddd95d49..8d3121f4 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,5 +1,5 @@ set(amb_examples configwebsocketsink configwebsocketsource configwheel databaseconfig databasesource dbusconfig exampleconfig - gpsdconfig obdsourceconfig opencvluxconfig qtmainloopconfig) + gpsdconfig obdsourceconfig opencvluxconfig opencvdbusconfig qtmainloopconfig) install (FILES ${amb_examples} DESTINATION /etc/ambd/examples) diff --git a/examples/opencvdbusconfig b/examples/opencvdbusconfig new file mode 100644 index 00000000..4cc9e4fc --- /dev/null +++ b/examples/opencvdbusconfig @@ -0,0 +1,19 @@ +{ + "sources" : [ + { + "name" : "OpenCV LUX", + "path" : "/usr/lib/automotive-message-broker/opencvluxplugin.so", + "threaded" : "true", + "fps" : "30", + "pixelLowerBound" : "18", + "pixelUpperBound" : "255", + "device" : "0" + }, + ], + "sinks": [ + { + "path" : "/usr/lib/automotive-message-broker/dbussinkplugin.so", + }, + ] +} + diff --git a/examples/opencvluxconfig b/examples/opencvluxconfig index 9ba13ad2..d0c01b1f 100644 --- a/examples/opencvluxconfig +++ b/examples/opencvluxconfig @@ -16,9 +16,7 @@ "sinks": [ { "name" : "Example sink", - "path" : "/usr/lib/automotive-message-broker/examplesinkplugin.so", - "interface" : "lo", - "port" : "23000" + "path" : "/usr/lib/automotive-message-broker/examplesinkplugin.so" } ] } |