as2fm.jani_generator.ros_helpers.ros_timer.get_gcd_of_timer_periods

as2fm.jani_generator.ros_helpers.ros_timer.get_gcd_of_timer_periods(timers: List[RosTimer]) Tuple[int, str]

Get the greatest common divider of the time periods from the provided ROS timers.

Parameters:

timers – The list of ROS timers.

Returns:

The time step and time unit resulting from the GCD of the timers periods.