3 Commits

Author SHA1 Message Date
jonny_l480
3ba37baeda Optimize turning: allow duty=0 for inner wheel, prepare ratio snap threshold
- joystick command generation:
    - also remove min duty offset with changing ratio
- prepare threshold where ratio snaps to max for easier turning
  -> issue with driver has to be fixed first

- minor motordriver optimization / add commented out debug mode
  (driver forward in idle)
2023-08-21 09:47:48 +02:00
jonny_l480
9550b387c9 Config: Replace abInverted with a- and bEnabledPinState
Changed config and code for motor driver:
Now its possible to configure whether a and b pins are inverted separately
e.g. a connected to mosfets (inverted) and b connected directly
2023-08-13 10:34:41 +02:00
jonny_ji7
b0d0b568a3 Create driver for 'single100a h-bridge'
- create class 'single100a' in motordrivers.hpp and motordrivers.cpp
- add code for testing the driver in main.cpp (test with led was successful)
- update cmakelists, to also compile the new .cpp file
2022-06-04 18:17:44 +02:00