Jetson-AGX-Orin 非docker环境源码编译安装CyberRT
1、安装依赖
sudo apt update
sudo apt-get install g++ gdb gcc cmake
sudo apt install libpoco-dev uuid-dev libncurses5-dev python3-dev python3-pip
python3 -m pip install protobuf==3.14.0
2、下载CyberRT源码
git clone --single-branch --branch v9.0.0 https://github.com/minhanghuang/CyberRT.git
3、执行install.py,下载安装第三方库
cd CyberRT
sudo python3 install.py
4、编译CyberRT源码
source install/setup.bash
mkdir build
cd build
cmake ..
make -j$(nproc)
5、测试
起一个终端启动发布者
source setup.bash
./cyber/examples/cyber_example_talker
起另外一个终端,启动订阅者
source setup.bash
./cyber/examples/cyber_example_listener