timothyvolpe / Capstone2020

Capstone Project Spring 2020 Autonomous Canal Vehicle
0 stars 0 forks source link

Lockup when Motor UART starts late #3

Open timothyvolpe opened 4 years ago

timothyvolpe commented 4 years ago

Rarely, the motor UART thread will start late (signaled by a THREAD ENTER message), after a request has already been sent to the channel. This causes the program to completely lock up. Although there is a check to make the main thread wait for the UART thread to initialize, this appears to be flawed or not enough.