1
Fork 0
Commit graph

38 commits

Author SHA1 Message Date
025b05e3de
implemented brownout on northbridge
this is unsound in that only the most recent command gets modulated by
the bus voltage. In practice this should be fine as commands should come
over the pipe regularly in situations that cause a brownout
2025-02-09 13:37:52 -05:00
bd683d9b74
don't drop connection on spurious lapse
also reduced logging (systemd is a killer)
2025-02-09 12:56:09 -05:00
852b95dcc0
propagate voltage to controller 2025-02-08 22:22:17 -05:00
498287aedf
calibrated voltmeter 2025-02-08 21:55:29 -05:00
e4516bc804
send bus voltage over pipe 2025-02-08 20:13:47 -05:00
6a285fe7cd
controller input timeout 2025-02-04 19:27:26 -05:00
951dafc7d5
switched southbridge->northbridge to postcard cobs 2025-02-04 17:50:15 -05:00
17553cf2a3
thingy drives
added deadzone to gamepad controller

mended drive polarity

wait to start telem until awakened by northbridge
(linux doesn't boot in 300 cycles)
2025-02-04 15:48:14 -05:00
1c268bba12
converted southbridge -> northbridge to length-data
also divided the pwm clock by ten to align with microseconds
2025-02-04 13:54:01 -05:00
a9573dc8bc
switched northbridge -> southbridge communication to length-data
buffereduart peek does not appear to work, and
coms are very stable with shielded wire
2025-02-04 13:06:38 -05:00
76ba58de69
poll gamepad state 2025-02-04 13:04:42 -05:00
a7efcab3ce
updated cargo cross config
encoder builds for now (not pinning image)
2025-02-03 14:37:27 -05:00
b012a83ee0
recv control input on northbridge 2025-02-03 14:09:20 -05:00
e717238727
added basic controller 2025-02-03 13:54:16 -05:00
8a972cd660
encoder/decoder impl 2025-02-03 13:13:02 -05:00
60aa584f43
updated pwm code to account for pico 2 clock speed
150Mhz is a much better number to work with
2025-02-02 18:05:04 -05:00
1a0301ddd9
converted codebase to pico 2 2025-02-02 17:48:26 -05:00
ecd0800891
enable on start 2025-02-02 15:50:10 -05:00
91ed6eeb14
moved serialization to encoder 2025-02-01 16:24:10 -05:00
5d88a32095
sink converter (unpin woes) 2025-02-01 16:18:46 -05:00
80d15f7079
northbridge stub 2025-01-31 13:51:58 -05:00
7bacf3845e
explicit baud rate 2025-01-30 19:10:00 -05:00
0748cb2517
send telemetry over UART 2025-01-30 18:40:37 -05:00
e58faf354f
translate commands to motors 2025-01-30 18:20:56 -05:00
90b88607fc
message decoder 2025-01-30 17:43:05 -05:00
5b29c12d05
data structures for on-robot communication 2025-01-27 23:22:18 -05:00
e46fc9bb00
peripheral stub 2025-01-27 23:22:09 -05:00
71eae62bda
cargo generate from https://github.com/lulf/embassy-template.git 2025-01-24 14:00:42 -05:00
4a7b8b5b45
send telemetry repeatedly 2025-01-06 12:37:09 -05:00
b50bc79a25
receive control data 2025-01-05 18:00:59 -05:00
170a32d483
sending telemetry 2025-01-05 17:32:12 -05:00
f5bc322862
switched to jpeg from h264 compression
10x larger over the wire but no dependency on libstdc++
2025-01-02 19:42:05 -05:00
2dab4515fb
conversion to 0RGB 2024-12-31 11:20:45 -05:00
3e6b05645f
decoder 2024-12-30 18:44:02 -05:00
34c19268df
configure encoder 2024-12-30 18:17:23 -05:00
87fd8c63eb
encoder 2024-12-30 18:10:24 -05:00
8345565f9f
encode webcam 2024-12-30 17:50:31 -05:00
e336e5ca04
initial commit
sending a RGB image to LabVIEW works
2024-12-30 16:50:50 -05:00