rosotacom-dev 2.5.dev3__py3-none-any.whl → 2.5.dev5__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 +29 -2
- rosotacom/resources/ws/session/content/base/session_plugin_base.yaml +5 -5
- {rosotacom_dev-2.5.dev3.dist-info → rosotacom_dev-2.5.dev5.dist-info}/METADATA +1 -1
- {rosotacom_dev-2.5.dev3.dist-info → rosotacom_dev-2.5.dev5.dist-info}/RECORD +8 -8
- {rosotacom_dev-2.5.dev3.dist-info → rosotacom_dev-2.5.dev5.dist-info}/WHEEL +0 -0
- {rosotacom_dev-2.5.dev3.dist-info → rosotacom_dev-2.5.dev5.dist-info}/entry_points.txt +0 -0
- {rosotacom_dev-2.5.dev3.dist-info → rosotacom_dev-2.5.dev5.dist-info}/licenses/LICENSE.txt +0 -0
- {rosotacom_dev-2.5.dev3.dist-info → rosotacom_dev-2.5.dev5.dist-info}/top_level.txt +0 -0
rosotacom/cli.py
CHANGED
|
@@ -4249,13 +4249,40 @@ def _create_scenario_tmux(
|
|
|
4249
4249
|
return session_name
|
|
4250
4250
|
|
|
4251
4251
|
|
|
4252
|
+
def _local_ipc_run_args(network_isolated: bool) -> list[str]:
|
|
4253
|
+
"""Share the host IPC namespace, unless the run is network-isolated.
|
|
4254
|
+
|
|
4255
|
+
A peer has to exchange local-domain data with application containers on the
|
|
4256
|
+
same machine — a replay, the control centre. With `--network host` but
|
|
4257
|
+
`ipc=private` each container has its own `/dev/shm`, FastDDS sees two
|
|
4258
|
+
participants on one host, negotiates shared memory, and writes into a
|
|
4259
|
+
segment the other side cannot map. Discovery goes over UDP and works;
|
|
4260
|
+
delivery goes over SHM and is dropped without a word.
|
|
4261
|
+
|
|
4262
|
+
The result is the worst shape a failure can take: the link comes up, the
|
|
4263
|
+
heartbeat crosses at 10 Hz with 0% loss, every pipeline reads `pub=1 sub=1`
|
|
4264
|
+
— and no payload ever enters it. Measured on 2026-08-09: 399 messages in
|
|
4265
|
+
eight seconds inside the publisher's container, 0 in the peer's.
|
|
4266
|
+
|
|
4267
|
+
The OTA path never showed it, because the generated unicast profile pins
|
|
4268
|
+
explicit locators and therefore forces UDP.
|
|
4269
|
+
|
|
4270
|
+
Not under `--network-name`. Sharing SHM there would let DDS bypass the very
|
|
4271
|
+
boundary the isolation exists to simulate, and a test that passes through a
|
|
4272
|
+
hole in its own isolation is worse than no test at all.
|
|
4273
|
+
"""
|
|
4274
|
+
return [] if network_isolated else ["--ipc", "host"]
|
|
4275
|
+
|
|
4276
|
+
|
|
4252
4277
|
def _base_extra_run_args(
|
|
4253
4278
|
runtime: RuntimeConfig,
|
|
4254
4279
|
session: ResolvedSession,
|
|
4255
4280
|
cfg: dict[str, Any],
|
|
4256
4281
|
instance: SessionInstance,
|
|
4282
|
+
*,
|
|
4283
|
+
network_isolated: bool = False,
|
|
4257
4284
|
) -> list[str]:
|
|
4258
|
-
args: list[str] =
|
|
4285
|
+
args: list[str] = _local_ipc_run_args(network_isolated)
|
|
4259
4286
|
ros2docker_cfg = load_config(runtime.ros2docker_config)
|
|
4260
4287
|
|
|
4261
4288
|
if not ros2docker_cfg.get("mount_ws"):
|
|
@@ -4425,7 +4452,7 @@ def start_session(args: argparse.Namespace) -> str:
|
|
|
4425
4452
|
" (or pass --force to replace it, --skip-conflict-check to ignore it).",
|
|
4426
4453
|
)
|
|
4427
4454
|
image_name = _scoped_image_name(runtime)
|
|
4428
|
-
extra_run_args = _base_extra_run_args(runtime, session, cfg, instance)
|
|
4455
|
+
extra_run_args = _base_extra_run_args(runtime, session, cfg, instance, network_isolated=network_isolated)
|
|
4429
4456
|
run_override: dict[str, object] = {}
|
|
4430
4457
|
network_name = getattr(args, "network_name", None)
|
|
4431
4458
|
if network_name:
|
|
@@ -243,7 +243,7 @@ common:
|
|
|
243
243
|
before_commands:
|
|
244
244
|
- if [ '${local_domain_id}' != "None" ] && [ -n '${local_domain_id}' ]; then export ROS_DOMAIN_ID='${local_domain_id}'; fi
|
|
245
245
|
- if [ '${rmw_local}' != "None" ]; then case ${rmw_local} in cyclone) export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp;; fastdds) export RMW_IMPLEMENTATION=rmw_fastrtps_cpp; export FASTDDS_BUILTIN_TRANSPORTS=${FASTDDS_BUILTIN_TRANSPORTS:-UDPv4};; zenoh) export RMW_IMPLEMENTATION=rmw_zenoh_cpp;; *) export RMW_IMPLEMENTATION='${rmw_local}';; esac; fi
|
|
246
|
-
- if [ '${local_config_template}' != "None" ] && [ -n '${local_config_template}' ]; then local_args=(--config "${local_config_template}" --host-ip "${ip_local}" --peer "${ip_remote}"); [ '${local_easy_mode_ip}' != "None" ] && [ -n '${local_easy_mode_ip}' ] && local_args+=(--easy-mode-ip "${local_easy_mode_ip}"); [ '${local_spdp_interval}' != "None" ] && [ -n '${local_spdp_interval}' ] && local_args+=(--spdp-interval "${local_spdp_interval}"); /ws/ota_configs/get_ota_xml.py "${local_args[@]}" > "${local_config_file}"; case ${rmw_local} in cyclone) export CYCLONEDDS_URI="file://${local_config_file}";; fastdds) export FASTDDS_DEFAULT_PROFILES_FILE="${local_config_file}"; export RMW_FASTRTPS_USE_QOS_FROM_XML=1;; esac; fi
|
|
246
|
+
- if [ '${local_config_template}' != "None" ] && [ -n '${local_config_template}' ]; then local_args=(--config "${local_config_template}" --host-ip "${ip_local}" --peer "${ip_remote}"); [ '${local_easy_mode_ip}' != "None" ] && [ -n '${local_easy_mode_ip}' ] && local_args+=(--easy-mode-ip "${local_easy_mode_ip}"); [ '${local_spdp_interval}' != "None" ] && [ -n '${local_spdp_interval}' ] && local_args+=(--spdp-interval "${local_spdp_interval}"); python3 /ws/ota_configs/get_ota_xml.py "${local_args[@]}" > "${local_config_file}"; case ${rmw_local} in cyclone) export CYCLONEDDS_URI="file://${local_config_file}";; fastdds) export FASTDDS_DEFAULT_PROFILES_FILE="${local_config_file}"; export RMW_FASTRTPS_USE_QOS_FROM_XML=1;; esac; fi
|
|
247
247
|
- if [ '${before_command}' != "None" ]; then ${before_command}; fi
|
|
248
248
|
|
|
249
249
|
windows:
|
|
@@ -254,7 +254,7 @@ windows:
|
|
|
254
254
|
- commands:
|
|
255
255
|
- if [ '${ota_domain_id}' != "None" ] && [ -n '${ota_domain_id}' ]; then export ROS_DOMAIN_ID='${ota_domain_id}'; fi
|
|
256
256
|
- export RUST_LOG=zenoh=debug,zenoh_bridge_ros2dds=debug
|
|
257
|
-
- /ws/ota_configs/create_zenoh_json5.py -m ${zen_mode} -e ${zen_endpoint_role} -t ${zen_transport} -i ${zen_main_ip} -r ${zen_main_port} -p ${zen_pub_allow} -s ${zen_sub_allow} -q '${zen_qos_pub}' -f ${zen_config_file}
|
|
257
|
+
- python3 /ws/ota_configs/create_zenoh_json5.py -m ${zen_mode} -e ${zen_endpoint_role} -t ${zen_transport} -i ${zen_main_ip} -r ${zen_main_port} -p ${zen_pub_allow} -s ${zen_sub_allow} -q '${zen_qos_pub}' -f ${zen_config_file}
|
|
258
258
|
- zenohd -c ${zen_config_file}
|
|
259
259
|
# Debugging commands:
|
|
260
260
|
# - zenohd -c ${zen_config_file} --rest-http-port 8000 2>&1 | tee ${zen_config_file}.log
|
|
@@ -277,7 +277,7 @@ windows:
|
|
|
277
277
|
if: use_domain_bridge
|
|
278
278
|
splits:
|
|
279
279
|
- commands:
|
|
280
|
-
- if [ '${ota_config_template}' != "None" ] && [ -n '${ota_config_template}' ]; then ota_args=(--config "${ota_config_template}" --host-ip "${ip_local}" --peer "${ip_remote}"); [ '${ota_easy_mode_ip}' != "None" ] && [ -n '${ota_easy_mode_ip}' ] && ota_args+=(--easy-mode-ip "${ota_easy_mode_ip}"); [ '${ota_spdp_interval}' != "None" ] && [ -n '${ota_spdp_interval}' ] && ota_args+=(--spdp-interval "${ota_spdp_interval}"); /ws/ota_configs/get_ota_xml.py "${ota_args[@]}" > "${ota_config_file}"; case ${rmw_ota} in cyclone) export CYCLONEDDS_URI="file://${ota_config_file}";; fastdds) export FASTDDS_DEFAULT_PROFILES_FILE="${ota_config_file}"; export RMW_FASTRTPS_USE_QOS_FROM_XML=1;; esac; fi
|
|
280
|
+
- if [ '${ota_config_template}' != "None" ] && [ -n '${ota_config_template}' ]; then ota_args=(--config "${ota_config_template}" --host-ip "${ip_local}" --peer "${ip_remote}"); [ '${ota_easy_mode_ip}' != "None" ] && [ -n '${ota_easy_mode_ip}' ] && ota_args+=(--easy-mode-ip "${ota_easy_mode_ip}"); [ '${ota_spdp_interval}' != "None" ] && [ -n '${ota_spdp_interval}' ] && ota_args+=(--spdp-interval "${ota_spdp_interval}"); python3 /ws/ota_configs/get_ota_xml.py "${ota_args[@]}" > "${ota_config_file}"; case ${rmw_ota} in cyclone) export CYCLONEDDS_URI="file://${ota_config_file}";; fastdds) export FASTDDS_DEFAULT_PROFILES_FILE="${ota_config_file}"; export RMW_FASTRTPS_USE_QOS_FROM_XML=1;; esac; fi
|
|
281
281
|
- ros2 run domain_bridge domain_bridge --wait-for-publisher false ${domain_bridge_config_file}
|
|
282
282
|
- name: IN
|
|
283
283
|
if: in
|
|
@@ -285,7 +285,7 @@ windows:
|
|
|
285
285
|
- commands:
|
|
286
286
|
- if [ '${ota_domain_id}' != "None" ] && [ -n '${ota_domain_id}' ]; then export ROS_DOMAIN_ID='${ota_domain_id}'; fi
|
|
287
287
|
- case ${rmw_ota} in cyclone) export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp;; fastdds) export RMW_IMPLEMENTATION=rmw_fastrtps_cpp; export FASTDDS_BUILTIN_TRANSPORTS=${FASTDDS_BUILTIN_TRANSPORTS:-UDPv4};; zenoh) export RMW_IMPLEMENTATION=rmw_zenoh_cpp;; esac
|
|
288
|
-
- if [ '${ota_config_template}' != "None" ] && [ -n '${ota_config_template}' ]; then ota_args=(--config "${ota_config_template}" --host-ip "${ip_local}" --peer "${ip_remote}"); [ '${ota_easy_mode_ip}' != "None" ] && [ -n '${ota_easy_mode_ip}' ] && ota_args+=(--easy-mode-ip "${ota_easy_mode_ip}"); [ '${ota_spdp_interval}' != "None" ] && [ -n '${ota_spdp_interval}' ] && ota_args+=(--spdp-interval "${ota_spdp_interval}"); /ws/ota_configs/get_ota_xml.py "${ota_args[@]}" > "${ota_config_file}"; case ${rmw_ota} in cyclone) export CYCLONEDDS_URI="file://${ota_config_file}";; fastdds) export FASTDDS_DEFAULT_PROFILES_FILE="${ota_config_file}"; export RMW_FASTRTPS_USE_QOS_FROM_XML=1;; esac; fi
|
|
288
|
+
- if [ '${ota_config_template}' != "None" ] && [ -n '${ota_config_template}' ]; then ota_args=(--config "${ota_config_template}" --host-ip "${ip_local}" --peer "${ip_remote}"); [ '${ota_easy_mode_ip}' != "None" ] && [ -n '${ota_easy_mode_ip}' ] && ota_args+=(--easy-mode-ip "${ota_easy_mode_ip}"); [ '${ota_spdp_interval}' != "None" ] && [ -n '${ota_spdp_interval}' ] && ota_args+=(--spdp-interval "${ota_spdp_interval}"); python3 /ws/ota_configs/get_ota_xml.py "${ota_args[@]}" > "${ota_config_file}"; case ${rmw_ota} in cyclone) export CYCLONEDDS_URI="file://${ota_config_file}";; fastdds) export FASTDDS_DEFAULT_PROFILES_FILE="${ota_config_file}"; export RMW_FASTRTPS_USE_QOS_FROM_XML=1;; esac; fi
|
|
289
289
|
# For zenoh_ros2dds the OTA domain is loopback-only (zenoh is the inter-host
|
|
290
290
|
# transport), so confine discovery to localhost instead of statically peering
|
|
291
291
|
# the remote host — otherwise the OTA-domain DDS double-delivers alongside zenoh.
|
|
@@ -310,7 +310,7 @@ windows:
|
|
|
310
310
|
- commands:
|
|
311
311
|
- if [ '${ota_domain_id}' != "None" ] && [ -n '${ota_domain_id}' ]; then export ROS_DOMAIN_ID='${ota_domain_id}'; fi
|
|
312
312
|
- case ${rmw_ota} in cyclone) export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp;; fastdds) export RMW_IMPLEMENTATION=rmw_fastrtps_cpp; export FASTDDS_BUILTIN_TRANSPORTS=${FASTDDS_BUILTIN_TRANSPORTS:-UDPv4};; zenoh) export RMW_IMPLEMENTATION=rmw_zenoh_cpp;; esac
|
|
313
|
-
- if [ '${ota_config_template}' != "None" ] && [ -n '${ota_config_template}' ]; then ota_args=(--config "${ota_config_template}" --host-ip "${ip_local}" --peer "${ip_remote}"); [ '${ota_easy_mode_ip}' != "None" ] && [ -n '${ota_easy_mode_ip}' ] && ota_args+=(--easy-mode-ip "${ota_easy_mode_ip}"); [ '${ota_spdp_interval}' != "None" ] && [ -n '${ota_spdp_interval}' ] && ota_args+=(--spdp-interval "${ota_spdp_interval}"); /ws/ota_configs/get_ota_xml.py "${ota_args[@]}" > "${ota_config_file}"; case ${rmw_ota} in cyclone) export CYCLONEDDS_URI="file://${ota_config_file}";; fastdds) export FASTDDS_DEFAULT_PROFILES_FILE="${ota_config_file}"; export RMW_FASTRTPS_USE_QOS_FROM_XML=1;; esac; fi
|
|
313
|
+
- if [ '${ota_config_template}' != "None" ] && [ -n '${ota_config_template}' ]; then ota_args=(--config "${ota_config_template}" --host-ip "${ip_local}" --peer "${ip_remote}"); [ '${ota_easy_mode_ip}' != "None" ] && [ -n '${ota_easy_mode_ip}' ] && ota_args+=(--easy-mode-ip "${ota_easy_mode_ip}"); [ '${ota_spdp_interval}' != "None" ] && [ -n '${ota_spdp_interval}' ] && ota_args+=(--spdp-interval "${ota_spdp_interval}"); python3 /ws/ota_configs/get_ota_xml.py "${ota_args[@]}" > "${ota_config_file}"; case ${rmw_ota} in cyclone) export CYCLONEDDS_URI="file://${ota_config_file}";; fastdds) export FASTDDS_DEFAULT_PROFILES_FILE="${ota_config_file}"; export RMW_FASTRTPS_USE_QOS_FROM_XML=1;; esac; fi
|
|
314
314
|
# For zenoh_ros2dds the OTA domain is loopback-only (zenoh is the inter-host
|
|
315
315
|
# transport), so confine discovery to localhost instead of statically peering
|
|
316
316
|
# the remote host — otherwise the OTA-domain DDS double-delivers alongside zenoh.
|
|
@@ -5,7 +5,7 @@ rosotacom/bag_ground_truth.py,sha256=FlL34fA2CWZZxsrz7uxfhPt2VntPuS0ldrOPy58XPMk
|
|
|
5
5
|
rosotacom/benched_set.py,sha256=PGybWzNKJhg5wouIGo_zxlb7Fu41UzmtgEBxUR-Gkvg,19874
|
|
6
6
|
rosotacom/benchmark.py,sha256=Xda8WwFKQEIRMO0Qe1Hf7rvykYIgM86gUHBuyX9VvI8,74447
|
|
7
7
|
rosotacom/bundle_check.py,sha256=l_3BSuYk6juXQmsNU6jkxRbH8ayH2GkiW9ONKMQ1oJY,18270
|
|
8
|
-
rosotacom/cli.py,sha256=
|
|
8
|
+
rosotacom/cli.py,sha256=dFS4Hlyoym2015U0dJ33vKoHomZM_TipPsINq4il5Qg,361905
|
|
9
9
|
rosotacom/cli_benchmark.py,sha256=bhdtvvO73g3-vlWTX0hf7I70lKQVT0pyXbIg3YnXfLQ,342197
|
|
10
10
|
rosotacom/deployment.py,sha256=XVhB8JjxhAsglSEEPtiVSeV6fCG0rgGmDRulh14oIYQ,7318
|
|
11
11
|
rosotacom/ffmpeg_packet.py,sha256=zB1BHgY1kexr5sETVMkm4bkVnRytj9k2t0uOYiHUZ6M,4267
|
|
@@ -177,7 +177,7 @@ rosotacom/resources/ws/ros2src/com_py/resource/com_py,sha256=47DEQpj8HBSa-_TImW-
|
|
|
177
177
|
rosotacom/resources/ws/ros2src/com_py/test/test_copyright.py,sha256=6nG7vGJHtcFNF27QnznuJ01WPMmy7DVYKOpFHO_zF1c,962
|
|
178
178
|
rosotacom/resources/ws/ros2src/com_py/test/test_flake8.py,sha256=N6gToFB_DOUaLQtXMS0swHigMHo8qFWA6oAbDS-XVdI,884
|
|
179
179
|
rosotacom/resources/ws/ros2src/com_py/test/test_pep257.py,sha256=6LiNSe4paYextABp-BAZtfoJsaob_umh-q5Fu1z1Pto,803
|
|
180
|
-
rosotacom/resources/ws/session/content/base/session_plugin_base.yaml,sha256=
|
|
180
|
+
rosotacom/resources/ws/session/content/base/session_plugin_base.yaml,sha256=2Cu37dvvYvYrpMxz2MY0k4nn6YMQiJi6_gzt99xiIZ4,39002
|
|
181
181
|
rosotacom/resources/ws/session/content/network/up_connectivity.py,sha256=-a6E97Uw159DfRXxYA0MBWRUPA6mQhuAA7pSjASM9qU,13593
|
|
182
182
|
rosotacom/resources/ws/session/content/network/wifi_network_analysis_2.py,sha256=UVRtGdbHYayXM0OFkXs2BV2lW0CsY0m_NTlbPO1J9oE,8682
|
|
183
183
|
rosotacom/resources/ws/session/creation/anonymize_bag.py,sha256=jxOTKFjmde-pyoVWE9-9icpSjf4nh97-q2Eqx-BDUl8,6154
|
|
@@ -187,9 +187,9 @@ rosotacom/resources/ws/session/creation/generate_session_files.py,sha256=R4HFetZ
|
|
|
187
187
|
rosotacom/resources/ws/session/creation/run_session.py,sha256=G2hJhrmLp11gm3JZ6_C-zZcqu_reXlE_wmobB7BiCfU,16849
|
|
188
188
|
rosotacom/resources/ws/session/creation/run_session_in_external_terminal.py,sha256=Ub_5f-ttUUc-rAPrZmg_Op34s8Z4C91hTyEn8fgyt-E,2633
|
|
189
189
|
rosotacom/resources/ws/session/creation/strip_ansi.py,sha256=vNjpemcq4xHr0VG4x0bZqvgwEBEfOgN-b4PzbrM5nfM,851
|
|
190
|
-
rosotacom_dev-2.5.
|
|
191
|
-
rosotacom_dev-2.5.
|
|
192
|
-
rosotacom_dev-2.5.
|
|
193
|
-
rosotacom_dev-2.5.
|
|
194
|
-
rosotacom_dev-2.5.
|
|
195
|
-
rosotacom_dev-2.5.
|
|
190
|
+
rosotacom_dev-2.5.dev5.dist-info/licenses/LICENSE.txt,sha256=FDB3-fao3lqZ94wsJHKAH7U88kAnfvZhZC8Hm5rN__g,1459
|
|
191
|
+
rosotacom_dev-2.5.dev5.dist-info/METADATA,sha256=X7FGmLCUOzXrxBnovCv8Du--a2uYwmwEYaKbqy0DcD4,46417
|
|
192
|
+
rosotacom_dev-2.5.dev5.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
193
|
+
rosotacom_dev-2.5.dev5.dist-info/entry_points.txt,sha256=-Hl9WKAfkLjMHUonDTxvz86EgSfZf6oyatRMxypS5iA,147
|
|
194
|
+
rosotacom_dev-2.5.dev5.dist-info/top_level.txt,sha256=BZrtQcIVDWn_pQZR3Mlssqy5SaRXHjOa6B-1D9Fy4Ao,10
|
|
195
|
+
rosotacom_dev-2.5.dev5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|