imt-ring 1.6.23__py3-none-any.whl → 1.6.24__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- {imt_ring-1.6.23.dist-info → imt_ring-1.6.24.dist-info}/METADATA +1 -1
- {imt_ring-1.6.23.dist-info → imt_ring-1.6.24.dist-info}/RECORD +5 -5
- ring/algorithms/_random.py +5 -5
- {imt_ring-1.6.23.dist-info → imt_ring-1.6.24.dist-info}/WHEEL +0 -0
- {imt_ring-1.6.23.dist-info → imt_ring-1.6.24.dist-info}/top_level.txt +0 -0
@@ -4,7 +4,7 @@ ring/base.py,sha256=yPdbPywwDllCRsJEbnLW4s9Z-bBD8qdxpEDYV3pCLP8,35296
|
|
4
4
|
ring/maths.py,sha256=qPHH6TpHCK3TgExI98gNEySoSRKOwteN9McUlyUFipI,12207
|
5
5
|
ring/spatial.py,sha256=nmZ-UhRanhyM34bez8uCS4wMwaKqLkuEbgKGP5XNH60,2351
|
6
6
|
ring/algorithms/__init__.py,sha256=IiK9EN5Xgs3dB075-A-H-Yad0Z7vzvKIJF2g6X_-C_8,1224
|
7
|
-
ring/algorithms/_random.py,sha256=
|
7
|
+
ring/algorithms/_random.py,sha256=UMyv-VPZLcErrKqs0XB83QJjs8GrmoNsv-zRSxGXvnI,14490
|
8
8
|
ring/algorithms/dynamics.py,sha256=dpe-F3Yq4sY2dY6DQW3v7TnPLRdxdkePtdbGPQIrijg,10997
|
9
9
|
ring/algorithms/jcalc.py,sha256=St4hjp8LZYQg6TFFTqh7psAp1W2DvZwNe6NhXe8vrf0,35490
|
10
10
|
ring/algorithms/kinematics.py,sha256=DOboHI517Vx0pRJUFZtZPmK_qFaiKiQe-37B-M0aC-c,7422
|
@@ -86,7 +86,7 @@ ring/utils/randomize_sys.py,sha256=G_vBIo0OwQkXL2u0djwbaoaeb02C4LQCTNNloOYIU2M,3
|
|
86
86
|
ring/utils/utils.py,sha256=tJaWXLGOTwkxJQj2l23dX97wO3aZYhM2qd7eNuMRs84,6907
|
87
87
|
ring/utils/register_gym_envs/__init__.py,sha256=PtPIRBQJ16339xZ9G9VpvqrvcGbQ_Pk_SUz4tQPa9nQ,94
|
88
88
|
ring/utils/register_gym_envs/saddle.py,sha256=tA5CyW_akSXyDm0xJ83CtOrUMVElH0f9vZtEDDJQalI,4422
|
89
|
-
imt_ring-1.6.
|
90
|
-
imt_ring-1.6.
|
91
|
-
imt_ring-1.6.
|
92
|
-
imt_ring-1.6.
|
89
|
+
imt_ring-1.6.24.dist-info/METADATA,sha256=vaXarRf1r5xZeGK-av_regQ2LgaCTnb0Th43bDLXgN8,4089
|
90
|
+
imt_ring-1.6.24.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
91
|
+
imt_ring-1.6.24.dist-info/top_level.txt,sha256=EiT790-lAyi8iwTzJArH3f2k77rwhDn00q-4PlmvDQo,5
|
92
|
+
imt_ring-1.6.24.dist-info/RECORD,,
|
ring/algorithms/_random.py
CHANGED
@@ -272,14 +272,14 @@ def _resolve_range_of_motion(
|
|
272
272
|
key_ang,
|
273
273
|
max_iter,
|
274
274
|
):
|
275
|
+
# legacy reasons, without range of motion the `sign` value, so going
|
276
|
+
# left or right is 50-50 for free joints and spherical joints
|
277
|
+
if not range_of_motion:
|
278
|
+
range_of_motion_method = "coinflip"
|
279
|
+
|
275
280
|
def _next_phi(key, dt):
|
276
281
|
key, consume = random.split(key)
|
277
282
|
|
278
|
-
# legacy reasons, without range of motion the `sign` value, so going
|
279
|
-
# left or right is 50-50 for free joints and spherical joints
|
280
|
-
if not range_of_motion:
|
281
|
-
range_of_motion_method = "coinflip"
|
282
|
-
|
283
283
|
if range_of_motion_method == "coinflip":
|
284
284
|
probs = jnp.array([0.5, 0.5])
|
285
285
|
elif range_of_motion_method == "uniform":
|
File without changes
|
File without changes
|