Changed index of Velocity matrix
Compiler gave an error on "index out of bounds", have to test if turn controller is still working after this change. This is the first time i see this error,which leaves me a bit confused as of i see this now.
This commit is contained in:
parent
61684e11a6
commit
b854a09de0
|
@ -76,7 +76,7 @@ void motors() {
|
|||
|
||||
|
||||
//Turn controller
|
||||
TC_cont_out = PController(rem_turn_speed_ref, vel_Matrix[0][1], K_TC);
|
||||
TC_cont_out = PController(rem_turn_speed_ref, vel_Matrix[1][0], K_TC);
|
||||
|
||||
|
||||
//Sum speed command for motors
|
||||
|
|
Loading…
Reference in New Issue