Skip to content

Commit

Permalink
Use the .profile field for the Zenoh router config; don't add a new v…
Browse files Browse the repository at this point in the history
…ariable just for that (#143)
  • Loading branch information
civerachb-cpr authored Jan 16, 2025
1 parent a0e3806 commit 73e88e3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ def generate_server_start(self) -> None:
middleware_config = self.clearpath_config.system.middleware
if middleware_config.rmw_implementation == RMWImplementation.ZENOH_DDS:

if middleware_config.zenoh_router_config_uri:
if middleware_config.profile:
# use the user-specified router config file
bash_writer.write(
f'export ZENOH_ROUTER_CONFIG_URI={middleware_config.zenoh_router_config_uri}' # noqa: E501
f'export ZENOH_ROUTER_CONFIG_URI={middleware_config.profile}'
)
else:
# use the default router config file
Expand Down

0 comments on commit 73e88e3

Please sign in to comment.