Core is a fork of Apollo cyber, a publish-subscribe system used as middleware for autonomous driving.
Latency of publish and subscribe messages.
- Deploy build env
sudo bash scripts/deploy/build.sh
- Run the build script
bash scripts/build.sh
-
Set Environment Variable
source scripts/env/runtime.bash
-
Run the Publisher and Subscriber
- In the first terminal, run
./bazel-bin/cyber/examples/listener
to start the subscriber program. - In the second terminal, run
./bazel-bin/cyber/examples/talker
to start the publisher program.
- In the first terminal, run
-
Check the log in
data/log