Skip to content

ArenaMatrix not exposed to Python #381

@pierfabre

Description

@pierfabre

Bug description

The ArenaMatrix type is not exposed to Python.

Reproduction steps

Code

import aligator

...

problem = aligator.TrajOptProblem(space.neutral(), stages, term_cost)
solver = aligator.SolverProxDDP(tol, mu_init, verbose=aligator.VERBOSE)
solver.setup(problem)
solver.run(problem)

first_stage = solver.workspace.lqr_problem.stages[0]
A = first_stage.A

Error

TypeError: No Python class registered for C++ class aligator::ArenaMatrix<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 16>

System

  • OS: Ubuntu 24.04.3
  • aligator version: 0.17.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions