can you add a loop_rate.sleep here? should be enough if we run this with a frequency of 3hz.