Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 798 Bytes

File metadata and controls

41 lines (28 loc) · 798 Bytes

Common Component Example

This example loads a component from a shared library and feeds it messages from two writer processes.

Build

bazel build //examples/common_component_example/...

Run

export GLOG_alsologtostderr=1

Start the component in one terminal:

cyber_launch start examples/common_component_example/common.launch

Alternatively, start it directly from the DAG file:

mainboard -d examples/common_component_example/common.dag

Start the two writer nodes in separate terminals:

bazel run //examples/common_component_example:channel_test_writer
bazel run //examples/common_component_example:channel_prediction_writer

The component output appears in the terminal running mainboard or cyber_launch.