Commit Graph

1501 Commits

Author SHA1 Message Date
Daniel a959577ccf Better usage of Enum if typing.Self is availiable
Using Self will not report an override / incompatible error.
2024-08-28 12:58:24 +02:00
Daniel b061f9e951 Fix spelling mistakes 2024-08-28 12:58:24 +02:00
Daniel f797e1593a Improved get_waypoint disambiguation
correctly added two overload function
2024-08-28 12:58:24 +02:00
Daniel 41e595c056 Corrected and more precise type-hints
- fixed carla.Waypoint.next_until_lane_end
2024-08-28 12:58:24 +02:00
Daniel d9c217ee3c Added stubs for HUD drawing
Functions from #7168
2024-08-28 12:58:24 +02:00
Daniel a089c3b800 Formatted some docstring to be shorter 2024-08-28 12:58:24 +02:00
Daniel 19b892f76b Fix missing @property 2024-08-28 12:58:24 +02:00
Daniel 8df99c0414 Fix intendation shadowing methods 2024-08-28 12:58:24 +02:00
Daniel 2935897950 Added type hints for `values` attribute on enums 2024-08-28 12:58:24 +02:00
Daniel ddb5834e38 Corrected Sensor.is_listening
Was changed to a function in 0.9.15. More info see: https://github.com/carla-simulator/carla/pull/7439
2024-08-28 12:58:24 +02:00
Daniel e765559384 Added undocumented variables
FutureActor
laod_world_if_different
2024-08-28 12:58:24 +02:00
Daniel df1eb25721 Disambiguated get_waypoint signature
Syntax fix (squased)
2024-08-28 12:58:24 +02:00
Daniel caac503fdb Fixed CityObjectLabels 2024-08-28 12:58:24 +02:00
Daniel 4c086ad7d9 ActorList.filter actually returns ActorList 2024-08-28 12:58:24 +02:00
Daniel 1d4450b026 Filled in missing information and types. 2024-08-28 12:58:24 +02:00
Daniel 0197e0ae5b FIX: added ApplyTransform, fixed ApplyTorque 2024-08-28 12:58:24 +02:00
Daniel de33210abd FIX: __init__ methods do not return 2024-08-28 12:58:24 +02:00
Daniel a0cff71434 Added missing return value to reload_world 2024-08-28 12:58:24 +02:00
Daniel 232cb8c250 Added missing -> World to load_world 2024-08-28 12:58:24 +02:00
Daniel 755c0d827d Removed wrong unit indication 2024-08-28 12:58:24 +02:00
Daniel 4c1104dc47 Fixed spelling misstakes 2024-08-28 12:58:24 +02:00
Daniel f275e47f4e Added missing type for Labelled Point 2024-08-28 12:58:24 +02:00
Daniel 7b2c1db39b Added DSVEventArray iterator 2024-08-28 12:58:24 +02:00
Daniel bc6e7cd5ea Fixed missing return types 2024-08-28 12:58:24 +02:00
Daraan be8735fc28 Fixed Actor.parent
Can be None or an Actor
2024-08-28 12:58:24 +02:00
Daniel 951fcc4cc9 Fixes and missing Iterators 2024-08-28 12:58:24 +02:00
Minokori fd44ea0ca1 Add a `*.pyi` file for auto-completion & hints.
To enable auto-completion and hints in code editors such as VScode, create a `*.pyi` file. This feature is compatible with `python 3.9` and later versions.
2024-08-28 12:58:24 +02:00
Blyron f2695a17d1
Aaron/fixwheelchair (#8001)
* Fix OSM2ODR build

* Updated fix wheelchair default value
2024-07-31 13:10:11 +02:00
glopezdiest eeb507e585
Added inverse transform (#7999)
Co-authored-by: glopezdiest <glopez@cvc.uab.cat>
2024-07-31 10:37:32 +02:00
Blyron 8ba08e1f7e Update size value 2024-07-08 13:09:07 +02:00
Daniel 4da0c74154 Rework of BasicAgent's set_destination.
Covers the 4 cases
start_location=[None (default)/ not None]
clean_queue = [True (default), False)
2024-06-21 12:46:37 +02:00
MattRoweEAIF 18035969fe
changed get_required_files docs (#7763)
* changed get_required_files docs

* fixed overwritten user data
2024-06-10 17:02:53 +02:00
Daraan a06ab08c4c
Named and type-hint supporting detection results for the python agents. (#7174)
* Python agents: Created NamedTuple for Detection return types

* Python 2.7 and <3.6 compatible code

* Updated Changelog

* removed print

* Added file description

* removed unnecessary line

* Added Literal type hint for <3.8 Python

---------

Co-authored-by: glopezdiest <58212725+glopezdiest@users.noreply.github.com>
Co-authored-by: Blyron <53337103+Blyron@users.noreply.github.com>
2024-05-31 17:37:10 +02:00
joel-mb 01b1ede51a
Expose Telemetry Data (#5153)
* expose telemetry data to the client

* CHANGELOG updated

* minor fixes

* Added new telemetry parameters:

* Exposed omega instead of rpm
* Added tire_load, normalized_long_force, normalized_lat_force

---------

Co-authored-by: Blyron <53337103+Blyron@users.noreply.github.com>
2024-05-31 13:36:46 +02:00
Daraan d5c37f71b7
Corrected information that Sensor.is_listening is a method (#7439)
Co-authored-by: Blyron <53337103+Blyron@users.noreply.github.com>
2024-05-31 12:04:04 +02:00
Aaron 7b2ff04496 Not tests V2X tick 2024-05-24 12:33:41 +02:00
Daniel Grimm bace2f1aab comments and formatting 2024-05-03 12:23:02 +02:00
Daniel Grimm 7be2803454 add EOFs 2024-05-03 12:23:02 +02:00
Daniel Grimm 079f822911 remove comment 2024-05-03 12:23:02 +02:00
Daniel Grimm c7cfdad9a3 v2x 2nd try 2024-05-03 12:23:02 +02:00
MattRoweEAIF ed4e0176f7
Docs/updates april (#7419)
* fixed typos and broken links

* updated python_api.md

* fixed CityObjectLabel API docs

* added load_world_if_different to API docs

* added return type to reload_world

* updated python_api.md

* added FutureActor to API docs
2024-04-12 15:07:44 +02:00
MattRoweEAIF ca7fb1a511
Docs/updates april (#7418)
* fixed typos and broken links

* updated python_api.md

* fixed CityObjectLabel API docs

* added load_world_if_different to API docs

* added return type to reload_world

* updated python_api.md
2024-04-12 14:39:34 +02:00
MattRoweEAIF 054dae3a74
Docs/updates april (#7417)
* fixed typos and broken links

* updated python_api.md

* fixed CityObjectLabel API docs

* added load_world_if_different to API docs
2024-04-12 14:33:03 +02:00
MattRoweEAIF d589c45a5b
fixed typos and broken links (#7396)
* fixed typos and broken links

* updated python_api.md
2024-04-11 14:59:30 +02:00
Olli Koskelainen d5d3cf9edf
Debug drawing extension to allow drawing primitives on HUD layer (#7168)
* Extended debug draw functions to allow drawing primitives on HUD layer

* Added documentation for new drawing features

* Added debug draw changes to changelog

---------

Co-authored-by: Olli <olli.koskelainen@tuni.fi>
2024-03-27 12:28:43 +01:00
Axel a12a137c86 Added restore_physx_physics function 2024-03-25 17:01:52 +01:00
Daraan 7c9233bb54
Fixing distro deprecation in setup.py and failing installation on pure Debian (#6802)
* Fixed distro deprecation, failing on Debian

* Updated CHANELOG.md for distro deprecation

* Update setup.py

Substituted double occurring list.

---------

Co-authored-by: Daniel@copernicus <daniel.sperber@mail.uni-mannheim.de>
2024-03-18 10:41:05 +01:00
javiergrCS 3eb9a76263
Javiergr cs/get socket names (#7170)
* Added new function to obtain the name of all actor sockets

* Updating CHANGELOG.md

* Simplifying code of get_actor_socket_names function

---------

Co-authored-by: Blyron <53337103+Blyron@users.noreply.github.com>
2024-03-13 23:02:00 +01:00
MattRoweEAIF d3636d241c
fixed refs in dev (#7232) 2024-03-11 11:49:51 +01:00
Aaron 94df1fbe9b Trimed whitespaces 2024-03-07 12:36:53 +01:00