[ros-users] [Discourse.ros.org] [Next Generation ROS] Absolu…

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: janismac via ros-users
日付:  
To: ros-users
CC: janismac
題目: [ros-users] [Discourse.ros.org] [Next Generation ROS] Absolute timers in RSO2


Is it possible to have absolute timers in ROS2? For example if the period is 60sec, I need the timer to trigger when the system clock reads "xx:xx:00", i.e., on the full minute.

I tried to dig through the source behind `rclcpp::Node::create_wall_timer` but could not find an answer.

If that is not possible, I would build my own using `timerfd_create()` and `TFD_TIMER_ABSTIME`. Any tips on how to integrate that properly with ROS2?





---
[Visit Topic](https://discourse.ros.org/t/absolute-timers-in-rso2/3922/1) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>