elephantrobotics / pymycobot

This is a python API for ElephantRobotics product.
MIT License
117 stars 54 forks source link

TCP/IP communication error between desktop and mycobot 320 pi #81

Open ChoiHyeonJu opened 2 months ago

ChoiHyeonJu commented 2 months ago

Describe the bug I ran the TCP IP communication example, but server-client communication does not work. The port you are trying to communicate with is opened, but no values ​​can be sent from the server to the client. When I try to send a value from the server, an error occurs saying the connection has been lost. Thanks for letting me know what I'm missing.

Desktop (please complete the following information):

mycobot 320 pi (please complete the following information):

Additional context

anla-xu commented 1 month ago

The baud rate of 320 Pi is 115200. The default baud rate in Server.py is 1000000, so you need to change the last line of Server.py.