1 Automotive Message Broker is a vehicle network abstraction system. It brokers information from the vehicle
2 to applications. It provides application with a rich API for accessing vehicle data.
4 Automotive Message Broker is built using CMake and requires libltdl (libtool), libjson-c, and boost packages.
8 master is expected to be unstable and may not even compile. If you want something more stable, checkout one of the
9 release branches (ie, 0.9.0, 0.10, etc)
14 cd automotive-message-broker
28 ambd can load different plugins. The config file specifies what plugins to use. The default config located in
29 /etc/ambd/config. You can change this or use your own config to have ambd use your own plugins. For example:
31 # copy the config to your own config
32 cp /etc/ambd/config myconfig
34 # edit myconfig and specify the path to your plugin:
36 "sources" : [ { "path" : "../plugins/examplesourceplugin.so" } ],
38 "sources" : [ { "path" : "/path/to/mysourceplugin.so" } ],
40 Now you can run ambd with:
42 ambd -c /path/to/myconfig
47 Running on multiple machines
49 ambd can run on multiple machines and share data across a network. This is primarily done through the websocket
50 sink and source plugins. The server machine, the machine with physical access to data, runs the
51 websocket sink plugin and the client, the machine elsewhere on the network, runs the websocket source plugin.
53 There are example configurations in the source called "configwebsocketsink" and "configwebsocketsource" that
54 show how to configure ambd. These are found in the examples folder.
56 Here's an example on how to run:
58 cd automotive-message-broker/examples
59 ambd -c configwebsocketsink
62 ambd -c configwebsocketsource
66 Running with other plugins
68 To learn about running AMB with other plugins, please see the plugins/*/README.
72 Running with the Qt mainloop:
74 Some source and sink plugins may want to use the Qt-based mainloop to take advantage of Qt features. To enable
75 the Qt mainloop, run cmake with -Duse_qtcore=On:
77 cmake .. -Duse_qtcore=On
79 Alternatively, the Qt-based mainloop will be enabled if you enable an Qt-based
80 source or sink plugin at compile time.
82 You will also need to edit your config to enable the Qt-based mainloop:
85 "mainloop" : "/usr/lib/automotive-message-broker/qtmainloopplugin.so",
90 NOTE: by default the glib mainloop will be used.
94 Questions/Issues/Comments:
96 Questions or Comments can be emailed to:
97 tripzero.kev@gmail.com
99 Issues can be submitted on our github page:
100 https://github.com/otcshare/automotive-message-broker/issues