WrappedTypesupport private
aboseley opened this issue · 4 comments
aboseley commented
I got stuck today trying to write a generic node subscribe function because the WrappedTypesupport
trait is private. All the ROS types I was using implemented this trait because they were auto-generated messages type. So this feels like something I should be able to do, but was blocked unnecessarily
kristoferB commented
Good suggestion. When do you plan to implement this trait manually?
lopsided98 commented
I'm running into the same problem with WrappedServiceTypeSupport
. I'm not implementing the trait manually; I would like to write a function that takes a generic service Client
as a parameter, like this:
fn some_function<T: r2r::msg_types::WrappedServiceTypeSupport>(client: r2r::Client<T>) {
}
m-dahl commented
I agree that it would be useful. I will take a look at this next week. Should be a simple fix.
m-dahl commented
Hi. These should now be accessible in 0.6.5.