simulation-inverted-pendulum.a = pin.aba(model, data_sim, q, v, tau_control) |
Definition at line 97 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.body_inertia = pin.Inertia.FromSphere(body_mass, body_radius) |
Definition at line 30 of file simulation-inverted-pendulum.py.
float simulation-inverted-pendulum.body_mass = 1.0 |
Definition at line 16 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.body_placement = joint_placement.copy() |
Definition at line 31 of file simulation-inverted-pendulum.py.
float simulation-inverted-pendulum.body_radius = 0.1 |
Definition at line 17 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.data_sim = model.createData() |
Definition at line 94 of file simulation-inverted-pendulum.py.
float simulation-inverted-pendulum.dt = 0.01 |
Definition at line 83 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.geom0_obj = pin.GeometryObject("base", 0, pin.SE3.Identity(), shape0) |
Definition at line 20 of file simulation-inverted-pendulum.py.
string simulation-inverted-pendulum.geom1_name = "ball_" + str(k + 1) |
Definition at line 35 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.geom1_obj = pin.GeometryObject(geom1_name, joint_id, body_placement, shape1) |
Definition at line 37 of file simulation-inverted-pendulum.py.
string simulation-inverted-pendulum.geom2_name = "bar_" + str(k + 1) |
Definition at line 41 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.geom2_obj = pin.GeometryObject(geom2_name, joint_id, shape2_placement, shape2) |
Definition at line 46 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.geom_model = pin.GeometryModel() |
Definition at line 12 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.joint_id |
Definition at line 26 of file simulation-inverted-pendulum.py.
string simulation-inverted-pendulum.joint_name = "joint_" + str(k + 1) |
Definition at line 25 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.joint_placement = pin.SE3.Identity() |
Definition at line 15 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.meshColor |
Definition at line 21 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.model = pin.Model() |
Definition at line 11 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.N = 10 |
Definition at line 10 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.parent_id = 0 |
Definition at line 14 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.q = pin.randomConfiguration(model) |
Definition at line 90 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.q0 = pin.neutral(model) |
Definition at line 79 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.shape0 = fcl.Sphere(body_radius) |
Definition at line 19 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.shape1 = fcl.Sphere(body_radius) |
Definition at line 36 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.shape2 = fcl.Cylinder(body_radius / 4.0, body_placement.translation[2]) |
Definition at line 42 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.shape2_placement = body_placement.copy() |
Definition at line 43 of file simulation-inverted-pendulum.py.
int simulation-inverted-pendulum.T = 5 |
Definition at line 84 of file simulation-inverted-pendulum.py.
float simulation-inverted-pendulum.t = 0.0 |
Definition at line 93 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.tau_control = np.zeros(model.nv) |
Definition at line 96 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.v = np.zeros(model.nv) |
Definition at line 91 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.visual_model = geom_model |
Definition at line 54 of file simulation-inverted-pendulum.py.
simulation-inverted-pendulum.viz = GepettoVisualizer(model, geom_model, visual_model) |
Definition at line 55 of file simulation-inverted-pendulum.py.