./apollo.sh build cyber
Or if you use Bazel directly,
bazel build //cyber/examples/common_component_example/...
- Change
GLOG_alsologtostderr
from0
to1
incyber/setup.bash
- Run
source cyber/setup.bash
in current console.
export GLOG_alsologtostderr=1
cyber_launch start cyber/examples/common_component_example/common.launch
Or
mainbooard -d cyber/examples/common_component_example/common.dag
Open two more terminals, run the following commands respectively.
bazel run //cyber/examples/common_component_example:channel_test_writer
and ...
bazel run //cyber/examples/common_component_example:channel_prediction_writer
Now you should see console output of the CommonComponentSample
example from the first terminal.