Closed edantec closed 1 month ago
Addendum: this problem has been encountered before and was supposedly solved by this commit: 81dc2332a05cb71bad4d3bf49cb81a2fd25c62dd The switch from vector to map of components probably caused the problem to arise again.
This is my fault, I forgot to overload the base_get_item in the map visitor... 🤦🏼♂️ This is an upstream problem in eigenpy now
Okay, we need to fix this like today
I just pushed on devel @edantec
Resolved by 36c4639c
Bug description
In Python, the SetReference function of residuals does not work in some cases, probably because the bindings return a copy of the object somewhere instead of a reference.
Expected behavior
When holding a CostStack object in Python containing a residual, we should be able to modify the corresponding residual reference.
Code
Additional context
Macro
ALIGATOR_EIGENPY_HAS_MAP_SUPPORT
is on.System