Skip to content

Commit

Permalink
set network id as ros domain id
Browse files Browse the repository at this point in the history
  • Loading branch information
atiderko committed Dec 8, 2023
1 parent ba1c584 commit b11255c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,7 @@ def _crossbar_publish_masters(self):
master.masteruri) > 0 else f'{addr}:{port}',
origin=master.masteruri == self.master_monitor.getMasteruri(),
hostnames=list(set([addr[0], get_hostname(master.masteruri)])))
cbmaster.ros_domain_id = self.mcast_port - 11511
result.append(cbmaster)
crossbar_reported_masters.add(master.masteruri)
if not (crossbar_reported_masters == self._crossbar_reported_masters):
Expand Down

0 comments on commit b11255c

Please sign in to comment.