ami-iit / liecasadi

Rigid transform using Lie groups and Dual Quaternions, written in CasADi!
BSD 3-Clause "New" or "Revised" License
56 stars 4 forks source link

Quaternion array handling #11

Open misofey opened 11 months ago

misofey commented 11 months ago

Is there a way for the SO3 class to be applied to not just one quaternion but to a whole array of them and be able to use all the functions like multiplication column-wise?

DanielePucci commented 11 months ago

CC @Giulero

Giulero commented 11 months ago

Sorry @misofey for the late reply! :) Actually, I never thought about this use case. For now it shouldn't be possible. I guess that a possible workaround could be to wrap the SO3 objects in a list and iterate on it. Could you provide an example?