Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'SampleTimeFine' #46

Open
wujiang opened this issue Dec 21, 2018 · 1 comment
Open

KeyError: 'SampleTimeFine' #46

wujiang opened this issue Dec 21, 2018 · 1 comment

Comments

@wujiang
Copy link

wujiang commented Dec 21, 2018

Device: MTi-30
Firmware: 1.7.2

Error:

Traceback (most recent call last):
  File "/home/nvidia/labs-scv/src/xsens_driver/src/mtnode.py", line 400, in <module>
    main()
  File "/home/nvidia/labs-scv/src/xsens_driver/src/mtnode.py", line 396, in main
    driver.spin()
  File "/home/nvidia/labs-scv/src/xsens_driver/src/mtnode.py", line 131, in spin
    self.spin_once()
  File "/home/nvidia/labs-scv/src/xsens_driver/src/mtnode.py", line 211, in spin_once
    time = time_data['SampleTimeFine']
KeyError: 'SampleTimeFine'

Inspected data, got this

{'Status': {'StatusWord': 3}, 'Timestamp': {'PacketCounter': 23041}, 'Orientation Data': {'Q1': -0.0018019694834947586, 'Q0': 0.1061224490404129, 'Q3': -0.9943498969078064, 'Q2': -0.001756915939040482}}
@wujiang
Copy link
Author

wujiang commented Dec 21, 2018

I had to uncheck and check Sample Time Fine in MT manager's output config window to get rid of this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant