ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

drone_lab's profile - activity

2021-06-15 01:12:59 -0500 received badge  Famous Question (source)
2021-05-07 08:26:10 -0500 received badge  Notable Question (source)
2021-05-07 08:26:10 -0500 received badge  Popular Question (source)
2020-09-21 01:04:19 -0500 marked best answer How can I know the rate the publisher is sending a msg with c++?

I want to have a subscriber that is able to print the rate at which a message is being sent using C++, what is the best way to do it?

The subscriber works in a really slower rate than the publisher.

Edit :

The subscriber is defined in a different process that has its own loop rate and the publisher has its own loop rate too, so basically, the callback function of a subscriber is called when a message is published but with a maximum rate of the loop of the subscriber process. (I don't know if I've explained myself well)

2020-01-22 08:25:27 -0500 received badge  Notable Question (source)
2020-01-22 05:14:11 -0500 received badge  Popular Question (source)
2020-01-22 05:03:49 -0500 commented question How can I know the rate the publisher is sending a msg with c++?

Well, we want to get the rate as an information value, we work with drones and sometimes it's important to us to know th

2020-01-22 04:42:45 -0500 commented question How can I know the rate the publisher is sending a msg with c++?

That's a good approach, but the publisher rate is unknown to me and I don't want to create a node with a high spin rate

2020-01-22 04:28:22 -0500 commented answer How can I know the rate the publisher is sending a msg with c++?

Yes, I know about that command, but what I'm trying to do is an interface that shows specific information to the user. I

2020-01-22 04:09:52 -0500 asked a question How can I know the rate the publisher is sending a msg with c++?

How can I know the rate the publisher is sending a msg with c++? I want to have a subscriber that is able to print the r

2019-11-19 06:17:41 -0500 asked a question Unable to do a rosservice call from a client machine to a server machine.

Unable to do a rosservice call from a client machine to a server machine. I have just configured everything to communica