Thefeli73
|
baa64b6240
|
clean garbage
|
2021-05-13 11:38:40 +02:00 |
|
Thefeli73
|
b57bd6ca27
|
fixes, idk
|
2021-04-24 11:15:41 +02:00 |
|
Thefeli73
|
5dad9a6f6d
|
fixa kommentar, ändra i funktion som inte används för att testa
|
2021-04-21 15:28:44 +02:00 |
|
Thefeli73
|
a8d4620cac
|
IMPORTANT fixa linjariserings funktion
|
2021-04-21 15:27:25 +02:00 |
|
Thefeli73
|
1ab859ec5a
|
testa ny k matrix
|
2021-04-21 15:26:24 +02:00 |
|
Thefeli73
|
9463979545
|
few changes, call fullstate lqr
|
2021-04-20 13:30:48 +02:00 |
|
Thefeli73
|
a118b606dd
|
add k matrix as matrix, try some stuff, add time var
|
2021-04-20 13:28:01 +02:00 |
|
Thefeli73
|
c2061717e6
|
try new K matrix, also scale output
|
2021-04-20 13:27:26 +02:00 |
|
Thefeli73
|
841050f558
|
take in fullstate x K matrix and compensate for logarithmic response
|
2021-04-20 13:27:05 +02:00 |
|
Thefeli73
|
a6fb0d5e77
|
refactor gain to matrix names, break out sum3 out of sum4
|
2021-04-19 17:21:58 +02:00 |
|
Thefeli73
|
e45732e5d1
|
testa bös
|
2021-04-19 17:14:25 +02:00 |
|
Thefeli73
|
1bf3f51783
|
gyroscope känslighet
|
2021-04-19 17:14:06 +02:00 |
|
Thefeli73
|
bc7a9a6ec4
|
small fix
|
2021-04-17 15:23:11 +02:00 |
|
Thefeli73
|
5f559bb895
|
try to fix final function
|
2021-04-17 14:05:54 +02:00 |
|
Thefeli73
|
664b8b0109
|
no more need for types and .h files
|
2021-04-17 13:23:26 +02:00 |
|
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 |
|