symetrie-hexapod 2023.1.0__py3-none-any.whl → 2024.1.3__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.
- scripts/cgse_service_plugins.py +27 -0
- symetrie_hexapod-2024.1.3.dist-info/METADATA +21 -0
- {symetrie_hexapod-2023.1.0.dist-info → symetrie_hexapod-2024.1.3.dist-info}/RECORD +5 -5
- {symetrie_hexapod-2023.1.0.dist-info → symetrie_hexapod-2024.1.3.dist-info}/WHEEL +1 -2
- symetrie_hexapod-2023.1.0.dist-info/METADATA +0 -11
- symetrie_hexapod-2023.1.0.dist-info/top_level.txt +0 -1
- {symetrie_hexapod-2023.1.0.dist-info → symetrie_hexapod-2024.1.3.dist-info}/entry_points.txt +6 -6
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# An example plugin for the `cgse {start,stop,status} service` command from `cgse-core`.
|
|
2
|
+
import subprocess
|
|
3
|
+
import sys
|
|
4
|
+
|
|
5
|
+
import click
|
|
6
|
+
import rich
|
|
7
|
+
from egse.process import SubProcess
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@click.command()
|
|
11
|
+
@click.option("--simulator", "--sim", is_flag=True,
|
|
12
|
+
help="Start the Hexapod PUNA Simulator as the backend.")
|
|
13
|
+
@click.pass_context
|
|
14
|
+
def puna_cs(ctx, simulator):
|
|
15
|
+
if ctx.obj['action'] == 'start':
|
|
16
|
+
proc = SubProcess("puna_cs", ["puna_cs", "start", f"{'--sim' if simulator else ''}"], stderr=sys.stderr)
|
|
17
|
+
proc.execute()
|
|
18
|
+
elif ctx.obj['action'] == 'stop':
|
|
19
|
+
proc = SubProcess("puna_cs", ["puna_cs", "stop"], stderr=sys.stderr)
|
|
20
|
+
proc.execute()
|
|
21
|
+
elif ctx.obj['action'] == 'status':
|
|
22
|
+
proc = SubProcess("puna_cs", ["puna_cs", "status"], stdout=subprocess.PIPE)
|
|
23
|
+
proc.execute()
|
|
24
|
+
output, _ = proc.communicate()
|
|
25
|
+
rich.print(output)
|
|
26
|
+
else:
|
|
27
|
+
rich.print(f"[red]ERROR: Unknown action '{ctx.obj['action']}'[/]")
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: symetrie-hexapod
|
|
3
|
+
Version: 2024.1.3
|
|
4
|
+
Summary: Symetrie Hexapod implementation for CGSE
|
|
5
|
+
Author: IVS KU Leuven
|
|
6
|
+
Maintainer-email: Rik Huygen <rik.huygen@kuleuven.be>, Sara Regibo <sara.regibo@kuleuven.be>
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
Keywords: CGSE,Common-EGSE,hardware testing,software framework
|
|
9
|
+
Requires-Python: >=3.9
|
|
10
|
+
Requires-Dist: cgse-common
|
|
11
|
+
Requires-Dist: cgse-coordinates
|
|
12
|
+
Requires-Dist: cgse-core
|
|
13
|
+
Requires-Dist: cgse-gui
|
|
14
|
+
Requires-Dist: pyqt5
|
|
15
|
+
Provides-Extra: test
|
|
16
|
+
Requires-Dist: pytest; extra == 'test'
|
|
17
|
+
Requires-Dist: pytest-cov; extra == 'test'
|
|
18
|
+
Requires-Dist: pytest-mock; extra == 'test'
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
|
|
21
|
+
# Drivers for the Symétrie Hexapods
|
|
@@ -17,8 +17,8 @@ egse/hexapod/symetrie/zonda_cs.py,sha256=0aXfegg3m09od0vmgT7rpjbQ7ojz8KeH1xWbJl9
|
|
|
17
17
|
egse/hexapod/symetrie/zonda_devif.py,sha256=hgrICQmZhAzkLCnDY-yahLo6N9Z-cZCc0CEgAwYN790,14765
|
|
18
18
|
egse/hexapod/symetrie/zonda_protocol.py,sha256=Dr8-J8_wzqP2MkJmnzACz3RVLJIJRTXtW_f17jwII68,4316
|
|
19
19
|
egse/hexapod/symetrie/zonda_ui.py,sha256=0x0K9GHwGDuDVFWsJr1-z2oJFlzQ1eBPHFHjjBOyVrA,14314
|
|
20
|
-
|
|
21
|
-
symetrie_hexapod-
|
|
22
|
-
symetrie_hexapod-
|
|
23
|
-
symetrie_hexapod-
|
|
24
|
-
symetrie_hexapod-
|
|
20
|
+
scripts/cgse_service_plugins.py,sha256=5XcIBMXcBJeuszTD2AqIF5Juef--mllg1zhVRjUp5lk,980
|
|
21
|
+
symetrie_hexapod-2024.1.3.dist-info/METADATA,sha256=NJlNmQ9RvYsNGqvPjdEdaZioyTuWgZuG_GJ-aVVv4tk,692
|
|
22
|
+
symetrie_hexapod-2024.1.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
23
|
+
symetrie_hexapod-2024.1.3.dist-info/entry_points.txt,sha256=GUaYjn_Y-3jF8U-Swdge5apHibdEkgPR4GmJ2zFyuW4,241
|
|
24
|
+
symetrie_hexapod-2024.1.3.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: symetrie-hexapod
|
|
3
|
-
Version: 2023.1.0
|
|
4
|
-
Summary: Symetrie Hexapod implementation for CGSE
|
|
5
|
-
License: Common-EGSE Software License Agreement
|
|
6
|
-
Requires-Dist: cgse-common
|
|
7
|
-
Requires-Dist: cgse-core
|
|
8
|
-
Requires-Dist: cgse-gui
|
|
9
|
-
Requires-Dist: cgse-coordinates
|
|
10
|
-
Requires-Dist: PyQt5
|
|
11
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
egse
|
{symetrie_hexapod-2023.1.0.dist-info → symetrie_hexapod-2024.1.3.dist-info}/entry_points.txt
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
[cgse.service.plugins]
|
|
2
|
-
puna_cs = scripts.cgse_service_plugins:puna_cs
|
|
3
|
-
|
|
4
|
-
[cgse.version]
|
|
5
|
-
symetrie-hexapod = egse.plugins
|
|
6
|
-
|
|
7
1
|
[console_scripts]
|
|
8
2
|
puna_cs = egse.hexapod.symetrie.puna_cs:cli
|
|
9
3
|
|
|
10
4
|
[gui_scripts]
|
|
11
5
|
puna_ui = egse.hexapod.symetrie.puna_ui:main
|
|
6
|
+
|
|
7
|
+
[cgse.service.plugins]
|
|
8
|
+
puna_cs = scripts.cgse_service_plugins:puna_cs
|
|
9
|
+
|
|
10
|
+
[cgse.version]
|
|
11
|
+
symetrie-hexapod = egse.plugins
|