Skip to content

Commit

Permalink
HW5 adding
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelz committed Nov 14, 2017
1 parent fc9c18b commit e3c545a
Show file tree
Hide file tree
Showing 17 changed files with 1,562 additions and 9 deletions.
11 changes: 11 additions & 0 deletions HW4/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# SIS-assignment

Variant C: Azimuth movement with gyroscope.

Description of the project:

In this work, the Lego ev3 set was used. The task is to use and work with the gyroscope sensor. Using this sensor, it is necessary to program the behavior of the working system to determine a certain angle for which it is necessary to deploy the system, after the turn the system must move in the given direction. After starting the system, the sensor senses the main axis as the main axis, with respect to which the deviation will be determined. If the system is rejected by a value greater than or less than the specified value, the system must return in the direction of its movement.

Explanation of the result:

As a result, a moving station was assembled from the standard elements of the Lego ev3 kit with a gyroscope sensor. The program code for controlling the motors of the running axle has been described. After the system is turned on, the gyro sensor records the axis along which it is oriented during the start. In the code, the readings from the sensor are taken and the test is performed until the angle of the gyroscope direction is deflected 90 degrees from the initial axis, one wheel is given a positive value, the other is negative, this allows the workstation to unfold in a certain direction. When the deviation has occurred, both motors are given the same values, which allows it to move in one direction.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions HW5/DataFromSensors/EncoderB.rtf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0122948668510312214015817719621423225026928730632434236037839641543345146948750552354155957759561363165066868770472274175977879681483285086888790592394095997799610141032104910681087110611251143116111791197121512341253127012891306132413421360137913981415143314521469148815061524154215601578159616151633165116691687170517231741175917781796181418321851186918871905192419421961197919962014203220502059207320912109212921462165218322012220223822572275229323112329234723652385240424152425244324632482250025192537255625742592261026292647266526842702271927372755277327912810282828472864288329012919293829562973299130093027304730653083310131193137315531743193321132293247326532843302332033383356337433923410342934473465348334953507352435423561358035983616363436533669368937083727374537653783380138183838385338613878389639163933395139703988400640254044406240814099411741354153417141894207422542444262428142994317433543534371438944074425444344614480449845154533455245704588460746254644466346814698471747354753477347904809482748454863488249004918493649544972499150095027504550645082510051185136515451725190520852275244526352815299531753355354537353905408542754465463548154995516553555545572559056085626564456625680569957175735575357715790580858265844586258815898590659045904590459045904590459045904590459045904
Expand Down
1 change: 1 addition & 0 deletions HW5/DataFromSensors/EncoderC.rtf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0123250688610412314115917919721523325127028830632534336137939741643445247048950752454256057859661463265166968770672474276077879781583385187088890692494296097999710141032105110691088110711261144116211801198121712351254127112901307132513431361138013981416143514531470148815061524154315621580159816161634165216691688170617241742176017791797181518331852187018881906192519431962198019972015203320502054205020502050205020502050205020502050205020502050205020502050205020502050205020532071208821072125214221602178219622142232225122702288230623252343236023782396241424332450246824872505252425422560257825962614263226502668268827062724274227602778279628152833285128702888290629242942296129792997301530343052307030873106312431343129312831283128312831283128312831283128312831283128312831283128312831283128312831473166318532043221323932573274329133093326334333613380339834163434345234703488350635253543356135803598361736343652367036883706372437423761377937963814383338513870388839063925394439623980399840164034405440724090410841264144416241804199421842354253427242904308432643454363438043984416443544534472449045084526454445624580459846164634465346724690470747264744476247804798481748354853487148894907492549434961498049985016503450525070508951065124514451625180518651855185518551855185518551855185518551855185
Expand Down
340 changes: 340 additions & 0 deletions HW5/DataFromSensors/EncoderData.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,340 @@
0.000000000000000000e+00
1.151333333333333542e+00
3.070222222222222630e+00
4.797222222222222499e+00
6.524222222222222811e+00
8.251222222222223124e+00
9.978222222222223436e+00
1.180116666666666880e+01
1.352816666666666912e+01
1.525516666666666943e+01
1.717405555555555807e+01
1.890105555555555839e+01
2.062805555555555870e+01
2.235505555555555546e+01
2.408205555555555577e+01
2.590500000000000469e+01
2.763200000000000500e+01
2.935900000000000531e+01
3.118194444444444713e+01
3.290894444444445099e+01
3.463594444444444775e+01
3.636294444444445162e+01
3.808994444444444838e+01
3.991288888888889375e+01
4.163988888888889051e+01
4.336688888888889437e+01
4.509388888888889113e+01
4.691683333333334360e+01
4.864383333333334036e+01
5.027488888888889562e+01
5.200188888888889238e+01
5.372888888888889625e+01
5.545588888888889301e+01
5.718288888888889687e+01
5.890988888888889363e+01
6.063688888888889750e+01
6.245983333333334286e+01
6.418683333333333962e+01
6.591383333333334349e+01
6.773677777777778886e+01
6.946377777777777851e+01
7.119077777777778238e+01
7.291777777777778624e+01
7.464477777777779011e+01
7.646772222222223547e+01
7.819472222222223934e+01
7.992172222222222899e+01
8.164872222222223286e+01
8.347166666666667822e+01
8.519866666666666788e+01
8.692566666666667174e+01
8.865266666666667561e+01
9.037966666666667948e+01
9.210666666666668334e+01
9.392961111111111450e+01
9.565661111111111836e+01
9.728766666666668073e+01
9.901466666666668459e+01
1.008376111111111300e+02
1.025646111111111196e+02
1.043875555555555650e+02
1.062105000000000246e+02
1.080334444444444557e+02
1.097604444444444596e+02
1.114874444444444634e+02
1.132144444444444531e+02
1.149414444444444570e+02
1.167643888888889023e+02
1.184913888888888920e+02
1.203143333333333516e+02
1.219453888888888997e+02
1.237683333333333593e+02
1.253993888888888932e+02
1.271263888888888971e+02
1.288533888888889010e+02
1.305803888888889048e+02
1.324033333333333644e+02
1.341303333333333683e+02
1.358573333333333721e+02
1.376802777777778033e+02
1.394072777777778072e+02
1.410383333333333553e+02
1.427653333333333592e+02
1.444923333333333630e+02
1.462193333333333669e+02
1.480422777777777981e+02
1.498652222222222292e+02
1.515922222222222331e+02
1.533192222222222370e+02
1.550462222222222408e+02
1.567732222222222447e+02
1.585002222222222485e+02
1.601312777777777967e+02
1.619542222222222279e+02
1.636812222222222317e+02
1.654082222222222356e+02
1.671352222222222395e+02
1.688622222222222433e+02
1.706851666666666745e+02
1.724121666666666783e+02
1.741391666666666822e+02
1.758661666666666861e+02
1.776891111111111172e+02
1.794161111111111211e+02
1.811431111111111250e+02
1.828701111111111288e+02
1.846930555555555884e+02
1.864200555555555923e+02
1.882430000000000234e+02
1.899700000000000273e+02
1.916010555555556039e+02
1.933280555555556077e+02
1.950550555555556116e+02
1.966861111111111313e+02
1.970698888888888973e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.966861111111111313e+02
1.969739444444444700e+02
1.987009444444444739e+02
2.003320000000000505e+02
2.021549444444444816e+02
2.038819444444444855e+02
2.055130000000000337e+02
2.072400000000000375e+02
2.089670000000000414e+02
2.106940000000000452e+02
2.124210000000000491e+02
2.141480000000000246e+02
2.159709444444444841e+02
2.177938888888889153e+02
2.195208888888889192e+02
2.212478888888889230e+02
2.230708333333333542e+02
2.247978333333333580e+02
2.264288888888889062e+02
2.281558888888889101e+02
2.298828888888889139e+02
2.316098888888889178e+02
2.334328333333333489e+02
2.350638888888889255e+02
2.367908888888889294e+02
2.386138333333333605e+02
2.403408333333333644e+02
2.421637777777777956e+02
2.438907777777777994e+02
2.456177777777778033e+02
2.473447777777778072e+02
2.490717777777778110e+02
2.507987777777777865e+02
2.525257777777777903e+02
2.542527777777777942e+02
2.559797777777777981e+02
2.578986666666667134e+02
2.596256666666666888e+02
2.613526666666667211e+02
2.630796666666666965e+02
2.648066666666667288e+02
2.665336666666667043e+02
2.682606666666667365e+02
2.700836111111111677e+02
2.718106111111111431e+02
2.735376111111111754e+02
2.753605555555556066e+02
2.770875555555555820e+02
2.788145555555556143e+02
2.805415555555555898e+02
2.822685555555556220e+02
2.840915000000000532e+02
2.858185000000000286e+02
2.875455000000000609e+02
2.892725000000000364e+02
2.910954444444444675e+02
2.928224444444444998e+02
2.945494444444444753e+02
2.961805000000000518e+02
2.980034444444444830e+02
2.997304444444444584e+02
3.006898888888889587e+02
3.002101666666666802e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.001142222222222813e+02
3.019371666666667124e+02
3.037601111111111436e+02
3.055830555555555748e+02
3.074060000000000059e+02
3.090370555555555825e+02
3.107640555555555579e+02
3.124910555555555902e+02
3.141221111111111668e+02
3.157531666666666865e+02
3.174801666666667188e+02
3.191112222222222954e+02
3.207422777777778151e+02
3.224692777777778474e+02
3.242922222222222786e+02
3.260192222222222540e+02
3.277462222222222863e+02
3.294732222222222617e+02
3.312002222222222940e+02
3.329272222222222695e+02
3.346542222222222449e+02
3.363812222222222772e+02
3.382041666666667084e+02
3.399311666666666838e+02
3.416581666666667161e+02
3.434811111111111472e+02
3.452081111111111227e+02
3.470310555555556107e+02
3.486621111111111304e+02
3.503891111111111627e+02
3.521161111111111950e+02
3.538431111111111704e+02
3.555701111111112027e+02
3.572971111111111213e+02
3.590241111111112104e+02
3.608470555555556416e+02
3.625740555555555602e+02
3.642051111111111368e+02
3.659321111111111691e+02
3.677550555555556002e+02
3.694820555555555757e+02
3.713050000000000068e+02
3.730320000000000391e+02
3.747590000000000146e+02
3.765819444444444457e+02
3.784048888888888769e+02
3.801318888888889660e+02
3.818588888888888846e+02
3.835858888888889169e+02
3.853128888888888923e+02
3.870398888888889246e+02
3.889587777777778683e+02
3.906857777777778438e+02
3.924127777777778761e+02
3.941397777777777947e+02
3.958667777777777701e+02
3.975937777777778024e+02
3.993207777777777778e+02
4.010477777777778101e+02
4.028707222222222413e+02
4.046936666666666724e+02
4.063247222222222490e+02
4.080517222222222813e+02
4.098746666666667124e+02
4.116016666666666879e+02
4.133286666666667202e+02
4.150556666666666956e+02
4.168786111111111268e+02
4.186056111111111591e+02
4.202366666666667356e+02
4.219636666666667111e+02
4.236906666666667434e+02
4.255136111111111745e+02
4.272406111111111500e+02
4.290635555555555811e+02
4.307905555555556134e+02
4.325175555555555889e+02
4.342445555555556211e+02
4.359715555555555966e+02
4.376985555555556289e+02
4.394255555555556043e+02
4.411525555555556366e+02
4.428795555555556120e+02
4.446065555555556443e+02
4.464295000000000755e+02
4.482524444444445066e+02
4.499794444444444821e+02
4.516105000000000018e+02
4.534334444444444898e+02
4.551604444444445221e+02
4.568874444444444407e+02
4.586144444444445298e+02
4.603414444444444484e+02
4.621643888888889933e+02
4.638913888888889687e+02
4.656183888888890010e+02
4.673453888888889196e+02
4.690723888888890087e+02
4.707993888888889273e+02
4.725263888888889596e+02
4.742533888888889351e+02
4.759803888888889674e+02
4.778033333333333985e+02
4.795303333333333740e+02
4.812573333333334062e+02
4.829843333333333817e+02
4.847113333333334140e+02
4.864383333333333894e+02
4.882612777777778206e+02
4.898923333333333971e+02
4.916193333333334294e+02
4.935382222222222595e+02
4.952652222222222917e+02
4.969922222222222672e+02
4.975678888888889446e+02
4.974719444444444889e+02
4.974719444444444889e+02
4.974719444444444889e+02
4.974719444444444889e+02
4.974719444444444889e+02
4.974719444444444889e+02
4.974719444444444889e+02
4.974719444444444889e+02
4.974719444444444889e+02
4.974719444444444889e+02
4.974719444444444889e+02
1 change: 1 addition & 0 deletions HW5/DataFromSensors/Gyro.rtf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0-1-1-2-2-1-1-1-1-1-2-2-2-2-2-2-1-1-1-1-2-2-2-1-1-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-3-3-3-3-2-2-2-2-2-2-2-2-2-2-3-3-3-3-3-3-3-3-3-3-3-3-3-3-3-3-3-3-3-3-3-4-4-3-3-3-4-4-4-4-4-3-3-3-4-3-3-3-3-4-4-4-4-4-4-4-4-4-4-4-1381317222631364145505459636873788285858585868686868686868686868686858585858586868686868686868686858585858585858585858585858686868686858585858585858585858585869196100105110114119123125131136140145150155159164169173173172172172173173173173173174174174174174174174174174174174174174174174174174174174174174174174173173173173173173173173173174174174173173173173173173173173173173173173173173173173173173173173173173173173173173173172172172172172172172172172172172172173172172172172172172172172172172172172172172172172172172172172172172172172172172172171171171171171171171171171171171171172172
Expand Down
Loading

0 comments on commit e3c545a

Please sign in to comment.