Commit Graph

130 Commits

Author SHA1 Message Date
b5f1745ccc try removing multi-threading 2020-03-02 21:43:56 -07:00
2e5c2ad8db rearrange code in main loop 2020-03-02 21:41:43 -07:00
6cd6b448e2 playing with taps again 2020-03-02 21:31:35 -07:00
30b57b5128 slower decay IIR 2020-03-02 21:27:59 -07:00
108fac0b17 add IIR tap 2020-03-02 21:26:56 -07:00
7222e7dac5 fix name error 2020-03-02 21:23:15 -07:00
cb7904af3a make the controller a little more interesting 2020-03-02 21:22:42 -07:00
ce127c9ab0 set controller to be simple proportional control 2020-03-02 21:21:32 -07:00
9c5ad4889e make colors more uniform 2020-03-02 21:21:02 -07:00
137f8e01c7 add colors to plot 2020-03-02 21:19:32 -07:00
6440cbf6bf fix controller 2020-03-02 21:18:11 -07:00
656dc9b4d9 fix logging 2020-03-02 21:17:11 -07:00
27775e09cc fix motor speed initialization 2020-03-02 21:16:01 -07:00
0f134566c2 initialize sufficient zeros to satisfy controller at start 2020-03-02 21:15:06 -07:00
f05bff700f add run.sh 2020-03-02 21:11:35 -07:00
7bff309df3 add missing variable definition 2020-03-02 21:07:36 -07:00
fa6a1b1d30 move some stuff around 2020-03-02 21:06:44 -07:00
7f2e8498a6 disable servos in main loop for testing 2020-03-02 21:04:24 -07:00
1da7b60ba1 move stuff around and add servos 2020-03-02 20:57:31 -07:00
21c0cb0a85 remove unnecessary delay 2020-03-02 20:17:56 -07:00
453c155d5d add default state if all sensors detect white 2020-03-02 20:17:17 -07:00
76863fa3ea remove poorly formatted titles 2020-03-02 20:12:15 -07:00
b0eaf4dd2d add plot legend 2020-03-02 20:10:58 -07:00
3e114fd4fa fix data append 2020-03-02 20:07:07 -07:00
c9cfd677f0 fix another old variable name 2020-03-02 20:03:17 -07:00
be3bc2116c update old variable name 2020-03-02 20:02:01 -07:00
2e9e1a614c missing paren 2020-03-02 20:00:46 -07:00
7f55e5f172 prevent issues with x,y lengths differing on plots 2020-03-02 20:00:17 -07:00
6cad2b628e clean up styling 2020-03-02 19:54:58 -07:00
6096562445 fix appending of data 2020-03-02 19:49:37 -07:00
8924319a01 residual name that didn't get changed 2020-03-02 19:48:15 -07:00
51927d38b9 remove name conflict 2020-03-02 19:47:38 -07:00
5aaf2f90d7 update plot name 2020-03-02 19:45:52 -07:00
3a094e44d3 Add time plot 2020-03-02 19:45:04 -07:00
46dba2f32c add line position calculation 2020-03-02 19:29:40 -07:00
60d2905b3a more style changes 2020-03-02 19:24:17 -07:00
fe7bde5c1c improve styling 2020-03-02 19:23:15 -07:00
7ed8bf2dc4 fix transparency 2020-03-02 19:21:35 -07:00
ad70a1c3e5 change line alpha 2020-03-02 19:20:31 -07:00
db76d4d314 lines and points 2020-03-02 19:19:07 -07:00
d7d141e20d try switching to points in plot 2020-03-02 19:16:59 -07:00
ce67754933 remove 'update plot' button 2020-03-02 19:03:20 -07:00
ba207c53ab fix channel order 2020-03-02 18:56:42 -07:00
0c9c437258 WIP: try using builtin periodic callbacks 2020-03-02 16:40:06 -07:00
5ab95f2696 WIP maybe this will update automatically 2020-03-02 16:35:13 -07:00
23463ceed8 WIP: this may allow for plot updates 2020-03-02 16:32:55 -07:00
1baebc89a6 hopefully fix calibration issues 2020-03-02 16:30:00 -07:00
b44d2d681c improve formatting of print string 2020-03-02 16:27:41 -07:00
683c97eb91 clean up print messages 2020-03-02 16:25:19 -07:00
34abba0129 add lock for external resources 2020-03-02 16:24:01 -07:00
e5e1fb54a3 WIP: still hoping 2020-03-02 16:20:43 -07:00
e518fc4903 WIP: hopefully make plots update 2020-03-02 16:17:34 -07:00
84cab79c1b WIP: attempt to continue getting data separately from web stuff 2020-03-02 16:13:37 -07:00
84e987ee8f make data fetch happen in a second thread 2020-03-02 16:11:21 -07:00
1e0fd3ec3f WIP: hopefully update data periodically 2020-03-02 16:06:58 -07:00
ad10fbc097 WIP: change plot scales 2020-03-02 16:04:20 -07:00
549c4609e6 WIP: add debug stuff for cal 2020-03-02 16:02:46 -07:00
38a382c45a WIP: potentially fix function signatures for callbacks 2020-03-02 16:01:28 -07:00
7e7ffffd64 WIP: remove if main 2020-03-02 15:59:59 -07:00
62952cfd5e WIP: hopefully the server works 2020-03-02 15:54:00 -07:00
2ad585c0fb WIP: add debugging stuff to hwtest.py 2020-03-02 15:24:40 -07:00
249bc5c4e1 WIP: trying to serve a page properly 2020-03-02 15:22:01 -07:00
fc6e4f950a move calibration to web thing 2020-03-02 15:16:55 -07:00
d8556b4f17 add bokeh sliders.py example 2020-03-02 14:46:33 -07:00
ddd5041c35 add attempt at web interface 2020-03-02 14:45:16 -07:00
39ecee6ae8 fix normalization 2020-03-02 14:10:05 -07:00
acc54cbf2b use calibration 2020-03-02 14:09:16 -07:00
f2fd61181a add calibration stuff 2020-03-02 14:07:21 -07:00
9316389b71 properly sets mux 2020-03-02 13:57:55 -07:00
3e31202987 WIP: fix a bunch of dumb stuff 2020-03-02 13:54:49 -07:00
a7ba379b0e WIP: restructure mux driver 2020-03-02 13:48:35 -07:00
772f8ddc9f WIP: properly invert mux signals 2020-03-02 13:44:55 -07:00
50f83ee6bf WIP: change print statement 2020-03-02 13:42:25 -07:00
2efa55453f WIP: trying to get ADC working 2020-03-02 13:40:42 -07:00
0db29de002 fix import statement for adc 2020-03-02 13:39:37 -07:00
463164a029 move matplotlib to [dev-packages] in pipfile 2020-03-02 13:34:39 -07:00
c30ae62356 actually read from ADC 2020-03-02 11:43:30 -07:00
1096007a9d remove python version requirement from pipfile 2020-03-02 11:40:30 -07:00
e192c2d429 add ADC stuff 2020-03-02 11:39:07 -07:00
b51d5b5b6f initial commit 2020-02-26 10:47:21 -07:00