How do you initialize ecal in a class? #1517
rlewkowicz
started this conversation in
General
Replies: 1 comment 1 reply
-
Hi @rlewkowicz, This is why we deleted the respective operators. However, this means, as the Publisher is part of your Better code would be:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not a great c++ dev, I used ecal about 2 years ago and am playing with it now. I remember this last time. Before I go into a main loop I have a class:
And I want to initialize this and then use send later to publish.
Mouse mouse = Mouse();
I'll go dig my old code but I recall this being a pain and I had to do goofy stuff to get this to work. What is the idiomatic way to initialize ecal?
Beta Was this translation helpful? Give feedback.
All reactions