Jošt Novak

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Gyro readings corrupted! #4168
    Author Image
    Jošt Novak
    Participant

    tested, works

    Thanks for support again!

    Regards,
    Novak Jost

    in reply to: Gyro readings corrupted! #4165
    Author Image
    Jošt Novak
    Participant

    Hello,

    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!

    Regards,
    Novak Jost

    in reply to: Gyro readings corrupted! #4155
    Author Image
    Jošt Novak
    Participant

    Thats great,

    just pulled your commits, will test later!
    Thanks for your support.

    Regards,
    Novak Jost

    in reply to: Gyro readings corrupted! #4143
    Author Image
    Jošt Novak
    Participant

    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.

    Anders

    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)

    Regards,
    Novak Jost

    in reply to: GyroExample crashes #4069
    Author Image
    Jošt Novak
    Participant

    Solved!

    I forgot to copy dll library.

    Regards

    in reply to: GyroExample crashes #4068
    Author Image
    Jošt Novak
    Participant

    some extra info… Running compiled GyroExample form shell gives me this:

    root@EV3:~# mono apps/GyroSensorExample2.exe

    Unhandled Exception:
    mono() [0x108e18]
    mono() [0x109208]
    mono() [0x109eec]
    mono() [0x10ad14]
    mono(mono_arm_throw_exception+0xf0) [0x15cdfc]

    [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’.

    in reply to: GyroExample crashes #4067
    Author Image
    Jošt Novak
    Participant

    Another thing:

    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());
    Program worked.

    Regards

Viewing 7 posts - 1 through 7 (of 7 total)
Posted in

Make a donation