Open danfergo opened 4 years ago
Spinning should not be necessary for handling publications, only subscriptions require that in roscpp
.
Not saying it didn't appear to resolve your issue, but it would seem like a deviation from how the API is to be used.
We also have a ros::spin()
in the main node:
that should take care of this as well.
Can you provide a little more information on your system, robot controller, versions of relevant components (ie: Polyscope, ur_modern_driver
, etc)?
Hi everyone,
I'm using the kinetic-devel branch with ROS melodic. I'm launching the driver by with
I was trying to subscribe/echo'ing the /wrench topic but without success. After debugging the rt_publisher.cpp file, I found that the publisher was being called, but the messages weren't being published/received. So, I added "spinOnce" wasn't being called, so I updated the publish method.
Changed,
To.
Don't know if this was the best way of solving the issue, but it worked in my case.