Results 42 issues of Daraan

#### Description This PR only adds comments that can be picked up by [mypy](https://mypy.readthedocs.io/en/stable/index.html) for example and does not modify any code. So far only type-hints for the CarlaDataProvider so...

Removes two deprecation warnings that come up in newer python version: - distutils will be removed in Python3.12, and marked as deprecated in 3.10 [PEP 632](https://peps.python.org/pep-0632/) - pkg_version, should not...

#### Description `carla.Sensor.is_listening` is defined twice (since #6013) the

#### Description When I worked with the agent functions at first I had some trouble understanding the semantics of the return types of the agent's detection functions (obstacle, traffic lights)....

I am using * Platform/OS: Ubuntu 22.04 * CARLA version: 0.9.15 dev, branch of d6049290b335e71f8b3130ffa0b90bf0cc1f6686, but also the latest dev version (May24) https://github.com/carla-simulator/carla/commit/9037124f594daa09f745f00d7125a513cac8aaaf on a new installation * **Map: Town04_Opt**...

I am using the current `dev` version of the simulator and the PythonAPI with Python 3.10 Since a few weeks I sometimes run into the error: ```py ImportError: /home/miniconda3/envs/leaderboard/bin/../lib/libstdc++.so.6: version...

This section in the BasicAgent always confuses me. https://github.com/carla-simulator/carla/blob/4da0c7415499981f29874b899edd00c1368df06f/PythonAPI/carla/agents/navigation/basic_agent.py#L378 ```py ego_transform = self._vehicle.get_transform() ego_location = ego_transform.location ego_wpt = self._map.get_waypoint(ego_location) ... # Get the transform of the front of the ego...

This is an updated version of the PRs #7009 + https://github.com/Minokori/carla/pull/1 from @Minokori who did the main and initial work and further corrections from me. As #7009 has not been...

The current requirements are quite restrictive and outdated for newer python versions. I think we should update the requirements file with some version checks to allow Python3.7+ and the latest...

I realized that in the `CarlaDataProvider._carla_actor_pool` more and more dead actors accumulated over time when scenarios run. The reason is that actors are created over the CDP and are added...