Corrected control system derivative calculations#349
Conversation
|
I believe that the failing CI tests are due to PalouseRobosub/robosub_simulator-2018#111 |
|
A PR has been made to correct the simulator PID values as necessary for this PR: PalouseRobosub/robosub_simulator-2018#112 |
|
Review status: 0 of 2 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. src/movement/control_system.cpp, line 60 at r1 (raw file):
new_measurement_available needs to be set to false. Comments from Reviewable |
|
Reviewed 1 of 2 files at r1, 1 of 1 files at r2. src/movement/control_system.h, line 169 at r2 (raw file):
Is there a reason that this is a 6x1 matrix of booleans rather than an array of 6 booleans? src/movement/control_system.h, line 174 at r2 (raw file):
Similar question here. Why not use an array or vector? Comments from Reviewable |
|
Review status: all files reviewed at latest revision, 3 unresolved discussions, some commit checks failed. src/movement/control_system.cpp, line 60 at r1 (raw file): Previously, ryan-summers (Ryan Summers) wrote…
Done. src/movement/control_system.h, line 169 at r2 (raw file): Previously, skallaher (Sean Kallaher) wrote…
See reply below src/movement/control_system.h, line 174 at r2 (raw file): Previously, skallaher (Sean Kallaher) wrote…
It's keeping the class consistent since everything else is using Eigen vector/matrix types Comments from Reviewable |
3e2e95c to
bf06d3c
Compare
|
Review status: Comments from Reviewable |
This change corrects the bug as reported in #330 by adding in a boolean that indicates whether or not new measurements have arrived for a specific state. New errors are stored only if new state information has been received.
Integral information is still updated even if new state information has not been received. Do we want to change this?
This change is