Skip to content

Conversation

@taketook34
Copy link
Contributor

Bug with thread abortion in end of execution fixed. Problem was in KPIRoverECU class.

debian@beaglebone:~$ sudo ./kpi_rover_ecu -a 0.0.0.0 -p 6000
[INFO] Started server on 0.0.0.0:6000
start ...
Waiting for connection...
[INFO] Motor set to stop
[COMMAND] motor 0 new rpm 10000
[COMMAND] motor 1 new rpm 10000
[COMMAND] motor 2 new rpm 10000
[COMMAND] motor 3 new rpm 10000
Client disconnected.
Waiting for connection...
initialize socket
[INFO] Motor set to stop
^CEND of program
joining threads
destroying drivers
joining udp client socket ...
joining thread ... 
closing socket
debian@beaglebone:~$ 

There is can be discuss about necessity of function Destroy() in UDPClient and TCPTransport.

@taketook34 taketook34 linked an issue May 10, 2025 that may be closed by this pull request
@taketook34 taketook34 requested a review from AksonovSergei May 10, 2025 18:50
@taketook34 taketook34 mentioned this pull request May 11, 2025
@AksonovSergei AksonovSergei merged commit c84214a into main May 13, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect program finishing

3 participants