Commit Graph

17 Commits

Author SHA1 Message Date
Thefeli73
423af101e2 add position meter calculation 2021-04-14 18:03:54 +02:00
Thefeli73
9e2b2d590a whitespace and comments 2021-04-14 18:03:54 +02:00
Thefeli73
7f69d89510 whitespace and change var 2021-04-14 18:03:54 +02:00
Thefeli73
c961669895 updated getspeed, now working!!
also gets timings from var so works even if we change timings
2021-04-14 18:03:54 +02:00
Thefeli73
3b0f8f4faf turn timings into variables 2021-04-14 18:03:54 +02:00
Thefeli73
8855c84cfc remove old var 2021-04-14 18:03:54 +02:00
Thefeli73
f9ebdc8ecd function for getting RPM, checkpoint. sorta working 2021-04-14 18:03:54 +02:00
Thefeli73
2712a72b75 functions to print and set speed 2021-04-14 18:03:54 +02:00
Thefeli73
053d2b9726 adding conditions to run things ever x ms 2021-04-14 18:03:54 +02:00
Thefeli73
40db36a016 move code between files 2021-04-14 18:03:54 +02:00
Thefeli73
851cc8c46d encoder HAL interrupts for position (Net rotations) 2021-04-14 18:03:54 +02:00
Thefeli73
34feb811e9 redefine speed 2021-04-14 18:03:54 +02:00
Thefeli73
3ba28c950a use speed var, set variable for safe angle for simplicity 2021-04-14 18:03:54 +02:00
Thefeli73
f12389b570 round angles before inting 2021-04-14 18:03:54 +02:00
Thefeli73
7b49d8974c wire.begin 2021-04-14 18:03:54 +02:00
Thefeli73
3eaf27d29e move gyroscope code into seperate file, add lqr code file 2021-04-14 18:03:54 +02:00
Thefeli73
948e704aa6 add file from last commit to master folder 2021-04-14 18:03:54 +02:00