Commit Graph

25 Commits

Author SHA1 Message Date
Thefeli73
cf17affee4 able to compile. change variable names, stop using some constructs, change types etc 2021-04-17 13:22:12 +02:00
Thefeli73
6f7ba57f82 comment ouy unused function 2021-04-17 12:53:46 +02:00
Thefeli73
6784a07372 add actual lqr (not compiling yet) 2021-04-16 15:38:21 +02:00
Thefeli73
0b15ba05cd .h files 2021-04-16 15:37:43 +02:00
Thefeli73
aefed82ba4 remove code from temp lqr, remove unused lines 2021-04-15 16:55:16 +02:00
Thefeli73
423af101e2 add position meter calculation 2021-04-14 18:03:54 +02:00
Thefeli73
aca360a987 readme 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
14a8734084 change print 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
8585e34c73 K matrix 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