Releases: husarnet/husarnet-ros2router
Releases · husarnet/husarnet-ros2router
1.9.2
1.9.1
Upgrading to Fast DDS v2.13.2 that contains a fix to compatibility issues with Cyclone DDS.
1.9.0
- Introducing
echo
participant - Introducing
if
participant (works likeif-wlan0
,if-docker0
,if-eth*
) - Renamed
udp
tolo
participant - Removing
DISCOVERY_SERVER_LISTENING_PORT
env. - Removing
AUTO_CONFIG
env - if
DISCOVERY_SERVER_ID
is different than0-255
, it's value is automatically set from the10-255
range. - Discovery Server - Server config is launched if one of the addresses from
ROS_DISCOVERY_SERVER
env is the same as host's Husarnet IPv6 (no need for providingDISCOVERY_SERVER_ID
env - it is automatically determined in this case) - If no port is provided next to host defined in
ROS_DISCOVERY_SERVER
env, then the default11811
port number is used. - new
specs
field for DDS Router config:
specs:
discovery-trigger: reader
remove-unused-entities: true
How to use?
services:
ros2router:
image: husarnet/ros2router:1.9.0
network_mode: host
ipc: host
volumes:
- ./filter.yaml:/filter.yaml
environment:
- PARTICIPANTS=husarnet,shm,lo,if-br-*
- ROS_DISCOVERY_SERVER=;;;host1;;host2:1234;;;[fc94:6260:26e:e057:9bc:8786:4f8a:c7a6]:1234;;husarnet-local
- |
CONFIG_BASE=
version: v4.0
specs:
discovery-trigger: writer
- ROS_DOMAIN_ID=123
1.8.0
- Introducing
PARTICIPANTS
env with comma-separated values:husarnet
,shm
,udp
,lan
. - Introducing
CONFIG_BASE
env that can modify the base config, that looks like that:
version: v4.0
specs:
discovery-trigger: writer
participants: []
- Removed
LOCAL_PARTICIPANT
,HUSARNET_PARTICIPANT_ENABLED
envs
1.7.0
1.6.3
Handling gotemplates in filter.yaml
files, eg:
allowlist:
- name: 'rt/{{ .Env.ROBOT_NAMESPACE }}/camera/color/image_raw/{{ .Env.VIDEO_CODEC }}'
type: '{{if eq .Env.VIDEO_CODEC "theora"}}theora_image_transport::msg::dds_::Packet_{{else if eq .Env.VIDEO_CODEC "compressed"}}sensor_msgs::msg::dds_::CompressedImage_{{end}}'
- name: 'rt/{{ .Env.ROBOT_NAMESPACE }}/cmd_vel'
type: 'geometry_msgs::msg::dds_::Twist_'
blocklist: []
1.6.2
1.6.1
1.6.0
New envs:
USE_HUSARNET
renamed toHUSARNET_PARTICIPANT_ENABLED
HUSARNET_API_HOST
allowing connection with a Husarnet Daemon over a diffrerent interface than127.0.0.1
USER
allowing you to run a DDS Router as a different user thanroot
(useful for SHM communication between host and Docker)
1.5.0
-
New default value for
ROS_LOCALHOST_ONLY
. Now it's set to1
to listen only to the DDS communication on the localhost (remember to setROS_LOCALHOST_ONLY=1
before starting your ROS 2 nodes on the localhost) -
If
ROS_LOCALHOST_ONLY=0
, a newLANParticipant
is created with the following config:
- name: LANParticipant
kind: local
domain: 0
transport: udp
ignore-participant-flags: filter_different_and_same_process
- Both when the value of the
ROS_LOCALHOST_ONLY
env is0
or1
, deppending on theROS_DISTRO
env the following participant is created:
- ROS 2 Humble (default):
- name: LocalUdpParticipant
kind: local
domain: 0
transport: udp
ignore-participant-flags: no_filter
whitelist-interfaces:
- 127.0.0.1
- ROS 2 Iron:
- name: LocalUdpParticipant
kind: local
domain: 0
transport: udp
ignore-participant-flags: filter_different_host
whitelist-interfaces: []
- Removed
EXIT_IF_HUSARNET_NOT_AVAILABLE
env. IfUSE_HUSARNET=TRUE
(default value) and Husarnet Daemon is not reachable, the conainer exits with the error code.