Functions | |
def | squashing (model, data, q_in) |
Variables | |
list | constraint_datas = [cm.createData() for cm in constraint_models] |
constraint_dim = sum([cm.size() for cm in constraint_models]) | |
list | constraint_models = [] |
contact_model_lf1 | |
data = robot.data | |
int | eps = 1e-10 |
list | foot_frame_ids = [robot.model.getFrameId(frame_name) for frame_name in foot_frames] |
list | foot_frames = [lfFoot, rfFoot, lhFoot, rhFoot] |
list | foot_joint_ids |
gui = robot.viewer.gui | |
joint2_placement | |
kkt_constraint = pinocchio.ContactCholeskyDecomposition(model, constraint_models) | |
lfFoot | |
lhFoot | |
mass = data.mass[0] | |
model = robot.model | |
int | mu = 1e-8 |
int | N = 100000 |
q = robot.q0.copy() | |
q0 | |
def | q_new = squashing(model, data, robot.q0) |
q_sol = q.copy() | |
rfFoot | |
rhFoot | |
robot = example_robot_data.load("talos") | |
string | state_name = "half_sitting" |
window_id = robot.viewer.gui.getWindowID("python-pinocchio") | |
def talos-simulation.squashing | ( | model, | |
data, | |||
q_in | |||
) |
Definition at line 93 of file talos-simulation.py.
list talos-simulation.constraint_datas = [cm.createData() for cm in constraint_models] |
Definition at line 74 of file talos-simulation.py.
talos-simulation.constraint_dim = sum([cm.size() for cm in constraint_models]) |
Definition at line 80 of file talos-simulation.py.
list talos-simulation.constraint_models = [] |
Definition at line 34 of file talos-simulation.py.
talos-simulation.contact_model_lf1 |
Definition at line 37 of file talos-simulation.py.
talos-simulation.data = robot.data |
Definition at line 10 of file talos-simulation.py.
int talos-simulation.eps = 1e-10 |
Definition at line 82 of file talos-simulation.py.
list talos-simulation.foot_frame_ids = [robot.model.getFrameId(frame_name) for frame_name in foot_frames] |
Definition at line 26 of file talos-simulation.py.
Definition at line 25 of file talos-simulation.py.
list talos-simulation.foot_joint_ids |
Definition at line 27 of file talos-simulation.py.
talos-simulation.gui = robot.viewer.gui |
Definition at line 60 of file talos-simulation.py.
talos-simulation.joint2_placement |
Definition at line 48 of file talos-simulation.py.
talos-simulation.kkt_constraint = pinocchio.ContactCholeskyDecomposition(model, constraint_models) |
Definition at line 79 of file talos-simulation.py.
talos-simulation.lfFoot |
Definition at line 18 of file talos-simulation.py.
talos-simulation.lhFoot |
Definition at line 18 of file talos-simulation.py.
talos-simulation.mass = data.mass[0] |
Definition at line 90 of file talos-simulation.py.
talos-simulation.model = robot.model |
Definition at line 9 of file talos-simulation.py.
int talos-simulation.mu = 1e-8 |
Definition at line 83 of file talos-simulation.py.
int talos-simulation.N = 100000 |
Definition at line 81 of file talos-simulation.py.
talos-simulation.q = robot.q0.copy() |
Definition at line 76 of file talos-simulation.py.
talos-simulation.q0 |
Definition at line 14 of file talos-simulation.py.
Definition at line 157 of file talos-simulation.py.
talos-simulation.q_sol = q.copy() |
Definition at line 85 of file talos-simulation.py.
talos-simulation.rfFoot |
Definition at line 18 of file talos-simulation.py.
talos-simulation.rhFoot |
Definition at line 18 of file talos-simulation.py.
talos-simulation.robot = example_robot_data.load("talos") |
Definition at line 8 of file talos-simulation.py.
string talos-simulation.state_name = "half_sitting" |
Definition at line 12 of file talos-simulation.py.
talos-simulation.window_id = robot.viewer.gui.getWindowID("python-pinocchio") |
Definition at line 62 of file talos-simulation.py.