I fixed the problem:
Adding loop rate works and declaring my subscriber in the private section rather than in the function fixed it.
Sorry for the troubles.
I fixed the problem:
Adding loop rate works and declaring my subscriber in the private section rather than in the function fixed it.
Sorry for the troubles.