I checked the function Update from the API to calculate the expected cycle time for a program.
I used the default parameters. The Update function returns:
[valid_instructions, program_time, program_distance, valid_ratio, readable_msg]
The second index should be the program time: Estimated cycle time (in seconds).
However, what I'm getting is the time to the first valid instruction, that can also be seen in the GUI, before the program starts it says 2.2 seconds, and the real time is updated later to 4.5 seconds, how can I know the real program time (cycle time) for the robot to complete the program?
I used the default parameters. The Update function returns:
[valid_instructions, program_time, program_distance, valid_ratio, readable_msg]
The second index should be the program time: Estimated cycle time (in seconds).
However, what I'm getting is the time to the first valid instruction, that can also be seen in the GUI, before the program starts it says 2.2 seconds, and the real time is updated later to 4.5 seconds, how can I know the real program time (cycle time) for the robot to complete the program?