unitree_sdk2_python/unitree_sdk2py/test/platform/test_timerfd.py

9 lines
152 B
Python

from unitree_sdk2py.utils.hz_sample import HZSample
if __name__ == "__main__":
hz=HZSample(2)
hz.Start()
while True:
hz.Sample()