-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConstraintFunction simplification #20
Comments
Hum good question... In the distant past, that is to say 783e8ba, |
I agree with Hervé. I'm still pretty sure we can find some weird
constraint/tasks that can compute efficiently multiple type of constraint.
Also what is the advantage to remove this feature ? The only one I see it's
to be able to compile with old visual studio version that don't support
variadic template.
Did you see other advantage ?
2017-01-13 2:23 GMT+01:00 Hervé Audren <[email protected]>:
… Hum good question... In the distant past, that is to say 783e8ba
<783e8ba>,
MotionConstr used to be a ConstraintFunction<Inequality, Bound>, which
made sense as we did not have GenInequality. I guess that this feature is
not really needed anymore, but the question is: do we see some possible
uses for it in the future ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAvh0-WC5AUfNcl0Ji79KSNbKlbFVY4dks5rRtIYgaJpZM4Lhyc0>
.
|
It is only a matter of simplification and readability, nothing more. It can also help a bit to reduce compilation times. I'm not sold on the fact that we will need to address weird corner cases in Tasks. In my understanding, Tasks is dealing with low-level constraints and having composite constraints would be dealt with at the mc_rtc/mc_ros level.
|
Is there some cases where ConstraintFunction here is templated by multiple classes. There are no such case in Tasks and I could find one in client code either.
Getting rid of the variadic template gives a much simpler code:
The impact on client code is minimal to non-existent. At worse, it is a matter of removing a few ...
The text was updated successfully, but these errors were encountered: