CycloneDDS
Installation
Install cyclonedds from this link or follow the instructions below.
sudo apt-get install git cmake gccgit clone https://github.com/eclipse-cyclonedds/cyclonedds -b releases/0.10.x
cd cyclonedds && mkdir build install && cd build
cmake -DBUILD_EXAMPLES=ON -DCMAKE_INSTALL_PREFIX=$HOME/Documents/GitHub/cyclonedds/install ..
cmake --build . --target installCycloneDDS config
for Unitree Simulation (Gazebo or Isaac Sim)
Use this CycloneDDS configuration for running simulation. It uses lo as the network interface. We recommend that you export this in your .bashrc or equivalent configuration file cyclonedds.xml. To add it to cyclonedds.xml:
cd cyclonedds
vi cyclonedds.xmlAdd the following, then save and exit.
<CycloneDDS>
<Domain>
<General>
<Interfaces>
<NetworkInterface address="127.0.0.1" priority="default" multicast="default" />
</Interfaces>
</General>
<Discovery>
<MaxAutoParticipantIndex>200</MaxAutoParticipantIndex>
</Discovery>
</Domain>
</CycloneDDS>Open your bashrc file
Add the following, replacing /path/to/cyclonedds with the actual path to your CycloneDDS installation:
Apply the changes
To add the config to your bashrc, run:
And add the following, replacing /path/to/cyclonedds with the actual path to your CycloneDDS installation:
Now run
This will apply the latest changes in the current shell session.
Last updated
Was this helpful?