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

Device.GyroRate not working? #26

Open
GoogleCodeExporter opened this issue Jul 31, 2015 · 1 comment
Open

Device.GyroRate not working? #26

GoogleCodeExporter opened this issue Jul 31, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Connect the EV3 brick by USB
2. Run the command: gyrorate = b.inputReadSI(0,Device.Port2,Device.GyroRate);
3. The value is NaN. Doesn't matter if the robot is moving or not, it is always 
NaN. It also tends to reset the Gyro Angle every time it runs.

What is the expected output? What do you see instead?
The command should give the value of the gyro rate. If stationary, it should 
give zero. But it always gives NaN.

What version of the product are you using? On what operating system?
I am using QUT EV3 MATLAB toolkit, current version on Windows 7 64 bit with 
MATLAB R2013a. Other functions seem to work fine.

Please provide any additional information below.


Original issue reported on code.google.com by sarim.ut...@gmail.com on 3 Oct 2014 at 6:51

@GoogleCodeExporter
Copy link
Author

Just to make it clear, I have checked the connections etc. The Device.GyroAng 
works fine, so I am sure Gyro sensor is connected to the port I am using there.

Original comment by sarim.ut...@gmail.com on 3 Oct 2014 at 6:52

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

No branches or pull requests

1 participant