Significance of mathematical operation in solution exercise 2.3

Hi,

What is the significance of ‘t = (rospy.Time.now().to_sec() * math.pi)*turning_speed_rate’
in the solution of exercise 2.3. Does it really lead to an angular speed of 2 radians/s?

Thanks in advance.

Hi,

Its just a way of making it turn certain radians at a certain speed. Its not 2 radians perfectly, it was just a fast way of doing this