Skip to content

Python bindings: Support element-wise assignment #258

Description

@nhallez

When using Ruckig's Python bindings, direct element-wise assignment to array attributes is not supported, requiring verbose workarounds.

This example has no effect:

input.target_position[0] = 0.5

Users must reassign the entire array:

input.target_position = [0.5, 0, 0]

It seems to be an issue related to nanobind.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions