Freenove / Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi

Apply to FNK0043
Other
133 stars 148 forks source link

Server utilizes 100% CPU time of one core #44

Open sjuk opened 6 months ago

sjuk commented 6 months ago

Expected: The car server would use all CPU cores in the required percentage.

Instead: The car server uses only one CPU core at 100% and ignore the other three idle cores.

Please see embedded screenshots below.

Car server is running: python main.py -t -n => Core 1 is constantly at 100%

Bildschirmfoto vom 2023-12-25 19-22-57

Car server is stopped. => All cores are mostly idle.

Bildschirmfoto vom 2023-12-25 19-23-39