Go to the source code of this file.
|
| codegen-rnea.code = handler.generateCode(langC, jac, nameGen, "source") |
|
| codegen-rnea.data = model.createData() |
|
| codegen-rnea.fun = ADCGFun(x, y) |
|
| codegen-rnea.handler = CodeHandler(50) |
|
| codegen-rnea.indVars = np.array([CG(1.0)] * (nq + nv + nv)) |
|
| codegen-rnea.jac = fun.Jacobian(indVars) |
|
| codegen-rnea.langC = LanguageC("double", 3) |
|
| codegen-rnea.model = cgpin.Model(pinmodel) |
|
| codegen-rnea.nameGen = LangCDefaultVariableNameGenerator("y", "x", "v", "array", "sarray") |
|
| codegen-rnea.nq = model.nq |
|
| codegen-rnea.nv = model.nv |
|
| codegen-rnea.pinmodel = pin.buildSampleModelHumanoidRandom() |
|
| codegen-rnea.x = np.array([ADCG(CG(0.0))] * (nq + nv + nv)) |
|
| codegen-rnea.y = cgpin.rnea(model, data, x[:nq], x[nq : nq + nv], x[nq + nv :]) |
|