Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ansible/templates/drone_bridge_config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ to_domain: 0
topics:
{{ns}}/mavros/state:
type: mavros_msgs/msg/State

# Latency checker topic: drone heartbeat to host domain
{{ns}}/latency_checker/heartbeat:
type: latency_checker_ros2/msg/Heartbeat
4 changes: 4 additions & 0 deletions ansible/templates/host_bridge_config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ topics:
/optitrack_multiplexer_node/rigid_body/nxt{{ num }}:
type: optitrack_multiplexer_ros2_msgs/msg/RigidBodyStamped
to_domain: {{ num }}
# Latency checker topic: host heartbeat to drone domain {{ num }}
/{{ host_hostname | map('regex_replace', '\\.local', '') | map('regex_replace', '-', '_') | join('') }}/latency_checker/heartbeat:
type: latency_checker_ros2/msg/Heartbeat
to_domain: {{ num }}
{% endfor %}