SensorTask which continuously reads joint angles and stores them in a shared variable (a global array), and ControlTask which retrieves sensor data and calculates motor commands every 10ms.ControlTask sometimes reads outdated data, causing jittery movements. I've verified SensorTask updates the variable correctly.