-
Notifications
You must be signed in to change notification settings - Fork 5
ROS 2 DDS
szepilot edited this page Mar 21, 2024
·
9 revisions
export ROS_DOMAIN_ID=0
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
# export FASTRTPS_DEFAULT_PROFILES_FILE=/home/<user>/fastdds_profile.xml
export CYCLONEDDS_URI=/home/<user>/cyclone_profile.xml
<CycloneDDS xmlns="https://cdds.io/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://cdds.io/config https://raw.githubusercontent.com/eclipse-cyclonedds/cyclonedds/master/etc/cyclonedds.xsd">
<Domain id="any">
<General>
<Interfaces>
<NetworkInterface name="tun0" multicast="false" />
</Interfaces>
<AllowMulticast>false</AllowMulticast>
<EnableMulticastLoopback>false</EnableMulticastLoopback>
</General>
<Discovery>
<Peers>
<Peer address="10.8.0.10"/> <!-- lexus.opn -->
<Peer address="10.8.0.11"/> <!-- teleopstation.opn -->
<Peer address="10.8.0.12"/> <!-- nisssan -->
<Peer address="10.8.0.15"/> <!-- lexus-bme.ovpn -->
<Peer address="10.8.0.17"/> <!-- gamma-rover.ovpn -->
<Peer address="10.8.0.18"/> <!-- gamma-station.ovpn -->
<Peer address="10.8.0.1"/>
</Peers>
<ParticipantIndex>auto</ParticipantIndex>
</Discovery>
<Domain id="any">
<SharedMemory>
<Enable>true</Enable>
<SubQueueCapacity>256</SubQueueCapacity>
<SubHistoryRequest>16</SubHistoryRequest>
<PubHistoryCapacity>16</PubHistoryCapacity>
<LogLevel>info</LogLevel>
</SharedMemory>
</Domain>
<!--
<Tracing>
<Verbosity>config</Verbosity>
<OutputFile>stdout</OutputFile>
</Tracing>
-->
</Domain>
</CycloneDDS>
<?xml version="1.0" encoding="UTF-8" ?>
<profiles xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles">
<participant profile_name="initial_peers_profile" is_default_profile="true" >
<rtps>
<builtin>
<initialPeersList>
<locator>
<udpv4>
<address>10.8.0.10</address> <!-- lexus.opn -->
</udpv4>
<udpv4>
<address>10.8.0.11</address> <!-- teleopstation.opn -->
</udpv4>
<udpv4>
<address>10.8.0.12</address> <!-- nissan -->
</udpv4>
<udpv4>
<address>10.8.0.15</address> <!-- lexus-bme.ovpn -->
</udpv4>
<udpv4>
<address>10.8.0.17</address> <!-- gamma-rover.ovpn -->
</udpv4>
<udpv4>
<address>10.8.0.18</address> <!-- gamma-station.ovpn -->
</udpv4>
</locator>
</initialPeersList>
</builtin>
</rtps>
</participant>
</profiles>
sudo apt install openvpn
/etc/default/openvpn ## autostart
sudo systemctl enable openvpn
English
- Wiki home
ROS2
migration- Version handling processes
- Xavier installation
- Startup Nissan Leaf
- Debug ROS
- Autoware universe
- Autoware msgs
- How to open rosbag files
ROS 2
humble jeston dockerROS 2
DDSROS 2
joystick WSL
Hungarian
- Topics
- Transforms, frames
- Cheatsheet 🔥
- SSH no password
- Boot, systemd
- Diagnostics
- NDT basics
- NDT comparison
- CUDA install
- Szimulátor indítása parkolási feladathoz
- WSL-el kapcsolatos hasznos infók
- GPS-based pointcloud map
- Rviz video
- LIDAR detekció topicjai
Further: