petrikosk / rsruckig

Rust port of Ruckig trajectory generator
https://ruckig.com
MIT License
5 stars 4 forks source link

Implement dofs as const generic #1

Closed v-morlock closed 8 months ago

v-morlock commented 8 months ago

Hey! Thanks for putting in the work of porting ruckig to rust :) I found it a bit more convenient to have the DOFs as a const generic so i made a fork and changed that - just wanted, to let you know, in case that's something you'd consider merging. I can totally see why you'd want to keep this dynamic so feel free to close the PR otherwise.

petrikosk commented 8 months ago

Hi! Thanks for your contribution. I have planned similar changes, but with a difference that we could support both: const generics and dynamic DOFs, as I personally use this in an app, which needs the dynamic allocation, so this is why I need to support both.

Many thanks anyway for your work and I hope I can take advantage of it when I add const generic DOFs. I probably use a wrapper vector just like the C++ version does, to choose between stack/heap allocation.