Forum Replies Created
April 15, 2014 at 13:29 in reply to: Gyro readings corrupted! #4168
Thanks for support again!
Novak JostApril 14, 2014 at 20:06 in reply to: Gyro readings corrupted! #4165
it is true! Pulled latest sources and tested them. Gyro output now changes only twice per second (roughly). I am afraid you have created yet another bug!
Novak JostApril 14, 2014 at 07:24 in reply to: Gyro readings corrupted! #4155
just pulled your commits, will test later!
Thanks for your support.
Novak JostApril 11, 2014 at 07:24 in reply to: Gyro readings corrupted! #4143
I actually think that there is a problem with the UART driver. Most likely something to do with the CalcRawOffset() function in the UART class… it might be possible to figure out what “index” to use if the whole raw data set is read and plotted… then it should be possible to see what indexes match.
I examined exactly that part of the code, but i couldn’t figure out how indexing works… by UART driver you mean d_uart kernel driver written in C? or monobrick uart class?
I also tried recompiling d_uart module from git repository at https://github.com/mindboards/ev3sources
and replacing it with “your” d_uart module (same result)
Novak JostMarch 24, 2014 at 21:30 in reply to: GyroExample crashes #4069
I forgot to copy dll library.
RegardsMarch 24, 2014 at 11:28 in reply to: GyroExample crashes #4068
some extra info… Running compiled GyroExample form shell gives me this:
root@EV3:~# mono apps/GyroSensorExample2.exe
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type ‘GyroSensorExample.MainClass+<Main>c__AnonStorey0’ from assembly ‘GyroSensorExample, Version=1.0.5196.19288, Culture=neutral, PublicKeyToken=null’.March 24, 2014 at 10:04 in reply to: GyroExample crashes #4067
I had similar problem with colorSensorExample.
Program located on SD card worked properly, but compiled program crashed before printing anything.
After removing this line:
LcdConsole.WriteLine(“Sensor value: ” + sensor.ReadAsString());