This commit is contained in:
Richie 2023-11-20 14:53:00 +08:00
parent 23bcfad64b
commit 7aedf85ca1
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ motor_control_task(void *params)
vTaskDelay(pdMS_TO_TICKS(1000)); vTaskDelay(pdMS_TO_TICKS(1000));
turn(DIRECTION_RIGHT, 90, 90u, car_struct); turn(DIRECTION_RIGHT, 90, 90u, car_struct);
vTaskDelay(pdMS_TO_TICKS(1000));
set_wheel_direction(DIRECTION_FORWARD); set_wheel_direction(DIRECTION_FORWARD);
set_wheel_speed_synced(90u, car_struct); set_wheel_speed_synced(90u, car_struct);