Thonners / Helicopter

Scripts to fly a remote-control helicopter, using a Raspberry Pi as the main controller instead of a standard RC receiver unit
GNU General Public License v3.0
0 stars 0 forks source link

Spin up motor on background thread #12

Open Thonners opened 4 years ago

Thonners commented 4 years ago

When ramping motor commands in/out, do it on a background thread so as not to block the main thread

Thonners commented 3 years ago

Another motivation for this is that it can't be cancelled while spinning up (i.e. if the motor is e-stopped during spin up, it keeps going till it finishes the ramp

Thonners commented 3 years ago

Implementation seems to work when tested directly within python on the pi, but seems to jump to the final value immediately when the heli starts to spin up. TODO: