Commit Graph

1510 Commits

Author SHA1 Message Date
Daniel 3e828311d3
Improved Callable and callbacks signature 2024-08-08 15:04:31 +02:00
Daniel b04f41e429 Added Transform.inverse_transform and corrected signature
parameter is called in_point not in_vector
2024-08-08 14:57:59 +02:00
Daniel ba282546b0 Corrected [try_]spawn_actor keyword name 2024-08-08 14:57:59 +02:00
Daniel 9a77f5a054 Improved get_waypoints and Literal type hints 2024-08-08 14:57:59 +02:00
Daniel 17120e0609 Added setters for VehicleControl 2024-08-08 14:57:59 +02:00
Daniel 416206b8de Various fixes
- wrong signatures
- wrong names
2024-08-08 14:57:59 +02:00
Daniel 3b88788030 Added self parameter to property signatures 2024-08-08 14:57:59 +02:00
Daniel 6f9e126018 Fixes for wrong stubs
- OpendriveGenerationParameter had no init
- missing @property
- wrong signatures
2024-08-08 14:57:59 +02:00
Daniel ad4a777bb2 Fix: Enum values were tuples. Added Flag or Int to Enums 2024-08-08 14:57:59 +02:00
Daniel 00b0efbfdb Better usage of Enum if typing.Self is availiable
Using Self will not report an override / incompatible error.
2024-08-08 14:57:59 +02:00
Daniel 116cb5ccb1 Fix spelling mistakes 2024-08-08 14:57:59 +02:00
Daniel 224cae0108 Improved get_waypoint disambiguation
correctly added two overload function
2024-08-08 14:57:59 +02:00
Daniel 76a0fbd17f Corrected and more precise type-hints
- fixed carla.Waypoint.next_until_lane_end
2024-08-08 14:57:59 +02:00
Daniel 556c93c1f5 Added stubs for HUD drawing
Functions from #7168
2024-08-08 14:57:59 +02:00
Daniel abf1ee7492 Formatted some docstring to be shorter 2024-08-08 14:57:59 +02:00
Daniel b97909352a Fix missing @property 2024-08-08 14:57:59 +02:00
Daniel eb86391a88 Fix intendation shadowing methods 2024-08-08 14:57:59 +02:00
Daniel 3d820c6c54 Added type hints for `values` attribute on enums 2024-08-08 14:57:59 +02:00
Daniel adcf1069a0 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-08 14:57:59 +02:00
Daniel 34649f61b1 Added undocumented variables
FutureActor
laod_world_if_different
2024-08-08 14:57:59 +02:00
Daniel 4a84a52047 Disambiguated get_waypoint signature
Syntax fix (squased)
2024-08-08 14:57:59 +02:00
Daniel e0010b4272 Fixed CityObjectLabels 2024-08-08 14:57:59 +02:00
Daniel 1aed9bc6d6 ActorList.filter actually returns ActorList 2024-08-08 14:57:59 +02:00
Daniel 6095e728ff Filled in missing information and types. 2024-08-08 14:57:59 +02:00
Daniel 6b2afd4e18 FIX: added ApplyTransform, fixed ApplyTorque 2024-08-08 14:57:59 +02:00
Daniel c664716d9a FIX: __init__ methods do not return 2024-08-08 14:57:59 +02:00
Daniel 3f78f0f987 Added missing return value to reload_world 2024-08-08 14:57:59 +02:00
Daniel 4eba07e3ab Added missing -> World to load_world 2024-08-08 14:57:59 +02:00
Daniel 18674f70f2 Removed wrong unit indication 2024-08-08 14:57:59 +02:00
Daniel 5c332c3544 Fixed spelling misstakes 2024-08-08 14:57:59 +02:00
Daniel 5957832151 Added missing type for Labelled Point 2024-08-08 14:57:59 +02:00
Daniel 353e3ebece Added DSVEventArray iterator 2024-08-08 14:57:59 +02:00
Daniel 3a46c2324e Fixed missing return types 2024-08-08 14:57:59 +02:00
Daraan 9e79280549 Fixed Actor.parent
Can be None or an Actor
2024-08-08 14:57:59 +02:00
Daniel c886ba9dca Fixes and missing Iterators 2024-08-08 14:57:59 +02:00
Minokori 5f21dc7853 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-08 14:57:59 +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