Esempio n. 1
0
 def timer_period_ns(self, value):
     val = int(value)
     _rclpy.rclpy_change_timer_period(self.timer_handle, val)
     self._timer_period_ns = val
Esempio n. 2
0
 def timer_period_ns(self, value):
     val = int(value)
     with self.handle as capsule:
         _rclpy.rclpy_change_timer_period(capsule, val)
     self._timer_period_ns = val
Esempio n. 3
0
File: timer.py Progetto: ros2/rclpy
 def timer_period_ns(self, value):
     val = int(value)
     _rclpy.rclpy_change_timer_period(self.timer_handle, val)
     self._timer_period_ns = val