Variables
run-algo-in-parallel Namespace Reference

Variables

 a = np.zeros((model.nv,batch_size))
 
int batch_size = 128
 
 model = pin.buildSampleModelHumanoid()
 
 num_threads = pin.omp_get_max_threads()
 
 pool = pin.ModelPool(model)
 
 q = np.empty((model.nq,batch_size))
 
 res_aba = np.empty((model.nv,batch_size))
 
 res_aba2 = pin.aba(num_threads,pool,q,v,tau)
 
 res_rnea = np.empty((model.nv,batch_size))
 
 res_rnea2 = pin.rnea(num_threads,pool,q,v,a)
 
 tau = np.zeros((model.nv,batch_size))
 
 v = np.zeros((model.nv,batch_size))
 

Variable Documentation

run-algo-in-parallel.a = np.zeros((model.nv,batch_size))

Definition at line 17 of file run-algo-in-parallel.py.

int run-algo-in-parallel.batch_size = 128

Definition at line 11 of file run-algo-in-parallel.py.

run-algo-in-parallel.model = pin.buildSampleModelHumanoid()

Definition at line 4 of file run-algo-in-parallel.py.

run-algo-in-parallel.num_threads = pin.omp_get_max_threads()

Definition at line 10 of file run-algo-in-parallel.py.

run-algo-in-parallel.pool = pin.ModelPool(model)

Definition at line 8 of file run-algo-in-parallel.py.

run-algo-in-parallel.q = np.empty((model.nq,batch_size))

Definition at line 12 of file run-algo-in-parallel.py.

run-algo-in-parallel.res_aba = np.empty((model.nv,batch_size))

Definition at line 29 of file run-algo-in-parallel.py.

run-algo-in-parallel.res_aba2 = pin.aba(num_threads,pool,q,v,tau)

Definition at line 31 of file run-algo-in-parallel.py.

run-algo-in-parallel.res_rnea = np.empty((model.nv,batch_size))

Definition at line 24 of file run-algo-in-parallel.py.

run-algo-in-parallel.res_rnea2 = pin.rnea(num_threads,pool,q,v,a)

Definition at line 26 of file run-algo-in-parallel.py.

run-algo-in-parallel.tau = np.zeros((model.nv,batch_size))

Definition at line 18 of file run-algo-in-parallel.py.

run-algo-in-parallel.v = np.zeros((model.nv,batch_size))

Definition at line 16 of file run-algo-in-parallel.py.



pinocchio
Author(s):
autogenerated on Tue Jun 1 2021 02:45:06