ros2 编译安装cyclonedds

官方 https://github.com/eclipse-cyclonedds/cyclonedds

编译安装方法见readme

$ git clone https://github.com/eclipse-cyclonedds/cyclonedds.git
$ cd cyclonedds
$ mkdir build

$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=<install-location> ..
$ cmake --build .

$ cmake --build . --target install

将会安装到如下位置:

/lib
/bin
/include/ddsc
/share/CycloneDDS

如何使用:

export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
# 然后执行`ros2 run ...`等命令

你可能感兴趣的:(ros,cyclonedds,dds,数据分发系统)