flexiv-control 0.1.0__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.
- flexiv_control-0.1.0/LICENSE +201 -0
- flexiv_control-0.1.0/NOTICE +17 -0
- flexiv_control-0.1.0/PKG-INFO +233 -0
- flexiv_control-0.1.0/README.md +196 -0
- flexiv_control-0.1.0/pyproject.toml +69 -0
- flexiv_control-0.1.0/setup.cfg +4 -0
- flexiv_control-0.1.0/src/flexiv_control/__init__.py +117 -0
- flexiv_control-0.1.0/src/flexiv_control/action_chunk.py +372 -0
- flexiv_control-0.1.0/src/flexiv_control/adapters/__init__.py +5 -0
- flexiv_control-0.1.0/src/flexiv_control/adapters/lerobot_robot.py +182 -0
- flexiv_control-0.1.0/src/flexiv_control/backends/__init__.py +23 -0
- flexiv_control-0.1.0/src/flexiv_control/backends/base.py +88 -0
- flexiv_control-0.1.0/src/flexiv_control/backends/fake.py +146 -0
- flexiv_control-0.1.0/src/flexiv_control/backends/flexiv_rdk.py +313 -0
- flexiv_control-0.1.0/src/flexiv_control/backends/mujoco.py +234 -0
- flexiv_control-0.1.0/src/flexiv_control/cli.py +123 -0
- flexiv_control-0.1.0/src/flexiv_control/client/__init__.py +5 -0
- flexiv_control-0.1.0/src/flexiv_control/client/remote_robot.py +295 -0
- flexiv_control-0.1.0/src/flexiv_control/config.py +162 -0
- flexiv_control-0.1.0/src/flexiv_control/configs/control/cartesian_impedance.yaml +22 -0
- flexiv_control-0.1.0/src/flexiv_control/configs/robots/fake.yaml +9 -0
- flexiv_control-0.1.0/src/flexiv_control/configs/robots/rizon4s_actahead_lab.yaml +30 -0
- flexiv_control-0.1.0/src/flexiv_control/configs/robots/rizon4s_lab.yaml +18 -0
- flexiv_control-0.1.0/src/flexiv_control/configs/safety/actahead_lab.yaml +28 -0
- flexiv_control-0.1.0/src/flexiv_control/configs/safety/contact_manipulation.yaml +27 -0
- flexiv_control-0.1.0/src/flexiv_control/configs/safety/free_space_fast.yaml +26 -0
- flexiv_control-0.1.0/src/flexiv_control/configs/safety/rl_conservative.yaml +26 -0
- flexiv_control-0.1.0/src/flexiv_control/configs/safety/tabletop_safe.yaml +29 -0
- flexiv_control-0.1.0/src/flexiv_control/envs/__init__.py +5 -0
- flexiv_control-0.1.0/src/flexiv_control/envs/gym_env.py +247 -0
- flexiv_control-0.1.0/src/flexiv_control/interpolation.py +139 -0
- flexiv_control-0.1.0/src/flexiv_control/policy_client.py +58 -0
- flexiv_control-0.1.0/src/flexiv_control/recede.py +80 -0
- flexiv_control-0.1.0/src/flexiv_control/robot.py +343 -0
- flexiv_control-0.1.0/src/flexiv_control/safety.py +242 -0
- flexiv_control-0.1.0/src/flexiv_control/server/__init__.py +20 -0
- flexiv_control-0.1.0/src/flexiv_control/server/control_loop.py +272 -0
- flexiv_control-0.1.0/src/flexiv_control/server/host_lock.py +123 -0
- flexiv_control-0.1.0/src/flexiv_control/server/lease.py +94 -0
- flexiv_control-0.1.0/src/flexiv_control/server/protocol.py +302 -0
- flexiv_control-0.1.0/src/flexiv_control/server/server.py +387 -0
- flexiv_control-0.1.0/src/flexiv_control/sim/__init__.py +5 -0
- flexiv_control-0.1.0/src/flexiv_control/sim/build_rizon_gn01.py +119 -0
- flexiv_control-0.1.0/src/flexiv_control/sim/grav_gn01.xml +92 -0
- flexiv_control-0.1.0/src/flexiv_control/teleop/__init__.py +17 -0
- flexiv_control-0.1.0/src/flexiv_control/teleop/spacemouse.py +224 -0
- flexiv_control-0.1.0/src/flexiv_control/transforms.py +122 -0
- flexiv_control-0.1.0/src/flexiv_control/types.py +220 -0
- flexiv_control-0.1.0/src/flexiv_control.egg-info/PKG-INFO +233 -0
- flexiv_control-0.1.0/src/flexiv_control.egg-info/SOURCES.txt +67 -0
- flexiv_control-0.1.0/src/flexiv_control.egg-info/dependency_links.txt +1 -0
- flexiv_control-0.1.0/src/flexiv_control.egg-info/entry_points.txt +2 -0
- flexiv_control-0.1.0/src/flexiv_control.egg-info/requires.txt +24 -0
- flexiv_control-0.1.0/src/flexiv_control.egg-info/top_level.txt +1 -0
- flexiv_control-0.1.0/tests/test_actahead_lab_config.py +33 -0
- flexiv_control-0.1.0/tests/test_action_chunk.py +59 -0
- flexiv_control-0.1.0/tests/test_audit_fixes.py +109 -0
- flexiv_control-0.1.0/tests/test_chunk_canonical.py +104 -0
- flexiv_control-0.1.0/tests/test_conformance.py +102 -0
- flexiv_control-0.1.0/tests/test_fake_backend_roundtrip.py +96 -0
- flexiv_control-0.1.0/tests/test_gn01_gripper.py +79 -0
- flexiv_control-0.1.0/tests/test_gym_env.py +70 -0
- flexiv_control-0.1.0/tests/test_host_lock.py +57 -0
- flexiv_control-0.1.0/tests/test_interpolation.py +56 -0
- flexiv_control-0.1.0/tests/test_mujoco_backend.py +88 -0
- flexiv_control-0.1.0/tests/test_remote_streaming.py +163 -0
- flexiv_control-0.1.0/tests/test_safety.py +71 -0
- flexiv_control-0.1.0/tests/test_server_client.py +73 -0
- flexiv_control-0.1.0/tests/test_streaming.py +99 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 Zihao Lu
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
flexiv_control
|
|
2
|
+
Copyright 2026 Zihao Lu
|
|
3
|
+
|
|
4
|
+
This product is licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
|
+
|
|
6
|
+
This is an independent, community-maintained project. It is NOT affiliated with,
|
|
7
|
+
endorsed by, or supported by Flexiv Robotics. "Flexiv", "Rizon", "Grav", "GN01",
|
|
8
|
+
and "RDK" are trademarks of their respective owner and are used here only to
|
|
9
|
+
describe compatibility, as permitted under Section 6 of the Apache License,
|
|
10
|
+
Version 2.0.
|
|
11
|
+
|
|
12
|
+
The MuJoCo GN01 gripper model (src/flexiv_control/sim/grav_gn01.xml) reproduces
|
|
13
|
+
the kinematics of the official Flexiv ROS description "flexiv_description"
|
|
14
|
+
(https://github.com/flexivrobotics/flexiv_description), licensed Apache-2.0. The
|
|
15
|
+
gripper meshes are NOT redistributed here; the builder
|
|
16
|
+
(flexiv_control.sim.build_rizon_gn01) references your own flexiv_description
|
|
17
|
+
checkout.
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: flexiv-control
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A unified, real-time execution & safety layer for Flexiv Rizon arms: one action contract for teleop, MPC, RL, and real2sim2real.
|
|
5
|
+
Author: Zihao Lu
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/ZihaoLu001/flexiv_control
|
|
8
|
+
Project-URL: Repository, https://github.com/ZihaoLu001/flexiv_control
|
|
9
|
+
Keywords: robotics,manipulation,flexiv,rizon,controller,reinforcement-learning,mpc,teleoperation,real2sim2real,lerobot
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Intended Audience :: Science/Research
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Topic :: Scientific/Engineering
|
|
15
|
+
Requires-Python: >=3.8
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
License-File: NOTICE
|
|
19
|
+
Requires-Dist: numpy>=1.20
|
|
20
|
+
Provides-Extra: flexiv
|
|
21
|
+
Requires-Dist: flexivrdk<2,>=1.5; extra == "flexiv"
|
|
22
|
+
Provides-Extra: rl
|
|
23
|
+
Requires-Dist: gymnasium>=0.29; extra == "rl"
|
|
24
|
+
Provides-Extra: lerobot
|
|
25
|
+
Requires-Dist: lerobot; extra == "lerobot"
|
|
26
|
+
Provides-Extra: teleop
|
|
27
|
+
Requires-Dist: pyspacemouse; extra == "teleop"
|
|
28
|
+
Provides-Extra: yaml
|
|
29
|
+
Requires-Dist: pyyaml; extra == "yaml"
|
|
30
|
+
Provides-Extra: mujoco
|
|
31
|
+
Requires-Dist: mujoco>=3.0; extra == "mujoco"
|
|
32
|
+
Provides-Extra: dev
|
|
33
|
+
Requires-Dist: pytest>=7; extra == "dev"
|
|
34
|
+
Requires-Dist: pytest-timeout; extra == "dev"
|
|
35
|
+
Requires-Dist: ruff; extra == "dev"
|
|
36
|
+
Dynamic: license-file
|
|
37
|
+
|
|
38
|
+
<div align="center">
|
|
39
|
+
|
|
40
|
+
<img src="docs/assets/banner.svg" alt="flexiv_control" width="100%"/>
|
|
41
|
+
|
|
42
|
+
<h1>flexiv_control</h1>
|
|
43
|
+
|
|
44
|
+
<p><b>A unified, real-time control & safety layer for the Flexiv Rizon.</b><br/>
|
|
45
|
+
One action contract for teleoperation, MPC, reinforcement learning, and real-to-sim-to-real manipulation.</p>
|
|
46
|
+
|
|
47
|
+
<p>
|
|
48
|
+
<a href="https://github.com/ZihaoLu001/flexiv_control/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/ZihaoLu001/flexiv_control/ci.yml?branch=main&style=flat-square&label=CI&color=19E3C4" alt="CI"/></a>
|
|
49
|
+
<img src="https://img.shields.io/badge/python-3.8%2B-4DA3FF?style=flat-square&logo=python&logoColor=white" alt="python"/>
|
|
50
|
+
<img src="https://img.shields.io/badge/license-Apache--2.0-19E3C4?style=flat-square" alt="license"/>
|
|
51
|
+
<img src="https://img.shields.io/badge/core_deps-numpy-4DA3FF?style=flat-square" alt="deps"/>
|
|
52
|
+
<img src="https://img.shields.io/badge/status-alpha-f0a020?style=flat-square" alt="status"/>
|
|
53
|
+
</p>
|
|
54
|
+
|
|
55
|
+
<p>
|
|
56
|
+
<a href="https://zihaolu001.github.io/flexiv_control/"><b>Landing page</b></a> ·
|
|
57
|
+
<a href="#quick-start"><b>Quick start</b></a> ·
|
|
58
|
+
<a href="docs/architecture.md"><b>Architecture</b></a> ·
|
|
59
|
+
<a href="docs/action_contract.md"><b>Action contract</b></a> ·
|
|
60
|
+
<a href="docs/safety.md"><b>Safety</b></a>
|
|
61
|
+
</p>
|
|
62
|
+
|
|
63
|
+
<p><sub><i>Community project — <b>NOT affiliated with, endorsed by, or supported by Flexiv Robotics.</b></i></sub></p>
|
|
64
|
+
|
|
65
|
+
</div>
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
`flexiv_control` is a thin, fast layer between a high-level decision maker — a
|
|
70
|
+
policy, an MPC planner, a teleoperator — and a Flexiv Rizon arm. It takes a
|
|
71
|
+
high-level action, turns it into a **safe** stream of setpoints at the control
|
|
72
|
+
rate, and reports back what actually happened.
|
|
73
|
+
|
|
74
|
+
Every consumer speaks the **same action contract**, and every backend — a real
|
|
75
|
+
Rizon via Flexiv RDK, a dependency-free `fake` backend, or a MuJoCo simulation —
|
|
76
|
+
consumes the same safety-filtered setpoint stream. That is what makes one
|
|
77
|
+
controller reusable across teleop, RL, MPC, and real2sim2real projects without
|
|
78
|
+
forks. The design (a thin client over a real-time-capable loop, one action
|
|
79
|
+
interface, sim + real behind a single backend switch) is the shape that Deoxys,
|
|
80
|
+
Polymetis, frankapy, SERL/HIL-SERL, and LeRobot converged on
|
|
81
|
+
([design rationale](docs/design_rationale.md)).
|
|
82
|
+
|
|
83
|
+
## Features
|
|
84
|
+
|
|
85
|
+
- **One action contract** — `CartesianChunk` / `CartesianDelta` / `JointChunk` +
|
|
86
|
+
`GripperCommand`, with absolute or relative-to-chunk-start poses, a
|
|
87
|
+
predict-vs-execute horizon, and a quantified `ExecutionResult`.
|
|
88
|
+
- **Safety is first-class** — named, version-controlled `SafetyProfile`s and a
|
|
89
|
+
microsecond per-tick `SafetyFilter` (workspace box, speed/jump caps, joint
|
|
90
|
+
limits, contact-wrench stop, watchdog) that *clips or rejects and reports*.
|
|
91
|
+
- **Sim ↔ real behind one switch** — a MuJoCo backend (Jacobian IK, gravity
|
|
92
|
+
compensation) with a **faithful GN01 gripper**, the `fake` backend for offline
|
|
93
|
+
dev, and a real Rizon, all behind one config string.
|
|
94
|
+
- **Built for learning & control** — a Gymnasium env, a HIL-SERL intervention
|
|
95
|
+
wrapper, a `RecedingHorizonRunner` (the VLA / MPC policy-server seam), and a
|
|
96
|
+
SpaceMouse teleoperator, all on the same contract.
|
|
97
|
+
- **Multi-user safe** — an in-process lease and a host-wide lock so two processes
|
|
98
|
+
can't fight over the arm.
|
|
99
|
+
- **Optional, not required** — a numpy-only cross-process server + `RemoteRobot`,
|
|
100
|
+
a C++ 1 kHz real-time daemon, and a ROS 2 overlay. **The core needs only numpy.**
|
|
101
|
+
|
|
102
|
+
## Installation
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
git clone https://github.com/ZihaoLu001/flexiv_control.git
|
|
106
|
+
cd flexiv_control
|
|
107
|
+
pip install -e . # core: numpy only
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
<details>
|
|
111
|
+
<summary>Optional extras (RL, teleop, LeRobot, MuJoCo, real hardware, dev)</summary>
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
pip install -e ".[rl]" # + Gymnasium env
|
|
115
|
+
pip install -e ".[teleop]" # + SpaceMouse
|
|
116
|
+
pip install -e ".[lerobot]" # + LeRobot data/training
|
|
117
|
+
pip install -e ".[mujoco]" # + MuJoCo simulation backend
|
|
118
|
+
pip install -e ".[flexiv]" # + flexivrdk (real hardware; RDK v1.x)
|
|
119
|
+
pip install -e ".[dev]" # + pytest, ruff
|
|
120
|
+
```
|
|
121
|
+
See [docs/flexiv_setup.md](docs/flexiv_setup.md) for real-robot bring-up and
|
|
122
|
+
[docs/versions.md](docs/versions.md) for RDK/firmware version pinning.
|
|
123
|
+
</details>
|
|
124
|
+
|
|
125
|
+
## Quick start
|
|
126
|
+
|
|
127
|
+
No hardware needed — the `fake` backend is dependency-free:
|
|
128
|
+
|
|
129
|
+
```python
|
|
130
|
+
from flexiv_control import Robot, RobotConfig, CartesianChunk
|
|
131
|
+
|
|
132
|
+
robot = Robot(RobotConfig(backend="fake")) # or "mujoco" / "flexiv_rdk"
|
|
133
|
+
robot.connect()
|
|
134
|
+
robot.start_cartesian_impedance()
|
|
135
|
+
|
|
136
|
+
chunk = CartesianChunk.from_waypoint_array([[0.45, 0.0, 0.30, 1.0, 20],
|
|
137
|
+
[0.50, 0.0, 0.25, 0.0, 20]])
|
|
138
|
+
result = robot.execute_cartesian_chunk(chunk)
|
|
139
|
+
print(result.success, result.path_tracking_error)
|
|
140
|
+
|
|
141
|
+
robot.disconnect()
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
flexiv-control demo # offline FakeBackend demo, no hardware
|
|
146
|
+
python examples/01_fake_hello.py
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
## Architecture
|
|
150
|
+
|
|
151
|
+
The action contract is the only thing crossing the boundary, so the network
|
|
152
|
+
server, Gym env, and ROS overlay are all pure pass-through:
|
|
153
|
+
|
|
154
|
+
```
|
|
155
|
+
Language policy MPC planner RL trainer SpaceMouse
|
|
156
|
+
\ | | /
|
|
157
|
+
└──► CartesianChunk / CartesianDelta / JointChunk ◄──┘
|
|
158
|
+
│
|
|
159
|
+
Robot facade → SafetyFilter (per-tick) → Interpolator → backend → Rizon
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
The Rizon runs its hard real-time impedance loop **inside the robot**, so the
|
|
163
|
+
host only streams setpoints. That gives **two tiers** — a Python default
|
|
164
|
+
(100–500 Hz, RDK non-real-time modes) and an optional C++ 1 kHz daemon (RDK
|
|
165
|
+
real-time modes) — sharing the same contract. The
|
|
166
|
+
[landing page](https://zihaolu001.github.io/flexiv_control/) and
|
|
167
|
+
[docs/architecture.md](docs/architecture.md) lay this out in full.
|
|
168
|
+
|
|
169
|
+
| Path | Purpose |
|
|
170
|
+
|---|---|
|
|
171
|
+
| `src/flexiv_control/` | core: contract, safety, interpolation, robot facade, backends |
|
|
172
|
+
| `src/flexiv_control/sim/` | MuJoCo Rizon + GN01 gripper model builder |
|
|
173
|
+
| `cpp/` · `ros2/` | optional Tier-B 1 kHz RT daemon · optional ROS 2 overlay |
|
|
174
|
+
| `configs/` · `examples/` · `tests/` | shipped YAML profiles · runnable demos · pytest suite |
|
|
175
|
+
|
|
176
|
+
## Examples
|
|
177
|
+
|
|
178
|
+
| File | Shows |
|
|
179
|
+
|---|---|
|
|
180
|
+
| `examples/01_fake_hello.py` | connect, read state, run a chunk on `fake` |
|
|
181
|
+
| `examples/02_cartesian_chunk.py` | the action contract and `ExecutionResult` |
|
|
182
|
+
| `examples/03_rl_gym_env.py` | Gymnasium env + HIL-SERL intervention |
|
|
183
|
+
| `examples/04_mpc_loop.py` | a high-rate closed loop |
|
|
184
|
+
| `examples/05_spacemouse_teleop.py` | teleop (scripted, or `--device`) |
|
|
185
|
+
| `examples/06_lerobot_record.py` | recording in the LeRobot format |
|
|
186
|
+
| `examples/07_receding_horizon.py` | receding-horizon execution + the VLA/MPC policy-server seam |
|
|
187
|
+
|
|
188
|
+
## Documentation
|
|
189
|
+
|
|
190
|
+
| Doc | What |
|
|
191
|
+
|---|---|
|
|
192
|
+
| [architecture.md](docs/architecture.md) | the stack, the two RT tiers, components, boundaries |
|
|
193
|
+
| [action_contract.md](docs/action_contract.md) | the contract objects, conventions, chunk constructors |
|
|
194
|
+
| [safety.md](docs/safety.md) | profiles, the filter, the shipped profiles, tuning |
|
|
195
|
+
| [flexiv_setup.md](docs/flexiv_setup.md) | bringing up a real Rizon, licenses, first-run checklist |
|
|
196
|
+
| [versions.md](docs/versions.md) | RDK version sensitivity and the `# VERIFY:` markers |
|
|
197
|
+
| [integration_planner.md](docs/integration_planner.md) · [_mpc](docs/integration_mpc.md) · [_rl](docs/integration_rl.md) · [_teleop](docs/integration_teleop.md) | per-use-case integration guides |
|
|
198
|
+
|
|
199
|
+
## Safety
|
|
200
|
+
|
|
201
|
+
> **Before any motion on real hardware:** keep an E-stop within reach and
|
|
202
|
+
> validate your `SafetyProfile` — especially the workspace box — on your own cell
|
|
203
|
+
> at low speed. See [docs/safety.md](docs/safety.md).
|
|
204
|
+
|
|
205
|
+
## Status
|
|
206
|
+
|
|
207
|
+
Alpha (`0.1.0`). The Python core, safety, action contract, server/client,
|
|
208
|
+
Gymnasium env, teleop, and the **MuJoCo simulation (including the GN01 gripper)**
|
|
209
|
+
are tested in CI (Python 3.8 / 3.10 / 3.12). The **real-hardware** (`flexiv_rdk`)
|
|
210
|
+
and the **C++ / ROS 2** paths are hardware-unvalidated and carry `# VERIFY:`
|
|
211
|
+
markers to confirm against your installed versions before first use
|
|
212
|
+
([docs/versions.md](docs/versions.md)).
|
|
213
|
+
|
|
214
|
+
## Development
|
|
215
|
+
|
|
216
|
+
```bash
|
|
217
|
+
pip install -e ".[dev]"
|
|
218
|
+
ruff check src tests examples
|
|
219
|
+
pytest -q
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
Contributions welcome — see [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
223
|
+
|
|
224
|
+
## Citation
|
|
225
|
+
|
|
226
|
+
If you use this in academic work, please cite it (see [CITATION.cff](CITATION.cff)).
|
|
227
|
+
|
|
228
|
+
## License
|
|
229
|
+
|
|
230
|
+
[Apache-2.0](LICENSE). The MuJoCo GN01 gripper model is derived from the official
|
|
231
|
+
Flexiv ROS description (Apache-2.0); see [NOTICE](NOTICE).
|
|
232
|
+
|
|
233
|
+
<div align="center"><sub>Built for the Flexiv Rizon · community-maintained · not affiliated with Flexiv Robotics</sub></div>
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
<img src="docs/assets/banner.svg" alt="flexiv_control" width="100%"/>
|
|
4
|
+
|
|
5
|
+
<h1>flexiv_control</h1>
|
|
6
|
+
|
|
7
|
+
<p><b>A unified, real-time control & safety layer for the Flexiv Rizon.</b><br/>
|
|
8
|
+
One action contract for teleoperation, MPC, reinforcement learning, and real-to-sim-to-real manipulation.</p>
|
|
9
|
+
|
|
10
|
+
<p>
|
|
11
|
+
<a href="https://github.com/ZihaoLu001/flexiv_control/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/ZihaoLu001/flexiv_control/ci.yml?branch=main&style=flat-square&label=CI&color=19E3C4" alt="CI"/></a>
|
|
12
|
+
<img src="https://img.shields.io/badge/python-3.8%2B-4DA3FF?style=flat-square&logo=python&logoColor=white" alt="python"/>
|
|
13
|
+
<img src="https://img.shields.io/badge/license-Apache--2.0-19E3C4?style=flat-square" alt="license"/>
|
|
14
|
+
<img src="https://img.shields.io/badge/core_deps-numpy-4DA3FF?style=flat-square" alt="deps"/>
|
|
15
|
+
<img src="https://img.shields.io/badge/status-alpha-f0a020?style=flat-square" alt="status"/>
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
<p>
|
|
19
|
+
<a href="https://zihaolu001.github.io/flexiv_control/"><b>Landing page</b></a> ·
|
|
20
|
+
<a href="#quick-start"><b>Quick start</b></a> ·
|
|
21
|
+
<a href="docs/architecture.md"><b>Architecture</b></a> ·
|
|
22
|
+
<a href="docs/action_contract.md"><b>Action contract</b></a> ·
|
|
23
|
+
<a href="docs/safety.md"><b>Safety</b></a>
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
<p><sub><i>Community project — <b>NOT affiliated with, endorsed by, or supported by Flexiv Robotics.</b></i></sub></p>
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
`flexiv_control` is a thin, fast layer between a high-level decision maker — a
|
|
33
|
+
policy, an MPC planner, a teleoperator — and a Flexiv Rizon arm. It takes a
|
|
34
|
+
high-level action, turns it into a **safe** stream of setpoints at the control
|
|
35
|
+
rate, and reports back what actually happened.
|
|
36
|
+
|
|
37
|
+
Every consumer speaks the **same action contract**, and every backend — a real
|
|
38
|
+
Rizon via Flexiv RDK, a dependency-free `fake` backend, or a MuJoCo simulation —
|
|
39
|
+
consumes the same safety-filtered setpoint stream. That is what makes one
|
|
40
|
+
controller reusable across teleop, RL, MPC, and real2sim2real projects without
|
|
41
|
+
forks. The design (a thin client over a real-time-capable loop, one action
|
|
42
|
+
interface, sim + real behind a single backend switch) is the shape that Deoxys,
|
|
43
|
+
Polymetis, frankapy, SERL/HIL-SERL, and LeRobot converged on
|
|
44
|
+
([design rationale](docs/design_rationale.md)).
|
|
45
|
+
|
|
46
|
+
## Features
|
|
47
|
+
|
|
48
|
+
- **One action contract** — `CartesianChunk` / `CartesianDelta` / `JointChunk` +
|
|
49
|
+
`GripperCommand`, with absolute or relative-to-chunk-start poses, a
|
|
50
|
+
predict-vs-execute horizon, and a quantified `ExecutionResult`.
|
|
51
|
+
- **Safety is first-class** — named, version-controlled `SafetyProfile`s and a
|
|
52
|
+
microsecond per-tick `SafetyFilter` (workspace box, speed/jump caps, joint
|
|
53
|
+
limits, contact-wrench stop, watchdog) that *clips or rejects and reports*.
|
|
54
|
+
- **Sim ↔ real behind one switch** — a MuJoCo backend (Jacobian IK, gravity
|
|
55
|
+
compensation) with a **faithful GN01 gripper**, the `fake` backend for offline
|
|
56
|
+
dev, and a real Rizon, all behind one config string.
|
|
57
|
+
- **Built for learning & control** — a Gymnasium env, a HIL-SERL intervention
|
|
58
|
+
wrapper, a `RecedingHorizonRunner` (the VLA / MPC policy-server seam), and a
|
|
59
|
+
SpaceMouse teleoperator, all on the same contract.
|
|
60
|
+
- **Multi-user safe** — an in-process lease and a host-wide lock so two processes
|
|
61
|
+
can't fight over the arm.
|
|
62
|
+
- **Optional, not required** — a numpy-only cross-process server + `RemoteRobot`,
|
|
63
|
+
a C++ 1 kHz real-time daemon, and a ROS 2 overlay. **The core needs only numpy.**
|
|
64
|
+
|
|
65
|
+
## Installation
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
git clone https://github.com/ZihaoLu001/flexiv_control.git
|
|
69
|
+
cd flexiv_control
|
|
70
|
+
pip install -e . # core: numpy only
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
<details>
|
|
74
|
+
<summary>Optional extras (RL, teleop, LeRobot, MuJoCo, real hardware, dev)</summary>
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
pip install -e ".[rl]" # + Gymnasium env
|
|
78
|
+
pip install -e ".[teleop]" # + SpaceMouse
|
|
79
|
+
pip install -e ".[lerobot]" # + LeRobot data/training
|
|
80
|
+
pip install -e ".[mujoco]" # + MuJoCo simulation backend
|
|
81
|
+
pip install -e ".[flexiv]" # + flexivrdk (real hardware; RDK v1.x)
|
|
82
|
+
pip install -e ".[dev]" # + pytest, ruff
|
|
83
|
+
```
|
|
84
|
+
See [docs/flexiv_setup.md](docs/flexiv_setup.md) for real-robot bring-up and
|
|
85
|
+
[docs/versions.md](docs/versions.md) for RDK/firmware version pinning.
|
|
86
|
+
</details>
|
|
87
|
+
|
|
88
|
+
## Quick start
|
|
89
|
+
|
|
90
|
+
No hardware needed — the `fake` backend is dependency-free:
|
|
91
|
+
|
|
92
|
+
```python
|
|
93
|
+
from flexiv_control import Robot, RobotConfig, CartesianChunk
|
|
94
|
+
|
|
95
|
+
robot = Robot(RobotConfig(backend="fake")) # or "mujoco" / "flexiv_rdk"
|
|
96
|
+
robot.connect()
|
|
97
|
+
robot.start_cartesian_impedance()
|
|
98
|
+
|
|
99
|
+
chunk = CartesianChunk.from_waypoint_array([[0.45, 0.0, 0.30, 1.0, 20],
|
|
100
|
+
[0.50, 0.0, 0.25, 0.0, 20]])
|
|
101
|
+
result = robot.execute_cartesian_chunk(chunk)
|
|
102
|
+
print(result.success, result.path_tracking_error)
|
|
103
|
+
|
|
104
|
+
robot.disconnect()
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
flexiv-control demo # offline FakeBackend demo, no hardware
|
|
109
|
+
python examples/01_fake_hello.py
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## Architecture
|
|
113
|
+
|
|
114
|
+
The action contract is the only thing crossing the boundary, so the network
|
|
115
|
+
server, Gym env, and ROS overlay are all pure pass-through:
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
Language policy MPC planner RL trainer SpaceMouse
|
|
119
|
+
\ | | /
|
|
120
|
+
└──► CartesianChunk / CartesianDelta / JointChunk ◄──┘
|
|
121
|
+
│
|
|
122
|
+
Robot facade → SafetyFilter (per-tick) → Interpolator → backend → Rizon
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
The Rizon runs its hard real-time impedance loop **inside the robot**, so the
|
|
126
|
+
host only streams setpoints. That gives **two tiers** — a Python default
|
|
127
|
+
(100–500 Hz, RDK non-real-time modes) and an optional C++ 1 kHz daemon (RDK
|
|
128
|
+
real-time modes) — sharing the same contract. The
|
|
129
|
+
[landing page](https://zihaolu001.github.io/flexiv_control/) and
|
|
130
|
+
[docs/architecture.md](docs/architecture.md) lay this out in full.
|
|
131
|
+
|
|
132
|
+
| Path | Purpose |
|
|
133
|
+
|---|---|
|
|
134
|
+
| `src/flexiv_control/` | core: contract, safety, interpolation, robot facade, backends |
|
|
135
|
+
| `src/flexiv_control/sim/` | MuJoCo Rizon + GN01 gripper model builder |
|
|
136
|
+
| `cpp/` · `ros2/` | optional Tier-B 1 kHz RT daemon · optional ROS 2 overlay |
|
|
137
|
+
| `configs/` · `examples/` · `tests/` | shipped YAML profiles · runnable demos · pytest suite |
|
|
138
|
+
|
|
139
|
+
## Examples
|
|
140
|
+
|
|
141
|
+
| File | Shows |
|
|
142
|
+
|---|---|
|
|
143
|
+
| `examples/01_fake_hello.py` | connect, read state, run a chunk on `fake` |
|
|
144
|
+
| `examples/02_cartesian_chunk.py` | the action contract and `ExecutionResult` |
|
|
145
|
+
| `examples/03_rl_gym_env.py` | Gymnasium env + HIL-SERL intervention |
|
|
146
|
+
| `examples/04_mpc_loop.py` | a high-rate closed loop |
|
|
147
|
+
| `examples/05_spacemouse_teleop.py` | teleop (scripted, or `--device`) |
|
|
148
|
+
| `examples/06_lerobot_record.py` | recording in the LeRobot format |
|
|
149
|
+
| `examples/07_receding_horizon.py` | receding-horizon execution + the VLA/MPC policy-server seam |
|
|
150
|
+
|
|
151
|
+
## Documentation
|
|
152
|
+
|
|
153
|
+
| Doc | What |
|
|
154
|
+
|---|---|
|
|
155
|
+
| [architecture.md](docs/architecture.md) | the stack, the two RT tiers, components, boundaries |
|
|
156
|
+
| [action_contract.md](docs/action_contract.md) | the contract objects, conventions, chunk constructors |
|
|
157
|
+
| [safety.md](docs/safety.md) | profiles, the filter, the shipped profiles, tuning |
|
|
158
|
+
| [flexiv_setup.md](docs/flexiv_setup.md) | bringing up a real Rizon, licenses, first-run checklist |
|
|
159
|
+
| [versions.md](docs/versions.md) | RDK version sensitivity and the `# VERIFY:` markers |
|
|
160
|
+
| [integration_planner.md](docs/integration_planner.md) · [_mpc](docs/integration_mpc.md) · [_rl](docs/integration_rl.md) · [_teleop](docs/integration_teleop.md) | per-use-case integration guides |
|
|
161
|
+
|
|
162
|
+
## Safety
|
|
163
|
+
|
|
164
|
+
> **Before any motion on real hardware:** keep an E-stop within reach and
|
|
165
|
+
> validate your `SafetyProfile` — especially the workspace box — on your own cell
|
|
166
|
+
> at low speed. See [docs/safety.md](docs/safety.md).
|
|
167
|
+
|
|
168
|
+
## Status
|
|
169
|
+
|
|
170
|
+
Alpha (`0.1.0`). The Python core, safety, action contract, server/client,
|
|
171
|
+
Gymnasium env, teleop, and the **MuJoCo simulation (including the GN01 gripper)**
|
|
172
|
+
are tested in CI (Python 3.8 / 3.10 / 3.12). The **real-hardware** (`flexiv_rdk`)
|
|
173
|
+
and the **C++ / ROS 2** paths are hardware-unvalidated and carry `# VERIFY:`
|
|
174
|
+
markers to confirm against your installed versions before first use
|
|
175
|
+
([docs/versions.md](docs/versions.md)).
|
|
176
|
+
|
|
177
|
+
## Development
|
|
178
|
+
|
|
179
|
+
```bash
|
|
180
|
+
pip install -e ".[dev]"
|
|
181
|
+
ruff check src tests examples
|
|
182
|
+
pytest -q
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
Contributions welcome — see [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
186
|
+
|
|
187
|
+
## Citation
|
|
188
|
+
|
|
189
|
+
If you use this in academic work, please cite it (see [CITATION.cff](CITATION.cff)).
|
|
190
|
+
|
|
191
|
+
## License
|
|
192
|
+
|
|
193
|
+
[Apache-2.0](LICENSE). The MuJoCo GN01 gripper model is derived from the official
|
|
194
|
+
Flexiv ROS description (Apache-2.0); see [NOTICE](NOTICE).
|
|
195
|
+
|
|
196
|
+
<div align="center"><sub>Built for the Flexiv Rizon · community-maintained · not affiliated with Flexiv Robotics</sub></div>
|