Esempio n. 1
0
 def timer_period_ns(self):
     val = _rclpy.rclpy_get_timer_period(self.timer_handle)
     self._timer_period_ns = val
     return val
Esempio n. 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
Esempio n. 3
0
File: timer.py Progetto: ros2/rclpy
 def timer_period_ns(self):
     val = _rclpy.rclpy_get_timer_period(self.timer_handle)
     self._timer_period_ns = val
     return val