Reported by sarim.utoledo, Oct 3, 2014
What steps will reproduce the problem?
Connect the EV3 brick by USB
Run the command: gyrorate = b.inputReadSI(0,Device.Port2,Device.GyroRate);
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.
Oct 3, 2014 Delete comment #1 sarim.utoledo
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.
Reported by sarim.utoledo, Oct 3, 2014 What steps will reproduce the problem?
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.
Oct 3, 2014 Delete comment #1 sarim.utoledo 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.