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.abaInParallel(num_threads, pool, q, v, tau)
 
 res_rnea = np.empty((model.nv, batch_size))
 
 res_rnea2 = pin.rneaInParallel(num_threads, pool, q, v, a)
 
 tau = np.zeros((model.nv, batch_size))
 
 v = np.zeros((model.nv, batch_size))
 

Variable Documentation

◆ a

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

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

◆ batch_size

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

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

◆ model

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

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

◆ num_threads

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

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

◆ pool

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

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

◆ q

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

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

◆ res_aba

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

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

◆ res_aba2

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

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

◆ res_rnea

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

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

◆ res_rnea2

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

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

◆ tau

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

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

◆ v

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 Sun Dec 22 2024 03:41:16