artefacts-cli 0.7.2__tar.gz → 0.7.3__tar.gz
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.
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/CHANGELOG.md +5 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/PKG-INFO +2 -2
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/cli/ros2.py +8 -1
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/cli/version.py +2 -2
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts_cli.egg-info/PKG-INFO +2 -2
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/cli/test_ros2.py +18 -2
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/README.md +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/README_INTERNAL.md +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/__init__.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/cli/__init__.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/cli/app.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/cli/app_containers.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/cli/bagparser.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/cli/constants.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/cli/containers/__init__.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/cli/containers/docker.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/cli/containers/utils.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/cli/errors.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/cli/logger.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/cli/other.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/cli/parameters.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/cli/ros1.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/cli/utils.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/cli/utils_ros.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts/wrappers/artefacts_ros1_meta.launch +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts.yaml +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts_cli.egg-info/SOURCES.txt +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts_cli.egg-info/dependency_links.txt +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts_cli.egg-info/entry_points.txt +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts_cli.egg-info/requires.txt +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/artefacts_cli.egg-info/top_level.txt +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/bin/release +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/infra-tests/test_run_remote.yaml +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/infra-tests/turtlesim1/ros_workspace/src/turtle_odometry/CMakeLists.txt +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/infra-tests/turtlesim1/ros_workspace/src/turtle_odometry/launch/test_meta.launch +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/infra-tests/turtlesim1/ros_workspace/src/turtle_odometry/launch/test_turtle.launch +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/infra-tests/turtlesim1/ros_workspace/src/turtle_odometry/launch/turtle_odometry.launch +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/infra-tests/turtlesim1/ros_workspace/src/turtle_odometry/package.xml +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/infra-tests/turtlesim1/ros_workspace/src/turtle_odometry/setup.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/infra-tests/turtlesim1/ros_workspace/src/turtle_odometry/src/TestTurtle.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/infra-tests/turtlesim1/ros_workspace/src/turtle_odometry/src/__init__.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/infra-tests/turtlesim1/ros_workspace/src/turtle_odometry/src/turtle_odom.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/infra-tests/turtlesim1/ros_workspace/src/turtle_odometry/src/turtle_post_process.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/infra-tests/turtlesim1/ros_workspace/src/turtle_odometry/src/turtle_trajectory.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/infra-tests/turtlesim1/ros_workspace/src/turtle_odometry/test/viz_turtle_odom.xml +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/infra-tests/turtlesim2/launch_turtle.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/infra-tests/turtlesim2/sample_node.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/pyproject.toml +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/pytest.ini +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/setup.cfg +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/__init__.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/cli/__init__.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/cli/containers/__init__.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/cli/containers/test_utils.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/cli/test_app_containers.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/cli/test_cli.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/cli/test_config_validation.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/cli/test_other.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/cli/test_parameters.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/cli/test_ros1.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/cli/test_utils.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/cli/test_warp.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/conftest.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/fixtures/artefacts_deprecated.yaml +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/fixtures/artefacts_ros1.yaml +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/fixtures/bad_launch_test.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/fixtures/warp-env-param.yaml +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/fixtures/warp.yaml +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/test_config_validation.py +0 -0
- {artefacts_cli-0.7.2 → artefacts_cli-0.7.3}/tests/utils/docker_mock.py +0 -0
@@ -16,6 +16,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
16
16
|
|
17
17
|
- New logging messages and format.
|
18
18
|
|
19
|
+
## [0.7.3] - 2025-03-26
|
20
|
+
|
21
|
+
### Fixed
|
22
|
+
|
23
|
+
- Handle nested ROS params in the configuration file.
|
19
24
|
|
20
25
|
## [0.7.2] - 2025-03-19
|
21
26
|
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: artefacts_cli
|
3
|
-
Version: 0.7.
|
3
|
+
Version: 0.7.3
|
4
4
|
Author-email: FD <fabian@artefacts.com>, AGC <alejandro@artefacts.com>, TN <tomo@artefacts.com>, EP <eric@artefacts.com>
|
5
5
|
Project-URL: Homepage, https://github.com/art-e-fact/artefacts-client
|
6
6
|
Project-URL: Bug Tracker, https://github.com/art-e-fact/artefacts-client/issues
|
@@ -70,7 +70,14 @@ def generate_scenario_parameter_output(params: dict, param_file: str):
|
|
70
70
|
return
|
71
71
|
if node not in content:
|
72
72
|
content[node] = {"ros__parameters": {}}
|
73
|
-
|
73
|
+
# handles nested keys for params in the form of dot notation
|
74
|
+
current_level = content[node]["ros__parameters"]
|
75
|
+
keys = pname.split(".")
|
76
|
+
for key in keys[:-1]:
|
77
|
+
if key not in current_level:
|
78
|
+
current_level[key] = {}
|
79
|
+
current_level = current_level[key]
|
80
|
+
current_level[keys[-1]] = v
|
74
81
|
with open(param_file, "w") as f:
|
75
82
|
yaml.dump(content, f)
|
76
83
|
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: artefacts_cli
|
3
|
-
Version: 0.7.
|
3
|
+
Version: 0.7.3
|
4
4
|
Author-email: FD <fabian@artefacts.com>, AGC <alejandro@artefacts.com>, TN <tomo@artefacts.com>, EP <eric@artefacts.com>
|
5
5
|
Project-URL: Homepage, https://github.com/art-e-fact/artefacts-client
|
6
6
|
Project-URL: Bug Tracker, https://github.com/art-e-fact/artefacts-client/issues
|
@@ -18,12 +18,28 @@ from artefacts.cli.ros2 import (
|
|
18
18
|
|
19
19
|
|
20
20
|
def test_generate_parameter_output(tmp_path):
|
21
|
-
params = {
|
21
|
+
params = {
|
22
|
+
"turtle/speed": 5,
|
23
|
+
"turtle/color.rgb.r": 255,
|
24
|
+
"controller_server/FollowPath.critics": ["RotateToGoal", "Oscillation"],
|
25
|
+
}
|
22
26
|
file_path = tmp_path / "params.yaml"
|
23
27
|
generate_scenario_parameter_output(params, file_path)
|
24
28
|
with open(file_path) as f:
|
25
29
|
ros2_params = yaml.load(f, Loader=yaml.Loader)
|
26
|
-
assert ros2_params == {
|
30
|
+
assert ros2_params == {
|
31
|
+
"turtle": {
|
32
|
+
"ros__parameters": {
|
33
|
+
"speed": 5,
|
34
|
+
"color": {"rgb": {"r": 255}},
|
35
|
+
}
|
36
|
+
},
|
37
|
+
"controller_server": {
|
38
|
+
"ros__parameters": {
|
39
|
+
"FollowPath": {"critics": ["RotateToGoal", "Oscillation"]}
|
40
|
+
}
|
41
|
+
},
|
42
|
+
}
|
27
43
|
|
28
44
|
|
29
45
|
@patch("os.path.exists", return_value=False)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|