placo 0.4.9__0-cp310-cp310-manylinux_2_35_x86_64.whl → 0.5.1__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.
- cmeel.prefix/lib/liblibplaco.so +0 -0
- cmeel.prefix/lib/python3.10/site-packages/placo.pyi +151 -5
- cmeel.prefix/lib/python3.10/site-packages/placo.so +0 -0
- cmeel.prefix/lib/python3.10/site-packages/placo_utils/__pycache__/visualization.cpython-310.pyc +0 -0
- {placo-0.4.9.dist-info → placo-0.5.1.dist-info}/METADATA +1 -1
- {placo-0.4.9.dist-info → placo-0.5.1.dist-info}/RECORD +9 -9
- {placo-0.4.9.dist-info → placo-0.5.1.dist-info}/WHEEL +0 -0
- {placo-0.4.9.dist-info → placo-0.5.1.dist-info}/license/LICENSE +0 -0
- {placo-0.4.9.dist-info → placo-0.5.1.dist-info}/top_level.txt +0 -0
cmeel.prefix/lib/liblibplaco.so
CHANGED
|
Binary file
|
|
@@ -52,6 +52,7 @@ KinematicsSolver = typing.NewType("KinematicsSolver", None)
|
|
|
52
52
|
KineticEnergyRegularizationTask = typing.NewType("KineticEnergyRegularizationTask", None)
|
|
53
53
|
LIPM = typing.NewType("LIPM", None)
|
|
54
54
|
LIPMTrajectory = typing.NewType("LIPMTrajectory", None)
|
|
55
|
+
ManipulabilityTask = typing.NewType("ManipulabilityTask", None)
|
|
55
56
|
OrientationTask = typing.NewType("OrientationTask", None)
|
|
56
57
|
PointContact = typing.NewType("PointContact", None)
|
|
57
58
|
PolygonConstraint = typing.NewType("PolygonConstraint", None)
|
|
@@ -2206,6 +2207,10 @@ class DynamicsSolver:
|
|
|
2206
2207
|
) -> DynamicsSolverResult:
|
|
2207
2208
|
...
|
|
2208
2209
|
|
|
2210
|
+
torque_cost: float # double
|
|
2211
|
+
"""Cost for torque regularization.
|
|
2212
|
+
"""
|
|
2213
|
+
|
|
2209
2214
|
|
|
2210
2215
|
class DynamicsSolverResult:
|
|
2211
2216
|
def __init__(
|
|
@@ -2220,6 +2225,8 @@ class DynamicsSolverResult:
|
|
|
2220
2225
|
|
|
2221
2226
|
tau: numpy.ndarray # Eigen::VectorXd
|
|
2222
2227
|
|
|
2228
|
+
tau_contacts: numpy.ndarray # Eigen::VectorXd
|
|
2229
|
+
|
|
2223
2230
|
def tau_dict(
|
|
2224
2231
|
arg1: DynamicsSolverResult,
|
|
2225
2232
|
arg2: RobotWrapper,
|
|
@@ -3256,6 +3263,13 @@ class HumanoidRobot:
|
|
|
3256
3263
|
"""Gets the CoM position in the world."""
|
|
3257
3264
|
...
|
|
3258
3265
|
|
|
3266
|
+
def compute_hessians(
|
|
3267
|
+
self: HumanoidRobot,
|
|
3268
|
+
|
|
3269
|
+
) -> None:
|
|
3270
|
+
"""Compute kinematics hessians."""
|
|
3271
|
+
...
|
|
3272
|
+
|
|
3259
3273
|
def dcm(
|
|
3260
3274
|
self: HumanoidRobot,
|
|
3261
3275
|
com_velocity: numpy.ndarray, # Eigen::Vector2d
|
|
@@ -3406,6 +3420,15 @@ class HumanoidRobot:
|
|
|
3406
3420
|
:return: Center of mass velocity"""
|
|
3407
3421
|
...
|
|
3408
3422
|
|
|
3423
|
+
def get_frame_hessian(
|
|
3424
|
+
self: HumanoidRobot,
|
|
3425
|
+
frame: any, # pinocchio::FrameIndex
|
|
3426
|
+
joint_v_index: int, # int
|
|
3427
|
+
|
|
3428
|
+
) -> numpy.ndarray:
|
|
3429
|
+
"""Get the component for the hessian of a given frame for a given joint."""
|
|
3430
|
+
...
|
|
3431
|
+
|
|
3409
3432
|
def get_joint(
|
|
3410
3433
|
self: HumanoidRobot,
|
|
3411
3434
|
name: str, # const std::string &
|
|
@@ -4351,6 +4374,23 @@ class KinematicsSolver:
|
|
|
4351
4374
|
:return: regularization task"""
|
|
4352
4375
|
...
|
|
4353
4376
|
|
|
4377
|
+
def add_manipulability_task(
|
|
4378
|
+
self: KinematicsSolver,
|
|
4379
|
+
frame: str, # std::string
|
|
4380
|
+
type: str = "both", # std::string
|
|
4381
|
+
lambda_: float = 1.0, # double
|
|
4382
|
+
|
|
4383
|
+
) -> ManipulabilityTask:
|
|
4384
|
+
"""Adds a manipulability regularization task for a given magnitude.
|
|
4385
|
+
|
|
4386
|
+
|
|
4387
|
+
:param frame: the reference frame
|
|
4388
|
+
|
|
4389
|
+
:param type: type (position, orientation or both)
|
|
4390
|
+
|
|
4391
|
+
:return: manipulability task"""
|
|
4392
|
+
...
|
|
4393
|
+
|
|
4354
4394
|
def add_orientation_task(
|
|
4355
4395
|
self: KinematicsSolver,
|
|
4356
4396
|
frame: str, # std::string
|
|
@@ -4383,6 +4423,17 @@ class KinematicsSolver:
|
|
|
4383
4423
|
:return: position task"""
|
|
4384
4424
|
...
|
|
4385
4425
|
|
|
4426
|
+
def add_q_noise(
|
|
4427
|
+
self: KinematicsSolver,
|
|
4428
|
+
noise: float = 1e-5, # double
|
|
4429
|
+
|
|
4430
|
+
) -> None:
|
|
4431
|
+
"""Adds some noise on the configuration of the robot (q)
|
|
4432
|
+
|
|
4433
|
+
|
|
4434
|
+
:param noise: noise level, expressed in ratio of the joint limits"""
|
|
4435
|
+
...
|
|
4436
|
+
|
|
4386
4437
|
def add_regularization_task(
|
|
4387
4438
|
self: KinematicsSolver,
|
|
4388
4439
|
magnitude: float = 1e-6, # double
|
|
@@ -4532,10 +4583,6 @@ class KinematicsSolver:
|
|
|
4532
4583
|
"""Decides if the floating base should be masked."""
|
|
4533
4584
|
...
|
|
4534
4585
|
|
|
4535
|
-
noise: float # double
|
|
4536
|
-
"""Some configuration noise added before solving.
|
|
4537
|
-
"""
|
|
4538
|
-
|
|
4539
4586
|
problem: Problem # placo::problem::Problem
|
|
4540
4587
|
"""The underlying QP problem.
|
|
4541
4588
|
"""
|
|
@@ -4816,6 +4863,89 @@ class LIPMTrajectory:
|
|
|
4816
4863
|
...
|
|
4817
4864
|
|
|
4818
4865
|
|
|
4866
|
+
class ManipulabilityTask:
|
|
4867
|
+
A: numpy.ndarray # Eigen::MatrixXd
|
|
4868
|
+
"""Matrix A in the task Ax = b, where x are the joint delta positions.
|
|
4869
|
+
"""
|
|
4870
|
+
|
|
4871
|
+
def __init__(
|
|
4872
|
+
self: ManipulabilityTask,
|
|
4873
|
+
frame_index: any, # pinocchio::FrameIndex
|
|
4874
|
+
type: any, # placo::kinematics::ManipulabilityTask::Type
|
|
4875
|
+
lambda: float = 1.0, # double
|
|
4876
|
+
|
|
4877
|
+
) -> any:
|
|
4878
|
+
...
|
|
4879
|
+
|
|
4880
|
+
b: numpy.ndarray # Eigen::MatrixXd
|
|
4881
|
+
"""Vector b in the task Ax = b, where x are the joint delta positions.
|
|
4882
|
+
"""
|
|
4883
|
+
|
|
4884
|
+
def configure(
|
|
4885
|
+
self: ManipulabilityTask,
|
|
4886
|
+
name: str, # std::string
|
|
4887
|
+
priority: any, # placo::kinematics::ConeConstraint::Priority
|
|
4888
|
+
weight: float = 1.0, # double
|
|
4889
|
+
|
|
4890
|
+
) -> None:
|
|
4891
|
+
"""Configures the object.
|
|
4892
|
+
|
|
4893
|
+
|
|
4894
|
+
:param name: task name
|
|
4895
|
+
|
|
4896
|
+
:param priority: task priority (hard, soft or scaled)
|
|
4897
|
+
|
|
4898
|
+
:param weight: task weight"""
|
|
4899
|
+
...
|
|
4900
|
+
|
|
4901
|
+
def error(
|
|
4902
|
+
self: ManipulabilityTask,
|
|
4903
|
+
|
|
4904
|
+
) -> numpy.ndarray:
|
|
4905
|
+
"""Task errors (vector)
|
|
4906
|
+
|
|
4907
|
+
|
|
4908
|
+
:return: task errors"""
|
|
4909
|
+
...
|
|
4910
|
+
|
|
4911
|
+
def error_norm(
|
|
4912
|
+
self: ManipulabilityTask,
|
|
4913
|
+
|
|
4914
|
+
) -> float:
|
|
4915
|
+
"""The task error norm.
|
|
4916
|
+
|
|
4917
|
+
|
|
4918
|
+
:return: task error norm"""
|
|
4919
|
+
...
|
|
4920
|
+
|
|
4921
|
+
lambda: float # double
|
|
4922
|
+
"""Importance of the hessian regularization.
|
|
4923
|
+
"""
|
|
4924
|
+
|
|
4925
|
+
manipulability: bool # bool
|
|
4926
|
+
"""The last computed manipulability value.
|
|
4927
|
+
"""
|
|
4928
|
+
|
|
4929
|
+
minimize: bool # bool
|
|
4930
|
+
"""Should the manipulability be minimized (can be useful to find singularities)
|
|
4931
|
+
"""
|
|
4932
|
+
|
|
4933
|
+
name: str # std::string
|
|
4934
|
+
"""Object name.
|
|
4935
|
+
"""
|
|
4936
|
+
|
|
4937
|
+
priority: any # placo::kinematics::ConeConstraint::Priority
|
|
4938
|
+
"""Object priority.
|
|
4939
|
+
"""
|
|
4940
|
+
|
|
4941
|
+
def update(
|
|
4942
|
+
self: ManipulabilityTask,
|
|
4943
|
+
|
|
4944
|
+
) -> None:
|
|
4945
|
+
"""Update the task A and b matrices from the robot state and targets."""
|
|
4946
|
+
...
|
|
4947
|
+
|
|
4948
|
+
|
|
4819
4949
|
class OrientationTask:
|
|
4820
4950
|
A: numpy.ndarray # Eigen::MatrixXd
|
|
4821
4951
|
"""Matrix A in the task Ax = b, where x are the joint delta positions.
|
|
@@ -5692,6 +5822,13 @@ class RobotWrapper:
|
|
|
5692
5822
|
"""Gets the CoM position in the world."""
|
|
5693
5823
|
...
|
|
5694
5824
|
|
|
5825
|
+
def compute_hessians(
|
|
5826
|
+
self: RobotWrapper,
|
|
5827
|
+
|
|
5828
|
+
) -> None:
|
|
5829
|
+
"""Compute kinematics hessians."""
|
|
5830
|
+
...
|
|
5831
|
+
|
|
5695
5832
|
def distances(
|
|
5696
5833
|
self: RobotWrapper,
|
|
5697
5834
|
|
|
@@ -5785,6 +5922,15 @@ class RobotWrapper:
|
|
|
5785
5922
|
:return: transformation"""
|
|
5786
5923
|
...
|
|
5787
5924
|
|
|
5925
|
+
def get_frame_hessian(
|
|
5926
|
+
self: RobotWrapper,
|
|
5927
|
+
frame: any, # pinocchio::FrameIndex
|
|
5928
|
+
joint_v_index: int, # int
|
|
5929
|
+
|
|
5930
|
+
) -> numpy.ndarray:
|
|
5931
|
+
"""Get the component for the hessian of a given frame for a given joint."""
|
|
5932
|
+
...
|
|
5933
|
+
|
|
5788
5934
|
def get_joint(
|
|
5789
5935
|
self: RobotWrapper,
|
|
5790
5936
|
name: str, # const std::string &
|
|
@@ -7302,4 +7448,4 @@ def wrap_angle(
|
|
|
7302
7448
|
...
|
|
7303
7449
|
|
|
7304
7450
|
|
|
7305
|
-
__groups__ = {'placo::dynamics': ['AvoidSelfCollisionsDynamicsConstraint', 'Contact', 'Contact6D', 'DynamicsCoMTask', 'DynamicsConstraint', 'DynamicsFrameTask', 'DynamicsGearTask', 'DynamicsJointsTask', 'DynamicsOrientationTask', 'DynamicsPositionTask', 'DynamicsReactionRatioConstraint', 'DynamicsRelativeFrameTask', 'DynamicsRelativeOrientationTask', 'DynamicsRelativePositionTask', 'DynamicsSolver', 'DynamicsSolverResult', 'DynamicsTask', 'DynamicsTorqueTask', 'ExternalWrenchContact', 'PointContact', 'PuppetContact', 'Relative6DContact', 'RelativePointContact', 'TaskContact'], 'placo::kinematics': ['AvoidSelfCollisionsKinematicsConstraint', 'AxisAlignTask', 'CentroidalMomentumTask', 'CoMPolygonConstraint', 'CoMTask', 'ConeConstraint', 'DistanceTask', 'FrameTask', 'GearTask', 'JointsTask', 'KinematicsConstraint', 'KinematicsSolver', 'KineticEnergyRegularizationTask', 'OrientationTask', 'PositionTask', 'RegularizationTask', 'RelativeFrameTask', 'RelativeOrientationTask', 'RelativePositionTask', 'Task', 'WheelTask'], 'placo::tools': ['AxisesMask', 'CubicSpline', 'CubicSpline3D', 'Prioritized'], 'placo::model': ['Collision', 'Distance', 'RobotWrapper', 'RobotWrapper_State'], 'placo::problem': ['Expression', 'Integrator', 'IntegratorTrajectory', 'PolygonConstraint', 'Problem', 'ProblemConstraint', 'QPError', 'Sparsity', 'SparsityInterval', 'Variable'], 'placo::humanoid': ['Footstep', 'FootstepsPlanner', 'FootstepsPlannerNaive', 'FootstepsPlannerRepetitive', 'HumanoidParameters', 'HumanoidRobot', 'LIPM', 'LIPMTrajectory', 'Support', 'SwingFoot', 'SwingFootCubic', 'SwingFootCubicTrajectory', 'SwingFootQuintic', 'SwingFootQuinticTrajectory', 'SwingFootTrajectory', 'WalkPatternGenerator', 'WalkTasks', 'WalkTrajectory']}
|
|
7451
|
+
__groups__ = {'placo::dynamics': ['AvoidSelfCollisionsDynamicsConstraint', 'Contact', 'Contact6D', 'DynamicsCoMTask', 'DynamicsConstraint', 'DynamicsFrameTask', 'DynamicsGearTask', 'DynamicsJointsTask', 'DynamicsOrientationTask', 'DynamicsPositionTask', 'DynamicsReactionRatioConstraint', 'DynamicsRelativeFrameTask', 'DynamicsRelativeOrientationTask', 'DynamicsRelativePositionTask', 'DynamicsSolver', 'DynamicsSolverResult', 'DynamicsTask', 'DynamicsTorqueTask', 'ExternalWrenchContact', 'PointContact', 'PuppetContact', 'Relative6DContact', 'RelativePointContact', 'TaskContact'], 'placo::kinematics': ['AvoidSelfCollisionsKinematicsConstraint', 'AxisAlignTask', 'CentroidalMomentumTask', 'CoMPolygonConstraint', 'CoMTask', 'ConeConstraint', 'DistanceTask', 'FrameTask', 'GearTask', 'JointsTask', 'KinematicsConstraint', 'KinematicsSolver', 'KineticEnergyRegularizationTask', 'ManipulabilityTask', 'OrientationTask', 'PositionTask', 'RegularizationTask', 'RelativeFrameTask', 'RelativeOrientationTask', 'RelativePositionTask', 'Task', 'WheelTask'], 'placo::tools': ['AxisesMask', 'CubicSpline', 'CubicSpline3D', 'Prioritized'], 'placo::model': ['Collision', 'Distance', 'RobotWrapper', 'RobotWrapper_State'], 'placo::problem': ['Expression', 'Integrator', 'IntegratorTrajectory', 'PolygonConstraint', 'Problem', 'ProblemConstraint', 'QPError', 'Sparsity', 'SparsityInterval', 'Variable'], 'placo::humanoid': ['Footstep', 'FootstepsPlanner', 'FootstepsPlannerNaive', 'FootstepsPlannerRepetitive', 'HumanoidParameters', 'HumanoidRobot', 'LIPM', 'LIPMTrajectory', 'Support', 'SwingFoot', 'SwingFootCubic', 'SwingFootCubicTrajectory', 'SwingFootQuintic', 'SwingFootQuinticTrajectory', 'SwingFootTrajectory', 'WalkPatternGenerator', 'WalkTasks', 'WalkTrajectory']}
|
|
Binary file
|
cmeel.prefix/lib/python3.10/site-packages/placo_utils/__pycache__/visualization.cpython-310.pyc
CHANGED
|
Binary file
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
cmeel.prefix/lib/liblibplaco.so,sha256=
|
|
2
|
-
cmeel.prefix/lib/python3.10/site-packages/placo.pyi,sha256=
|
|
3
|
-
cmeel.prefix/lib/python3.10/site-packages/placo.so,sha256=
|
|
1
|
+
cmeel.prefix/lib/liblibplaco.so,sha256=kYmavGX_1qQcl5M9nvkiHiVRQfzK1-tPB-UqtE3Ieqo,2604920
|
|
2
|
+
cmeel.prefix/lib/python3.10/site-packages/placo.pyi,sha256=r1m--2ext_65PTn2nwXZbVbP6Cv9jIWLjhP41soY7cI,155413
|
|
3
|
+
cmeel.prefix/lib/python3.10/site-packages/placo.so,sha256=FkGMrGgSlnMRXlqC5emhGClhCBGLZlWtK3WELuKgOWk,7593632
|
|
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
|
-
cmeel.prefix/lib/python3.10/site-packages/placo_utils/__pycache__/visualization.cpython-310.pyc,sha256=
|
|
10
|
-
placo-0.
|
|
11
|
-
placo-0.
|
|
12
|
-
placo-0.
|
|
13
|
-
placo-0.
|
|
14
|
-
placo-0.
|
|
9
|
+
cmeel.prefix/lib/python3.10/site-packages/placo_utils/__pycache__/visualization.cpython-310.pyc,sha256=csu-iQsBSz2cD40662EShITueJ9_KY5jhSLqDlItRew,6485
|
|
10
|
+
placo-0.5.1.dist-info/license/LICENSE,sha256=q2bBXvk4Eh7TmP11LoIOIGSUuJbR30JBI6ZZ37g52T4,1061
|
|
11
|
+
placo-0.5.1.dist-info/METADATA,sha256=9wlYzbI_O7Mdw6gQspfCckk3yj1v9o2fY_CJPHeiJOk,873
|
|
12
|
+
placo-0.5.1.dist-info/WHEEL,sha256=y7GzdFHC0qrZwnE2SqFjrXxL9NLtXflO9hVb0PhWwIU,115
|
|
13
|
+
placo-0.5.1.dist-info/top_level.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
|
+
placo-0.5.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|