placo 0.5.4__0-cp310-cp310-manylinux_2_35_x86_64.whl → 0.5.6__0-cp310-cp310-manylinux_2_35_x86_64.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.

Potentially problematic release.


This version of placo might be problematic. Click here for more details.

Binary file
@@ -266,7 +266,7 @@ class AxisesMask:
266
266
  """Used to mask some task axises.
267
267
  """
268
268
  R_custom_world: numpy.ndarray # Eigen::Matrix3d
269
- """ROtation from world to custom rotation (provided by the user)
269
+ """Rotation from world to custom rotation (provided by the user)
270
270
  """
271
271
 
272
272
  R_local_world: numpy.ndarray # Eigen::Matrix3d
@@ -2047,6 +2047,10 @@ class DynamicsSolver:
2047
2047
  ) -> int:
2048
2048
  ...
2049
2049
 
2050
+ damping: float # double
2051
+ """Global damping that is added to all the joints.
2052
+ """
2053
+
2050
2054
  dt: float # double
2051
2055
  """Solver dt (seconds)
2052
2056
  """
@@ -2090,10 +2094,6 @@ class DynamicsSolver:
2090
2094
  """Enables the velocity vs torque inequalities."""
2091
2095
  ...
2092
2096
 
2093
- friction: float # double
2094
- """Global friction that is added to all the joints.
2095
- """
2096
-
2097
2097
  def get_contact(
2098
2098
  arg1: DynamicsSolver,
2099
2099
  arg2: int,
@@ -2154,50 +2154,28 @@ class DynamicsSolver:
2154
2154
  :param task: frame task"""
2155
2155
  ...
2156
2156
 
2157
- def reset_joint(
2158
- self: DynamicsSolver,
2159
- joint_name: str, # const std::string &
2160
-
2161
- ) -> None:
2162
- """Resets a given joint so that its torque is no longer overriden.
2163
-
2164
-
2165
- :param joint_name: the joint"""
2166
- ...
2167
-
2168
2157
  robot: RobotWrapper # placo::model::RobotWrapper
2169
2158
 
