Jonny999999 / armchair_fw

Firmware for a homemade automated electric armchair using an esp32 controller on a custom pcb
https://pfusch.zone/electric-armchair-v2
0 stars 0 forks source link

Add 'history' to motorctl for faster response #2

Closed Jonny999999 closed 7 months ago

Jonny999999 commented 2 years ago

Issue

currently when releasing the joystick while moving and immediately moving it again in the same position the motors stop and start ramping up again from 0, this results in weird driving experience

solution

when duty was already higher within the last second, ignore the ramp and set target duty immediately

EDIT: utilize available speed-sensors for that?

Jonny999999 commented 7 months ago

added fade-down feature in d1dcf726aaec3b5abc7b9e80939bf9ecf19f9e52