Ejemplo n.º 1
0
 def __init__(O, sites, masses):
     O.number_of_sites = len(sites)
     O.sum_of_masses = sum(masses)
     O.alignment = joint_lib.zero_dof_alignment()
     O.i_spatial = matrix.sqr([0] * 36)
     O.joint = joint_lib.zero_dof()
     O.qd = O.joint.qd_zero
Ejemplo n.º 2
0
 def __init__(O, sites, masses):
   O.number_of_sites = len(sites)
   O.sum_of_masses = sum(masses)
   O.alignment = joint_lib.zero_dof_alignment()
   O.i_spatial = matrix.sqr([0]*36)
   O.joint = joint_lib.zero_dof()
   O.qd = O.joint.qd_zero
Ejemplo n.º 3
0
 def __init__(O):
     O.alignment = joint_lib.zero_dof_alignment()
     O.i_spatial = matrix.sqr([0] * 36)
     O.joint = joint_lib.zero_dof()
     O.qd = O.joint.qd_zero
     assert O.joint.get_linear_velocity(qd=O.qd) is None
     assert O.joint.new_linear_velocity(qd=None, value=None) is None
     O.parent = -1
Ejemplo n.º 4
0
 def __init__(O):
   O.alignment = joint_lib.zero_dof_alignment()
   O.i_spatial = matrix.sqr([0]*36)
   O.joint = joint_lib.zero_dof()
   O.qd = O.joint.qd_zero
   assert O.joint.get_linear_velocity(qd=O.qd) is None
   assert O.joint.new_linear_velocity(qd=None, value=None) is None
   O.parent = -1