I'm trying to make a Carla environment for reinforcement learning algorithms using Carla 0.8.2, it's going really well util i send a control using function client.send_control which makes the client disconnect from the server and try to connect again.
the client I'm using is an object of the class CarlaClient
client=carla.client.CarlaClient('localhost',2000); client.connect(); client.send_control( steer=0.5, throttle=0.5 , brake=0, hand_brake=False, reverse=False)
after the last line, the client disconnect from the server
I traced the code and found that the disconnecting happens after the line self._control_client.write(pb_message.SerializeToString()) inside the send_control function
I tried to trace function _control_client.write() but it seems to work without problems.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm trying to make a Carla environment for reinforcement learning algorithms using Carla 0.8.2, it's going really well util i send a control using function client.send_control which makes the client disconnect from the server and try to connect again. the client I'm using is an object of the class CarlaClient
client=carla.client.CarlaClient('localhost',2000); client.connect(); client.send_control( steer=0.5, throttle=0.5 , brake=0, hand_brake=False, reverse=False)
after the last line, the client disconnect from the server I traced the code and found that the disconnecting happens after the lineself._control_client.write(pb_message.SerializeToString())
inside the send_control function I tried to trace function _control_client.write() but it seems to work without problems.