Technology Sharing

Jetson-AGX-Orin non-docker environment source code compilation and installation of CyberRT

2024-07-12

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

Jetson-AGX-Orin non-docker environment source code compilation and installation of CyberRT

1. Installation dependencies

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
  • 1
  • 2
  • 3
  • 4

2. Download CyberRT source code

git clone --single-branch --branch v9.0.0 https://github.com/minhanghuang/CyberRT.git
  • 1

3. Execute install.py to download and install third-party libraries

cd CyberRT
sudo python3 install.py
  • 1
  • 2

4. Compile CyberRT source code

source install/setup.bash
mkdir build
cd build
cmake ..
make -j$(nproc)
  • 1
  • 2
  • 3
  • 4
  • 5

5. Testing

Start a terminal and start the publisher

source setup.bash
./cyber/examples/cyber_example_talker
  • 1
  • 2

Start another terminal and start the subscriber

source setup.bash
./cyber/examples/cyber_example_listener
  • 1
  • 2

insert image description here