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

muronglindong's profile - activity

2023-08-05 11:36:36 -0500 asked a question Why the joy node cannot work well using launch file while it works well using ros2 run?

Why the joy node cannot work well using launch file while it works well using ros2 run? Hi, I use ROS2 humble for develo

2022-11-04 04:52:13 -0500 received badge  Teacher (source)
2022-07-04 12:15:20 -0500 received badge  Famous Question (source)
2021-12-15 20:26:24 -0500 received badge  Notable Question (source)
2021-12-06 15:06:08 -0500 marked best answer /clock rate is lower than set in ROS2 Gazebo

I changed publish_rate and /clock rate was changed successfully, but the rate is lower than set. For example, when I changed it to 1000Hz, which can be achieved in ROS Noetic, the result shows:

average rate: 683.508
    min: 0.001s max: 0.003s std dev: 0.00051s window: 686
average rate: 663.025
    min: 0.000s max: 0.004s std dev: 0.00051s window: 1329
average rate: 657.239
    min: 0.000s max: 0.004s std dev: 0.00051s window: 1976
average rate: 649.790
    min: 0.000s max: 0.004s std dev: 0.00052s window: 2604
average rate: 649.542
    min: 0.000s max: 0.007s std dev: 0.00053s window: 3253
average rate: 642.903
    min: 0.000s max: 0.007s std dev: 0.00053s window: 3863

And changing to 500hz gets a result about 400Hz, changing to 100Hz gets a result about 95Hz.

This problem may lead to another problem that other publisher's rate is lower too. For example, I created a publisher with 100Hz, but it published at a lower rate. And /clock rate is lower, the publisher's rate is lower too.

So how to solve this problem? All programs written in C++. Thanks!

2021-12-06 03:41:47 -0500 edited question /clock rate is lower than set in ROS2 Gazebo

/clock rate is lower than set in ROS2 Gazebo I changed publish_rate and /clock rate was changed successfully, but the ra

2021-12-06 03:40:08 -0500 commented answer /clock rate is lower than set in ROS2 Gazebo

Thank you, I learned the tutorials, but it doesn't seem work. I'm still trying to find some ways...

2021-11-17 14:40:01 -0500 received badge  Popular Question (source)
2021-11-16 05:22:15 -0500 received badge  Student (source)
2021-11-16 05:22:11 -0500 received badge  Favorite Question (source)
2021-11-16 01:09:10 -0500 edited question /clock rate is lower than set in ROS2 Gazebo

/clock rate is lower than set in ROS2 Gazebo I changed publish_rate and /clock rate was changed successfully, but the ra

2021-11-14 20:21:48 -0500 edited question /clock rate is lower than set in ROS2 Gazebo

/clock rate is lower than set in ROS2 Gazebo I changed publish_rate and /clock rate was changed successfully, but the ra

2021-11-14 20:07:48 -0500 edited answer Change /clock rate in ROS 2 Gazebo

You can try as this link shows: https://github.com/robotlabor-education/robotwiki/wiki/[Simulation][Gazebo]-Gazebo-simul

2021-11-14 20:05:53 -0500 asked a question /clock rate is lower than set in ROS2 Gazebo

/clock rate is lower than set in ROS2 Gazebo I changed publish_rate and /clock rate was changed successfully, but the ra

2021-11-14 20:00:16 -0500 received badge  Notable Question (source)
2021-11-14 20:00:16 -0500 received badge  Popular Question (source)
2021-11-14 19:45:05 -0500 answered a question Change /clock rate in ROS 2 Gazebo

You can try as this link shows: https://github.com/robotlabor-education/robotwiki/wiki/[Simulation][Gazebo]-Gazebo-simul

2021-07-08 14:26:22 -0500 received badge  Famous Question (source)
2021-06-13 00:59:57 -0500 received badge  Notable Question (source)
2021-06-12 12:24:09 -0500 commented answer How to import modules using ros noetic with python3?

Thank you for answering my question. I learned relative imports but not quite understand. Anyway, test1.py can be runned

2021-06-12 11:45:04 -0500 received badge  Popular Question (source)
2021-06-12 11:40:35 -0500 commented answer How to import modules using ros noetic with python3?

Thank you for answering my question. I learned relative imports but not quite understand. Anyway, test1.py can be runned

2021-06-12 11:39:31 -0500 edited question How to import modules using ros noetic with python3?

How to import modules using ros noetic with python3? Hello, I'm new in ROS. When using ROS noetic with python, I can't i

2021-06-12 11:38:56 -0500 edited question How to import modules using ros noetic with python3?

How to import modules using ros noetic with python3? Hello, I'm new in ROS. When using ROS noetic with python, I can't i

2021-06-12 11:38:29 -0500 edited question How to import modules using ros noetic with python3?

How to import modules using ros noetic with python3? Hello, I'm new in ROS. When using ROS noetic with python, I can't i

2021-06-12 11:37:30 -0500 edited question How to import modules using ros noetic with python3?

How to import modules using ros noetic with python3? Hello, I'm new in ROS. When using ROS noetic with python, I can't i

2021-06-12 11:36:15 -0500 commented answer How to import modules using ros noetic with python3?

Thank you for answering my question. I learned relative imports but not quite understand. Anyway, test1.py can be runned

2021-06-11 22:44:04 -0500 edited question How to import modules using ros noetic with python3?

How to import modules using ros noetic with python3? Hello, I'm new in ROS. When using ROS noetic with python, I can't i

2021-06-11 22:43:23 -0500 edited question How to import modules using ros noetic with python3?

How to import modules using ros noetic with python3? Hello, I'm new in ROS. When using ROS noetic with python, I can't i

2021-06-11 22:43:23 -0500 received badge  Editor (source)
2021-06-11 12:07:54 -0500 edited question How to import modules using ros noetic with python3?

How to import modules using ros noetic with python3? Hello, I'm new in ROS. When using ROS noetic with python, I can't i

2021-06-11 12:07:01 -0500 asked a question How to import modules using ros noetic with python3?

How to import modules using ros noetic with python3? Hello, I'm new in ROS. When using ROS noetic with python, I can't i

2021-05-17 06:58:03 -0500 received badge  Enthusiast
2021-05-13 11:19:46 -0500 asked a question catkin_make doesn't work without any errors or warnings and functions can't be imported

catkin_make doesn't work without any errors or warnings and functions can't be imported Hello, I am using ROS noetic on