2170
- def set_passive(
2159
+ def set_kd(
2171
2160
  self: DynamicsSolver,
2172
- joint_name: str, # const std::string &
2173
- kp: float = 0., # double
2174
- kd: float = 0., # double
2161
+ kd: float, # double
2175
2162
 
2176
2163
  ) -> None:
2177
- """Sets a DoF as passive, the corresponding tau will be fixed in the equation of motion it can be purely passive joint or a spring-like behaviour.
2164
+ """Set the kp for all tasks.
2178
2165
 
2179
2166
 
2180
- :param joint_name: the joint
2181
-
2182
- :param is_passive: true if the should the joint be passive
2183
-
2184
- :param kp: kp gain if the joint is a spring (0 by default)
2185
-
2186
- :param kd: kd gain if the joint is a spring (0 by default)"""
2167
+ :param kpd:"""
2187
2168
  ...
2188
2169
 
2189
- def set_tau(
2170
+ def set_kp(
2190
2171
  self: DynamicsSolver,
2191
- joint_name: str, # const std::string &
2192
- tau: float, # double
2172
+ kp: float, # double
2193
2173
 
2194
2174
  ) -> None:
2195
- """Sets a custom torque to be applied by a given joint.
2175
+ """Set the kp for all tasks.
2196
2176
 
2197
2177
 
2198
- :param joint_name: the joint
2199
-
2200
- :param tau: torque"""
2178
+ :param kp:"""
2201
2179
  ...
2202
2180
 
2203
2181
  def solve(
@@ -2355,10 +2333,23 @@ class DynamicsTorqueTask:
2355
2333
  """Object priority.
2356
2334
  """
2357
2335
 
2336
+ def reset_torque(
2337
+ self: DynamicsTorqueTask,
2338
+ joint: str, # std::string
2339
+
2340
+ ) -> None:
2341
+ """Removes a joint from this task.
2342
+
2343
+
2344
+ :param joint: joint namle"""
2345
+ ...
2346
+
2358
2347
  def set_torque(
2359
2348
  self: DynamicsTorqueTask,
2360
2349
  joint: str, # std::string
2361
2350
  torque: float, # double
2351
+ kp: float = 0.0, # double
2352
+ kd: float = 0.0, # double
2362
2353
 
2363
2354
  ) -> None:
2364
2355
  """Sets the target for a given joint.
@@ -2366,7 +2357,11 @@ class DynamicsTorqueTask:
2366
2357
 
2367
2358
  :param joint: joint name
2368
2359
 
2369
- :param torque: target torque"""
2360
+ :param torque: target torque
2361
+
2362
+ :param kp: proportional gain (optional)
2363
+
2364
+ :param kd: derivative gain (optional)"""
2370
2365
  ...
2371
2366
 
2372
2367
 
@@ -3232,6 +3227,16 @@ class HumanoidRobot:
3232
3227
  ) -> any:
3233
3228
  ...
3234
3229
 
3230
+ def centroidal_map(
3231
+ self: HumanoidRobot,
3232
+
3233
+ ) -> numpy.ndarray:
3234
+ """Centroidal map.
3235
+
3236
+
3237
+ :return: jacobian (6 x n matrix)"""
3238
+ ...
3239
+
3235
3240
  collision_model: any # pinocchio::GeometryModel
3236
3241
  """Pinocchio collision model.
3237
3242
  """
@@ -5789,6 +5794,16 @@ class RobotWrapper:
5789
5794
  :param urdf_content: if it is not empty, it will be used as the URDF content instead of loading it from the file"""
5790
5795
  ...
5791
5796
 
5797
+ def centroidal_map(
5798
+ self: RobotWrapper,
5799
+
5800
+ ) -> numpy.ndarray:
5801
+ """Centroidal map.
5802
+
5803
+
5804
+ :return: jacobian (6 x n matrix)"""
5805
+ ...
5806
+
5792
5807
  collision_model: any # pinocchio::GeometryModel
5793
5808
  """Pinocchio collision model.
5794
5809
  """
@@ -7213,6 +7228,15 @@ class map_string_double:
7213
7228
  ...
7214
7229
 
7215
7230
 
7231
+ def optimal_transformation(
7232
+ points_in_A: numpy.ndarray, # Eigen::MatrixXd
7233
+ points_in_B: numpy.ndarray, # Eigen::MatrixXd
7234
+
7235
+ ) -> numpy.ndarray:
7236
+ """Finds the optimal transformation T_a_b that minimizes the sum of squared distances between the (same) points in A and T_a_b * points in B Points are stacked in lines (columns are x, y and z) in the matrices."""
7237
+ ...
7238
+
7239
+
7216
7240
  def rotation_from_axis(
7217
7241
  axis: str, # std::string
7218
7242
  vector: numpy.ndarray, # Eigen::Vector3d
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: placo
3
- Version: 0.5.4
3
+ Version: 0.5.6
4
4
  Summary: PlaCo: Rhoban Planning and Control
5
5
  Requires-Python: >= 3.8
6
6
  License-Expression: MIT
@@ -14,7 +14,7 @@ Requires-Dist: eiquadprog >= 1.2.6, < 2
14
14
  Requires-Dist: pin >= 2.6.18, < 3
15
15
  Requires-Dist: rhoban-cmeel-jsoncpp
16
16
  Requires-Dist: meshcat
17
- Requires-Dist: numpy
17
+ Requires-Dist: numpy<2
18
18
  Requires-Dist: ischedule
19
19
  Provides-Extra: build
20
20
  Requires-Dist: pin[build] >= 2.6.18, < 3 ; extra == "build"
@@ -1,14 +1,14 @@
1
- cmeel.prefix/lib/liblibplaco.so,sha256=XMZvPuvg9OqQh8J8lRir5iMFVZOvmYQPWDeOJIEOVD8,2604920
2
- cmeel.prefix/lib/python3.10/site-packages/placo.pyi,sha256=ZlxhV1VATKxbobDkPmuk45_iHK11uEeof-9usUK3Wsk,155347
3
- cmeel.prefix/lib/python3.10/site-packages/placo.so,sha256=00KXefF62dKsyvxw3gTCDtMCXu7d2_l1zsj5nVFHouw,7593632
1
+ cmeel.prefix/lib/liblibplaco.so,sha256=fzs8u8zYuPud3Rxb0XtDoxebFfbmp-LVKWgk8WMzA14,2625456
2
+ cmeel.prefix/lib/python3.10/site-packages/placo.pyi,sha256=O4XUe9BdLlLOwYqP8E8UHR5dX6RUYBHX3npfRdHir9A,155599
3
+ cmeel.prefix/lib/python3.10/site-packages/placo.so,sha256=OWgoySsIDEx0L4KC1M5fHYRH9inaBcDKBDQGSyV_0-M,7598744
4
4
  cmeel.prefix/lib/python3.10/site-packages/placo_utils/__init__.py,sha256=UN-fc5KfBWQ-_qkm0Ajouh-T9tBGm5aUtuzBiH1tRtk,80
5
5
  cmeel.prefix/lib/python3.10/site-packages/placo_utils/tf.py,sha256=fFRXNbeLlXzn5VOqYl7hcSuvOOtTDTiLi_Lpd9_l6wA,36
6
6
  cmeel.prefix/lib/python3.10/site-packages/placo_utils/visualization.py,sha256=EOXNjYKiOSE2F4vbEXoFJ4UBbGBUvC5v4ANjYL3IUVo,7440
7
7
  cmeel.prefix/lib/python3.10/site-packages/placo_utils/__pycache__/__init__.cpython-310.pyc,sha256=tJrTajdA7hNO9tZkE1oN49rU-61lCNUED-mQXdAvzAs,261
8
8
  cmeel.prefix/lib/python3.10/site-packages/placo_utils/__pycache__/tf.cpython-310.pyc,sha256=APWQ5-zKgbEcMnkv6Hxgj_Q46jpnuOyL9YbSrj6Z5Vw,204
9
9
  cmeel.prefix/lib/python3.10/site-packages/placo_utils/__pycache__/visualization.cpython-310.pyc,sha256=csu-iQsBSz2cD40662EShITueJ9_KY5jhSLqDlItRew,6485
10
- placo-0.5.4.dist-info/license/LICENSE,sha256=q2bBXvk4Eh7TmP11LoIOIGSUuJbR30JBI6ZZ37g52T4,1061
11
- placo-0.5.4.dist-info/METADATA,sha256=mxHNjf_-xZkdGvU3-33pb0Ysbiicjeenvi9Pq2K-JrI,873
12
- placo-0.5.4.dist-info/WHEEL,sha256=y7GzdFHC0qrZwnE2SqFjrXxL9NLtXflO9hVb0PhWwIU,115
13
- placo-0.5.4.dist-info/top_level.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
- placo-0.5.4.dist-info/RECORD,,
10
+ placo-0.5.6.dist-info/license/LICENSE,sha256=q2bBXvk4Eh7TmP11LoIOIGSUuJbR30JBI6ZZ37g52T4,1061
11
+ placo-0.5.6.dist-info/METADATA,sha256=mals_hZHHdNB65FpfsA0WysvcpcChih7nmDj7IidE64,875
12
+ placo-0.5.6.dist-info/WHEEL,sha256=y7GzdFHC0qrZwnE2SqFjrXxL9NLtXflO9hVb0PhWwIU,115
13
+ placo-0.5.6.dist-info/top_level.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
+ placo-0.5.6.dist-info/RECORD,,
File without changes