Hello everyone, is there any way to automate the automatic restart of SITL with this error?
[Errno 111] Connection refused sleeping [Errno 111] Connection refused sleeping no link Attempting reconnect
This happens every time I fall to the ground while trying to perform an ACRO flip, and since Gazebo and SITL are backend parts for Unity, I don’t want to restart it with my hands every time, and the teacher won’t accept it that way.
@rhys I’m very sorry that I tag you every time, but the deadline for the project is coming soon
@VasilkovskiiVS I’m afraid I don’t have a quick fix for this to hand. I don’t understand how Unity is involved in your set up, in any case the issue will be in the socket reconnection logic of the ArduPilot plugin and SITL JSON backend. If other simulation engines resolve reconnects without this issue that would be a good place to start to understand how the Gazebo implementation differs.
Unity is used only for graphics, physics is provided by gazebo, and sitl only works with gazebo, and when collisions occur in gazebo, this error pops up. That’s why I wrote to you.