Classes | Functions | Variables
dcrba Namespace Reference

Classes

class  Coriolis
 
class  DCRBA
 
class  DRNEA
 
class  VRNEA
 

Functions

def hessian (robot, q, crossterms=False)
 

Variables

 aq = rand(robot.model.nv)
 
 C
 
 coriolis = Coriolis(robot)
 
 dcrba = DCRBA(robot)
 
 dM
 
 dq = zero(robot.model.nv)
 
 drnea = DRNEA(robot)
 
int eps = 1e-6
 
 gravity
 
def H = hessian(robot, q)
 
 Htrue = np.zeros([6, robot.model.nv, robot.model.nv])
 
 Mp = dcrba()
 
 NV = robot.model.nv
 
 q = rand(robot.model.nq)
 
 Q = vrnea(q)
 
 qdq = pin.integrate(robot.model, q, dq)
 
 R = drnea(q, vq, aq)
 
 r0 = pin.rnea(robot.model, robot.data, q, vq, aq).copy()
 
 Rd = zero([NV, NV])
 
 rnea0 = lambda q, vq: pin.nle(robot.model, robot.data, q, vq)
 
 robot
 
 vq = rand(robot.model.nv)
 
int vq1 = vq * 0
 
 vrnea = VRNEA(robot)
 

Function Documentation

◆ hessian()

def dcrba.hessian (   robot,
  q,
  crossterms = False 
)
Compute the Hessian tensor of all the robot joints.
If crossterms, then also compute the Si x Si terms,
that are not part of the true Hessian but enters in some computations like VRNEA.

Definition at line 15 of file dcrba.py.

Variable Documentation

◆ aq

dcrba.aq = rand(robot.model.nv)

Definition at line 511 of file dcrba.py.

◆ C

dcrba.C
Initial value:
1 = np.zeros(
2  [
3  robot.model.nv,
4  ]
5  * 3
6  )

Definition at line 469 of file dcrba.py.

◆ coriolis

dcrba.coriolis = Coriolis(robot)

Definition at line 503 of file dcrba.py.

◆ dcrba

dcrba.dcrba = DCRBA(robot)

Definition at line 428 of file dcrba.py.

◆ dM

dcrba.dM
Initial value:
1 = np.zeros(
2  [
3  robot.model.nv,
4  ]
5  * 3
6  )

Definition at line 433 of file dcrba.py.

◆ dq

dcrba.dq = zero(robot.model.nv)

Definition at line 440 of file dcrba.py.

◆ drnea

dcrba.drnea = DRNEA(robot)

Definition at line 510 of file dcrba.py.

◆ eps

int dcrba.eps = 1e-6

Definition at line 439 of file dcrba.py.

◆ gravity

dcrba.gravity

Definition at line 466 of file dcrba.py.

◆ H

def dcrba.H = hessian(robot, q)

Definition at line 406 of file dcrba.py.

◆ Htrue

dcrba.Htrue = np.zeros([6, robot.model.nv, robot.model.nv])

Definition at line 410 of file dcrba.py.

◆ Mp

dcrba.Mp = dcrba()

Definition at line 430 of file dcrba.py.

◆ NV

dcrba.NV = robot.model.nv

Definition at line 514 of file dcrba.py.

◆ q

dcrba.q = rand(robot.model.nq)

Definition at line 399 of file dcrba.py.

◆ Q

dcrba.Q = vrnea(q)

Definition at line 463 of file dcrba.py.

◆ qdq

dcrba.qdq = pin.integrate(robot.model, q, dq)

Definition at line 447 of file dcrba.py.

◆ R

dcrba.R = drnea(q, vq, aq)

Definition at line 512 of file dcrba.py.

◆ r0

dcrba.r0 = pin.rnea(robot.model, robot.data, q, vq, aq).copy()

Definition at line 517 of file dcrba.py.

◆ Rd

dcrba.Rd = zero([NV, NV])

Definition at line 515 of file dcrba.py.

◆ rnea0

dcrba.rnea0 = lambda q, vq: pin.nle(robot.model, robot.data, q, vq)

Definition at line 467 of file dcrba.py.

◆ robot

dcrba.robot
Initial value:
1 = RobotWrapper(
2  "/home/nmansard/src/pinocchio/pinocchio/models/romeo/urdf/romeo.urdf",
3  [
4  "/home/nmansard/src/pinocchio/pinocchio/models/romeo/",
5  ],
6  pin.JointModelFreeFlyer(),
7  )

Definition at line 392 of file dcrba.py.

◆ vq

dcrba.vq = rand(robot.model.nv)

Definition at line 401 of file dcrba.py.

◆ vq1

int dcrba.vq1 = vq * 0

Definition at line 409 of file dcrba.py.

◆ vrnea

dcrba.vrnea = VRNEA(robot)

Definition at line 462 of file dcrba.py.



pinocchio
Author(s):
autogenerated on Sat Jun 1 2024 02:40:40