544449

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Gyro stops updating #5586
    Author Image
    544449
    Participant

    Nevermind… it was cable problem…
    please delete

    in reply to: Gyro readings corrupted! #4161
    Author Image
    544449
    Participant

    Hey,
    I tried your new commit, but now it seems it updates like twice per second.

    (I copied new MonoBrickFirmware.dll)

    Attachments:
    You must be logged in to view attached files.
    in reply to: Gyro readings corrupted! #4140
    Author Image
    544449
    Participant

    Attached here is plot of color sensor and there appears to be similar problems.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Gyro readings corrupted! #4138
    Author Image
    544449
    Participant

    Have you tried to do a similar thing with the standard firmware?

    No, we haven’t tried to do same thing with standard firmware.

    It also appears that at 1ms sampling time every other sample is duplicated (or I just didn’t rotate gyro fast enough).

    below is the code that was used for measurements:

    using System;
    using System.Threading;
    using System.Collections.Generic;
    using System.Resources;
    using MonoBrickFirmware.Display;
    using MonoBrickFirmware.UserInput;
    using MonoBrickFirmware.Sensors;
    
    namespace GyroSensorExample
    {
    	class MainClass
    	{
    		public static void Main (string[] args)
    		{
    			var gyro = new EV3GyroSensor(SensorPort.In1, GyroMode.Angle);
    
                gyro.Reset();
                Thread.Sleep(1000);
                int x=0;
                do
                {
                    Console.WriteLine("{0:F}", gyro.Read());
                    Thread.Sleep(20);
                    x++;
                }
                while (x < 1000);
    		}
    	}
    }
    in reply to: Gyro readings corrupted! #4132
    Author Image
    544449
    Participant

    Hey, we’re teammates. I have attached three pictures and raw files at different sampling rates.

    Also what do you exactly mean by

    We have tried replacing gyro and examined monobrick gyro/uart code, but no successes…

    We have replaced gyro with one from the different EV3 set and results were the same. Jošt has also looked in the gyro drivers and he didn’t find any problems.

    best regards,

    Attachments:
    You must be logged in to view attached files.
Viewing 5 posts - 1 through 5 (of 5 total)
Posted in

Make a donation