You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The blocking nature of the code around the message reading is not welcome in tight control loops.
e.g.
bool VescUart::getVescValues(uint8_t canId)
Sends the get values command then calls receiveUartMessage which waits for a response before returning.
As the response messages are atomic can we just treat the getVescValue function as a request then have a processRX function that handles the response(s)?
The text was updated successfully, but these errors were encountered:
The blocking nature of the code around the message reading is not welcome in tight control loops.
e.g.
bool VescUart::getVescValues(uint8_t canId)
Sends the get values command then calls receiveUartMessage which waits for a response before returning.
As the response messages are atomic can we just treat the getVescValue function as a request then have a processRX function that handles the response(s)?
The text was updated successfully, but these errors were encountered: