Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
2 answers
75 views

Calling publisher at a specific rate

Hi, I have a node that subscribes to a topic, does some computation and publishes the message on a different topic. The publish is implemented within subscriber callback function. While the subscribed ...
user avatar
0 votes
1 answer
119 views

/joint_states topic and publish rate

I want to read the joint states of a robot from the /joint_states topic, preferably at 1kHz. The problem is that when I increase the publishing rate X of the joint ...
user avatar
0 votes
1 answer
40 views

rostopic hz output more than real frequency

Hi All, I have a callback function that takes point clouds from a openni device at a frequency of 30 Hz. Inside that function I do some computations with it and then I publish the outcome of my ...
user avatar
0 votes
1 answer
23 views

Wrong publishing rate using ros::Rate

Hi, I was trying to use ros::Rate to control the publishing rate. However for some reason, the publishing rate obtained is not the one I expected. Here's my code: ...
user avatar