Classes | Namespaces | Functions | Variables
cartpole.py File Reference

Go to the source code of this file.

Classes

class  cartpole.CartpoleDynamics
 
class  cartpole.PinocchioCasadi
 

Namespaces

 cartpole
 

Functions

def cartpole.integrate_no_control (x0, nsteps)
 
def cartpole.make_cartpole (ub=True)
 

Variables

 cartpole.a0 = cartpole.acc_func(q0, v, u)
 
 cartpole.cartpole = CartpoleDynamics(timestep=dt)
 
float cartpole.dt = 0.02
 
 cartpole.model = cartpole.model
 
 cartpole.q0 = np.array([0.0, 0.95, 0.01])
 
 cartpole.q_trajectory
 
def cartpole.qs_ = states_[: model.nq, :].T
 
def cartpole.states_ = integrate_no_control(x0, nsteps=400)
 
 cartpole.u = np.zeros(1)
 
 cartpole.v = np.zeros(model.nv)
 
 cartpole.viz
 
 cartpole.x0 = np.append(q0, v)
 
 cartpole.xnext = cartpole.forward(x0, u)
 


pinocchio
Author(s):
autogenerated on Thu Dec 19 2024 03:41:33