rosotacom-dev 2.5.dev83__py3-none-any.whl → 2.5.dev84__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
rosotacom/cli.py CHANGED
@@ -7178,9 +7178,27 @@ def _smoke_local_domain_id(cfg: dict[str, Any], receiver_peer_key: str) -> str |
7178
7178
  return str(session_gen._parse_optional_domain_id(domain_id, f"peer_settings.{receiver_peer_key}.domain_id"))
7179
7179
 
7180
7180
 
7181
+ #: The OTA Cyclone template that carries the local domain as well (#323). A
7182
+ #: session on it renders no local profile at all: its local-domain processes
7183
+ #: read the OTA file, so that is the file a smoke or probe publisher has to read.
7184
+ SCOPED_CYCLONE_OTA_TEMPLATE = "cyclonedds_scoped.xml"
7185
+
7186
+
7181
7187
  def _smoke_local_config_commands(config_container_dir: str, cfg: dict[str, Any], receiver_peer_key: str) -> list[str]:
7182
- local = _smoke_rmw_spec(cfg).local
7188
+ """The DDS environment a publisher on the local domain needs to be heard.
7189
+
7190
+ It has to be the configuration the session's own local-domain processes use.
7191
+ On CycloneDDS 11 two participants with different configurations on one host
7192
+ and one domain discover and match each other and deliver nothing, so a
7193
+ publisher on the inline default beside a session on the scoped file is heard
7194
+ by its own `ros2 topic list` and by nothing in the session (#346).
7195
+ """
7196
+ spec = _smoke_rmw_spec(cfg)
7197
+ local = spec.local
7183
7198
  if not local.dds_config:
7199
+ if spec.ota.impl == "cyclone" and spec.ota.dds_config == SCOPED_CYCLONE_OTA_TEMPLATE:
7200
+ scoped_file = f"{config_container_dir}/{receiver_peer_key}/ota_dds.xml"
7201
+ return [f"export CYCLONEDDS_URI={shlex.quote(f'file://{scoped_file}')}"]
7184
7202
  return []
7185
7203
  config_file = f"{config_container_dir}/{receiver_peer_key}/local_dds.xml"
7186
7204
  if local.impl == "cyclone":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rosotacom-dev
3
- Version: 2.5.dev83
3
+ Version: 2.5.dev84
4
4
  Summary: Host CLI for ROS OTA communication sessions.
5
5
  Author: develNor
6
6
  License-Expression: BSD-3-Clause
@@ -6,7 +6,7 @@ rosotacom/benched_set.py,sha256=lBA1Rj04dbr2e-lIvYTWoL55_LdUpCAC-y7eIvJZ8lc,2721
6
6
  rosotacom/benchmark.py,sha256=3QoXJtWUGQPwvDWyQT_fOjx6K9G2pmvtnVurA21G2QY,76612
7
7
  rosotacom/benchmark_delta.py,sha256=qXzriBkbXOeJdlLKM4ziov1F-JfwlseYHE48S9hjFsQ,10005
8
8
  rosotacom/bundle_check.py,sha256=l_3BSuYk6juXQmsNU6jkxRbH8ayH2GkiW9ONKMQ1oJY,18270
9
- rosotacom/cli.py,sha256=bva0K-UnwzapfVpI2M4Eu_KxS--NLLftzhCv8YQ2EGg,451959
9
+ rosotacom/cli.py,sha256=GddGxo5-khCsLKvrBziYNE22ALqZavy0ojOkOmAldtc,453004
10
10
  rosotacom/cli_benchmark.py,sha256=LsSwy42afqLv7euMVg5l_E9G1HHI0IyNWGQ_UDfFz0Y,356428
11
11
  rosotacom/deployment.py,sha256=XVhB8JjxhAsglSEEPtiVSeV6fCG0rgGmDRulh14oIYQ,7318
12
12
  rosotacom/ffmpeg_packet.py,sha256=zB1BHgY1kexr5sETVMkm4bkVnRytj9k2t0uOYiHUZ6M,4267
@@ -205,9 +205,9 @@ rosotacom/resources/ws/session/creation/generate_session_files.py,sha256=3Sx4xTS
205
205
  rosotacom/resources/ws/session/creation/run_session.py,sha256=G2hJhrmLp11gm3JZ6_C-zZcqu_reXlE_wmobB7BiCfU,16849
206
206
  rosotacom/resources/ws/session/creation/run_session_in_external_terminal.py,sha256=Ub_5f-ttUUc-rAPrZmg_Op34s8Z4C91hTyEn8fgyt-E,2633
207
207
  rosotacom/resources/ws/session/creation/strip_ansi.py,sha256=vNjpemcq4xHr0VG4x0bZqvgwEBEfOgN-b4PzbrM5nfM,851
208
- rosotacom_dev-2.5.dev83.dist-info/licenses/LICENSE.txt,sha256=FDB3-fao3lqZ94wsJHKAH7U88kAnfvZhZC8Hm5rN__g,1459
209
- rosotacom_dev-2.5.dev83.dist-info/METADATA,sha256=qMaFIUOcgQlyYNW4Cp-tJx9O26eyge_qBvxH6AASNUg,58884
210
- rosotacom_dev-2.5.dev83.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
211
- rosotacom_dev-2.5.dev83.dist-info/entry_points.txt,sha256=im11ZWqBbgjQUBz2Ik2RNfMu54wlMwgiVpsBKeI7dCI,49
212
- rosotacom_dev-2.5.dev83.dist-info/top_level.txt,sha256=BZrtQcIVDWn_pQZR3Mlssqy5SaRXHjOa6B-1D9Fy4Ao,10
213
- rosotacom_dev-2.5.dev83.dist-info/RECORD,,
208
+ rosotacom_dev-2.5.dev84.dist-info/licenses/LICENSE.txt,sha256=FDB3-fao3lqZ94wsJHKAH7U88kAnfvZhZC8Hm5rN__g,1459
209
+ rosotacom_dev-2.5.dev84.dist-info/METADATA,sha256=lbrq3oXAPpIJHSTnd9W-ZTNODW2EJFJpYTp3Uoilj14,58884
210
+ rosotacom_dev-2.5.dev84.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
211
+ rosotacom_dev-2.5.dev84.dist-info/entry_points.txt,sha256=im11ZWqBbgjQUBz2Ik2RNfMu54wlMwgiVpsBKeI7dCI,49
212
+ rosotacom_dev-2.5.dev84.dist-info/top_level.txt,sha256=BZrtQcIVDWn_pQZR3Mlssqy5SaRXHjOa6B-1D9Fy4Ao,10
213
+ rosotacom_dev-2.5.dev84.dist-info/RECORD,,