Skip to content

Use Eigen::Ref<Eigen vectorXd> in robot state for better performance?#4

Open
JeroenDM wants to merge 3 commits intomasterfrom
eigen-vectorxd-reference
Open

Use Eigen::Ref<Eigen vectorXd> in robot state for better performance?#4
JeroenDM wants to merge 3 commits intomasterfrom
eigen-vectorxd-reference

Conversation

@JeroenDM
Copy link
Owner

@JeroenDM JeroenDM commented Jul 27, 2020

Could give better performance according to:
https://eigen.tuxfamily.org/dox/TopicFunctionTakingEigenTypes.html

In the benchmark script, I also had a version that passed it to a function that calculates forward kinematics, adding another layer of passing an Eigen::VectorXd, but this commit got lost in incautious use of git rebase :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant