Forum Replies Created
-
AuthorPosts
-
544449ParticipantNevermind… it was cable problem…
please delete
544449ParticipantHey,
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.
544449ParticipantAttached here is plot of color sensor and there appears to be similar problems.
Attachments:
You must be logged in to view attached files.
544449ParticipantHave 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); } } }
544449ParticipantHey, 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. -
AuthorPosts
Follow