epfl-lasa / control-libraries

A collection of library modules to facilitate the creation of full control loop algorithms, including state representation, motion planning, kinematics, dynamics and control.
https://epfl-lasa.github.io/control-libraries
GNU General Public License v3.0
27 stars 2 forks source link

Add encode/decode option for shared pointer of State #287

Closed domire8 closed 2 years ago

domire8 commented 2 years ago

Here I add a feature that is required the modulo component refactor. It's three big switch cases to decode and encode shared pointers of State via pointer injection and dynamic cast.

The number of deletions are quite high because templated the tests quite a lot.

What I'm not sure is if I have to do something in python too or not. I guess not because all variables are already pointers in python?