Compartilhamento de tecnologia

Compilação de código-fonte do ambiente não-docker Jetson-AGX-Orin e instalação do CyberRT

2024-07-12

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

Compilação de código-fonte do ambiente não-docker Jetson-AGX-Orin e instalação do CyberRT

1. Instale dependências

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. Baixe o código-fonte do CyberRT

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

3. Execute install.py para baixar e instalar a biblioteca de terceiros

cd CyberRT
sudo python3 install.py
  • 1
  • 2

4. Compile o código-fonte do CyberRT

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

5. Teste

Abra um terminal e inicie o editor

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

Abra outro terminal e inicie o assinante

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

Insira a descrição da imagem aqui