rapyuta-robotics / rclUE

Apache License 2.0
113 stars 29 forks source link

Is there an possibility to have an higher publish rate than the fps #140

Open LukasD97 opened 1 month ago

LukasD97 commented 1 month ago

Currently it seems like the maximum Publish rate of an Node is bound to the frame rate. Is there an option to allow higher pub rates?

yuokamoto commented 1 month ago

Currently there is no option to pub since it does not make sense update information higher than simulation update. Are there any use case to publish higher than frame rate?

james-yoo commented 1 month ago

Generally IMU sensor publish acceleration and gyro in high frequency(200hz, 400hz).

yuokamoto commented 1 month ago

hmm, I see but since it is higher than frame rate(higher than simulation world state update), it will result in publishing same contents in same frame. By customizing publisher, it can be possible to publish multiple times in one frame but not sure it make sense or not

LukasD97 commented 1 month ago

It makes sense to me because another plugin delivers data at a much higher rate. Is this an easy or difficult thing to achieve?

yuokamoto commented 1 month ago
LukasD97 commented 4 weeks ago

jsbsim plugin for flight simulation. Is this also possible in the blueprint, my project is build with blueprints?

yuokamoto commented 4 weeks ago

bp https://rclue.readthedocs.io/en/devel/examples/publisher_example.html#bp-publisher