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

read_measurement #1

Open
antr19 opened this issue Jul 17, 2019 · 1 comment
Open

read_measurement #1

antr19 opened this issue Jul 17, 2019 · 1 comment

Comments

@antr19
Copy link

antr19 commented Jul 17, 2019

Good afternoon! I set through a config two types of measurements, for example, Acceleration and Angular Velocity and start reading data through the console, everything is OK.
./mtdevice.py -c wr,af
./mtdevice.py
But if I call this in a separate program via functions:
mt.SetOutputConfiguration(get_output_config("wr,af "))
mt.read_measurement()
I only get one type of data - Angular Velocity. How to get the second data type - Acceleration?
Thanks)

@goldbattle
Copy link
Member

Does mtnode.py work for you? or does that also not produce any output?
It looks like the read measurement can take a mode and settings, I would take a look at the main method you are calling in mtdevice.py to see the differences.
https://github.com/rpng/xsens_standalone/blob/master/mtdevice.py#L1473-L1481

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

2 participants