Example #1
0
 def timer_period_ns(self):
     val = _rclpy.rclpy_get_timer_period(self.timer_handle)
     self._timer_period_ns = val
     return val
Example #2
0
 def timer_period_ns(self):
     with self.handle as capsule:
         val = _rclpy.rclpy_get_timer_period(capsule)
     self._timer_period_ns = val
     return val
Example #3
0
File: timer.py Project: ros2/rclpy
 def timer_period_ns(self):
     val = _rclpy.rclpy_get_timer_period(self.timer_handle)
     self._timer_period_ns = val
     return val