6 Commits

Author SHA1 Message Date
jonny_jr9
b6fd16eb2a Patch V2.1-board-motorctl to work with new common code
Changes to outsourced motorctl code made configuration
of currently unused board-motorctl from V2.1 incompatible
-> patch config
2023-09-13 15:38:40 +02:00
jonny_jr9
3014808d5a Add test for new brake feature
Repeatedly apply sequence of pre-defined motor commands in main function
2023-09-04 21:58:36 +02:00
jonny_jr9
fcecd930d3 Add brake-relay support to motordriver
[untested]
Turn on brake relays in BRAKE state
Also wait certain time for relays to switch before shorting the driver
Add config option for brake relay pin
Initialize pin in constructor
2023-09-04 21:51:15 +02:00
jonny_jr9
0a1f941de0 Update configs according to new pin assignment
current config of each board now matches pin assignment
2023-09-04 21:50:42 +02:00
jonny_jr9
76e8bac113 2 boards: split code, outsource common, remove duplicate files
- outsoruce common files and separate common types from source files (new
  common/types.hpp)
- split source files to 2 board folders (relevant only, no duplicate)
- currently boards compile successfull but not functional at all
- comment out currently incompatible code
2023-08-30 09:01:13 +02:00
jonny_jr9
b03baa4687 Change folder structure (multiple boards)
- add second pcb board_control, currently copy of previous board
- not enough pins -> board_control handle ui send motorcommands via uart
  board_motorctl handle motors
2023-08-28 11:15:06 +02:00