1
Fork 0
Commit graph

88 commits

Author SHA1 Message Date
3c20c4e13c
show ping on panel 2025-03-30 03:13:19 -04:00
7811eaf91c
disconnect button 2025-03-30 01:06:29 -04:00
a3864c4ef0
use past convergence logic when one sensor is pat the convergence point
the hardware is in really bad shape, the tofs randomly are stuck at max
and randomly stuck at min. The drive esc can't feed more than ~20%
power, and then not consistently either. Without any signal in the noise
it is impossible to move forward.

A possible full system redesign is to use a global shutter camera from
outside the box for all position data, perhaps supplemented with an
onboard IMU. tofs (at this price point) are not useful. It may be worth
trying new tofs that haven't had the chance for particulate to
accumulate in the emmiter/collector, but I'm not bullish on it.
2025-03-29 19:02:58 -04:00
7fe4e4477e
fire in auto 2025-03-28 18:35:40 -04:00
17f484acd5
re-embedded auto in interface
crashes seem to occur when mutating state from across the dylib boundary

not worth troubleshooting when I don't need hot-reloading anymore
2025-03-28 00:08:13 -04:00
9a68f43e5d
run auto (it crashes) 2025-03-27 19:45:47 -04:00
1e1a82830b
show auto status on gui 2025-03-27 19:39:42 -04:00
311427b0a5
plumb auto interface into controller 2025-03-27 19:25:39 -04:00
b956c543fc
remove storage_dir 2025-03-27 18:59:47 -04:00
a2b629beab
loadstore 2025-03-27 18:54:39 -04:00
c0daf3f64c
use storage manager in gui 2025-03-27 18:35:31 -04:00
9f4b2e57a2
slight auto interface api changes
I'm not liking the ControlPacket architecture anymore, I'd like to
switch to a state-based controller from message-based to accommodate
reliably getting side changes to work
2025-03-26 22:29:09 -04:00
b63986711d
run (untested) 2025-03-22 15:27:49 -04:00
321ece84bc
auto load struct 2025-03-22 15:07:39 -04:00
474841212d
anyhow 2025-03-22 14:34:51 -04:00
d90011d921
storage manager 2025-03-22 14:28:57 -04:00
9c61d88fe4
started to replace the egui persistence layer 2025-03-11 14:08:47 -04:00
9e43e6a943
load config from real file 2025-03-09 20:08:54 -04:00
ce223621d1
auto conf sync to gui 2025-03-08 20:47:52 -05:00
27e69bf301
impl data receive 2025-03-08 19:28:05 -05:00
5b3347bb00
use configurable as a key 2025-03-08 19:18:25 -05:00
21e269bc43
builder pattern for configs 2025-03-08 19:09:30 -05:00
05c7904513
factored auto into separate crate 2025-03-08 17:21:55 -05:00
9d107d6c26
made interface a library 2025-03-08 15:22:14 -05:00
a000276c22
added auto stub 2025-03-08 15:13:39 -05:00
354f600f92
added icon (not testable on sway) 2025-03-08 12:05:50 -05:00
95c5b50dd3
added combat logger
A refactor might be beneficial here, now data is being
sent to multiple streams which feels a tad off
2025-03-08 11:40:07 -05:00
e352c5b048
propagate volume threshold 2025-03-08 11:03:13 -05:00
2fb5a5709f
gui conf persistence 2025-03-08 10:58:27 -05:00
b567bf7528
added config sliders and vendored eframe's persistence path finder 2025-03-08 10:33:53 -05:00
d448f05dd7
interface retries and error logging 2025-03-08 08:32:03 -05:00
81f55cc0e8
handle close requests (slightly bodgey) 2025-03-08 02:04:06 -05:00
0bef5cc6e7
tuned windows sampling settings for stability 2025-03-06 20:33:23 -05:00
cf0a6b94d7
buffer received samples until they hit the analysis threshold 2025-03-06 20:24:14 -05:00
706ed9db03
adapt to windows audio quirks (virtualbox ones at least) 2025-03-06 17:09:37 -05:00
bb974c2015
send tof status to gui 2025-03-06 12:17:13 -05:00
79b22b3cb7
added basic control gui
tried fltk, didn't like it, using egui
2025-03-06 11:49:33 -05:00
971c57fa13
graceful decay on gyro failure
also switched gyro iic pins because the other ones were
shorted under the pico :|
2025-03-05 21:10:17 -05:00
b063a41783
motors are swapped on new chassis 2025-03-05 15:01:58 -05:00
99f0ed69e4
fixes
restored esc pwm calculator

send length before data
2025-03-05 14:20:17 -05:00
02f6efaaa5
change ip to an allowable linksys DHCP subnet 2025-03-05 13:55:42 -05:00
b82c6dbed8
set auto light over the network 2025-03-05 13:02:04 -05:00
31c847f39a
gracefully handle senosr death 2025-03-05 12:55:57 -05:00
6192627e25
now using a mosfet, no "center" 2025-03-05 12:44:55 -05:00
782fd891a1
triple tof init 2025-03-05 12:36:24 -05:00
57522c26cc
added weapon enable flag 2025-01-19 17:17:29 -05:00
70d4e551b4
sax control 2025-01-19 12:20:06 -05:00
bc3b710403
recorder control update 2025-01-19 11:19:39 -05:00
9b1b289b92
don't wait to stop charging, debouncing handled by user 2025-01-19 04:50:44 -05:00
5953f2c584
shifted override fire 2025-01-19 01:20:46 -05:00