Open
Conversation
Further refine high-level controller and make clearer the separation between high- and mid-level control loops Signed-off-by: Rosen, Michael R <michael.r.rosen@intel.com>
not tested in HW yet
Signed-off-by: Rosen, Michael R <michael.r.rosen@intel.com>
Currently the serial control sends the IE as an enumeration when it should be a fixed point number; for now fix the value to 1:1.5 Signed-off-by: Rosen, Michael R <michael.r.rosen@intel.com>
. Fix minor issues in stop mid control loop . Refactor timers to be periodic to improve precision of timing loops Signed-off-by: Rosen, Michael R <michael.r.rosen@intel.com>
Using Jan's work as a base, refactor sensor hal to sample ADC without timer. Refactor alot of the sensor module to incorporate the refactored sensors hal and timer hal. Signed-off-by: Rosen, Michael R <michael.r.rosen@intel.com>
Signed-off-by: Rosen, Michael R <michael.r.rosen@intel.com>
In order to take advantage of the Arduino Serial Plotter, debug messages mechanism had to be slightly retuned and now the debug feature includes a way to plot values with some limitations. Signed-off-by: Rosen, Michael R <michael.r.rosen@intel.com>
added scaling factor to trajectory and motor output according to Andrews measurements. reset I-integrator for every cycle
Dirty fix to motor target position initial controller tuning - works, but looses steps and can't compensate (yet)
. Add macro to enable/disable closed loop control while under development . Fix typo in timeout check for exhalation Signed-off-by: Rosen, Michael R <michael.r.rosen@intel.com>
When using DEBUG_PLOT, prefix each line with a millisecond stamp (since boot). Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
I think we need to make this optional if we still want to support the Arduino plotter; since the Arduino plotter will plot millis as a line that will eventually auto-scale the values being examines into nothing. It might be good to add a DEBUG_PLOTTER macro to specify which plotter is being used (Arduino or kst2). I think the documentation for this should go in the debug.h file for now since we dont yet have a good place for these kinds of code-related docs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DEBUG_PLOT: add millisecond stamping
When using DEBUG_PLOT, prefix each line with a millisecond stamp
(since boot).
Signed-off-by: Inaky Perez-Gonzalez inaky.perez-gonzalez@intel.com