Commit Graph

1390 Commits

Author SHA1 Message Date
jaivra 0f5252ad62 fixed the indentation of the assignment statement to control variable 2022-05-18 16:21:45 +02:00
glopezdiest a649c67d7e
Added failure states for vehicles (#5410)
* Added failure states for vehicles

* Added missing endline
2022-05-16 21:55:19 +02:00
Guillermo 79e6aec314 Pretty code 2022-05-13 09:00:46 +02:00
Guillermo c918960aa1 Added lane changes 2022-05-13 09:00:46 +02:00
Guillermo 49223437b2 Added the instances 2022-05-04 09:52:43 +02:00
Marcel Pi 139041fd7f
Improvements to the dust_storm weather parameter. (#5388)
* Switched DustStorm parameter from bool to float.

* Automatically detect clang version.

* Revert "Automatically detect clang version."

This reverts commit 4ac1c95c26.

* Update environment.py weather presets.

* Expose dust_storm console command in environment.py + documentation.

* Fix minor DustStorm preset error.

* Update CHANGELOG.md
2022-04-27 12:52:25 +02:00
Guillermo 8b8f703b43 Fixed bug at microlanes 2022-04-26 09:38:56 +02:00
Guillermo 46d50df7c5 Fix topology with ending lanes 2022-04-26 09:38:56 +02:00
glopezdiest 5003e58d7c
New ConstantVelocityAgent and TM parameter (#5290) 2022-04-20 14:44:27 +02:00
glopezdiest 8d5204e048
Added set_day_night_cycle parameter (#5322) 2022-04-13 18:25:46 +02:00
glopezdiest c977075b90
Added 4 new attributes to the vehicle blueprints (#5258)
* Added 4 new vehicle attributes
2022-04-12 15:57:54 +02:00
Marcel Pi a07cab89ab Fixed type error. 2022-04-05 11:52:16 +02:00
Marcel Pi 9d8c6175ab Added DustStorm boolean option in WeatherParameters. 2022-04-05 11:52:16 +02:00
anrp 60709f506b Switch to boost::variant2
boost::variant only supports up to 20 types (MPL limit). boost::variant2
has no such limit; switch to it.
2022-03-28 12:35:11 +02:00
Marcel Pi 8dfbb14852 Minor fix for test/smoke/test_sensor_tick_time.py
Added sensor.data.normals to the exception list of test_sensor_tick_time.py
2022-02-18 11:42:32 +01:00
Marcel Pi 98cf46d027 Minor fixes for the pull request.
Updated copyrights, added custom normal camera definition function in ActorBlueprintFunctionLibrary and fixed minor include error.
2022-02-18 11:42:32 +01:00
Marcel Pi 3b45bfd165 Added new sensor with camera normals 2022-02-18 11:42:32 +01:00
Joel Moriana 0e67ca23fd Handle steer speed in the ackermann controller 2022-02-08 20:15:57 +01:00
Joel Moriana 702bf9db50 removed tunning ackermann pid 2022-02-08 20:15:57 +01:00
Joel Moriana 8cc6f132fc First iteration ackermann controller 2022-02-08 20:15:57 +01:00
Guillermo 207ac8c78c Updated smoke test 2022-01-11 11:37:27 +01:00
Guillermo e0719a8270 Fixed vehicle sorting + WIP physics deter check 2022-01-11 11:37:27 +01:00
bernatx 613b4e5075 changing to version 0.9.13 2021-11-10 15:11:46 +01:00
Anshumaan Singh 50abe1218f Update manual_control_steeringwheel.py 2021-11-10 14:54:45 +01:00
Anshumaan Singh 39d6ede417 Fixed an error caused during map name being called
An incorrect attribute call was being made, so `map_name` was changed to `get_map().name` to fix it
2021-11-10 14:54:45 +01:00
bernatx fa51e45e16 Adding example of python script to draw skeleton bones 2021-11-09 17:10:06 +01:00
Jacopo Bartiromo 2d8d738c33 Merge commit 2021-11-09 12:25:37 +01:00
Axel e2aa1ab097 Added example script for runtime texture update 2021-11-09 00:01:30 +01:00
Axel b2b27175c4 Added documentation 2021-11-09 00:01:30 +01:00
Axel 2199d90e1f fixed smoke test 2021-11-08 09:30:35 +01:00
Axel 63d5b314c6 Added instance semantic segmentation sensors 2021-11-08 09:30:35 +01:00
bernatx 5695337c5b Fixing seed as unsigned int 2021-11-05 18:49:11 +01:00
bernatx 5864183fbc Adding documentation for the new function 2021-11-05 18:49:11 +01:00
bernatx 328cfca118 Adding seed for better pedestrians reproducibility 2021-11-05 18:49:11 +01:00
Axel c95ab47f87 Fixed compile errors in linux. Fixed lights not turning on at night. 2021-11-05 18:34:49 +01:00
berndgassmann 6fc187f4b3
RssSensor fixes (#4604)
* RssSensor fixes

RssSensor:
- make client side calculations threaded to ensure it is not
incrementally delaying the whole client
- support multiple instances of RssSensor
- initialize _last_processed_frame properly

RssRestrictor:
- enable python set_log_level

General:
- Update to RSS v4.4.2 and map v2.4.5_hotfix supporting elevation
- manual_control_rss: enalbe dynamics log level switching

* Update to ad-rss-lib 4.4.3

* really go to ad-rss-lib 4.4.3
2021-11-05 18:12:49 +01:00
Axel 33c044d493 Added option to change textures of multiple objects with a single call (saving texture memory). 2021-11-05 16:37:17 +01:00
Axel c99e5adf2a Added functions and structures to update textures in runtime. 2021-11-05 16:37:17 +01:00
bernatx 115fe2d915 Fixing docs 2021-11-05 16:29:36 +01:00
bernatx 4284ebb0e1 Added new pose to blend with the animation 2021-11-05 16:29:36 +01:00
bernatx b7a1685166 Return all transforms for bones (world, component and relative) 2021-11-05 16:29:36 +01:00
bernatx 93e4733cf8 First version, bones transform in world space 2021-11-05 16:29:36 +01:00
Guillermo 030b36eed7 Fixed collision detection for behavior agent 2021-11-05 15:40:28 +01:00
Jacopo Bartiromo 5f07128176
New Traffic Manager features for 0.9.13 (#4786)
* Changes in constant values
Added new constants

* Added Ambulance and Firetruck as unsafe vehicles in spawn_npc.py

* WIP: Rerouting algorithm

* Removing rerouting algorithm.
Fixed collisions at high speed.

* Changes to constant values and cleaning up.

* Users can now set their own path by giving a list of locations.
Implementation of RoadOption for SimpleWaypoints
Implementation of GetNextAction and GetActionBuffer for TM actions
Parameters for setting the path import and starting the import process.
Other minor changes

* Users now only need to use one parameter to import path

* added road option to the cache map

* Introduced RoadOption in InMemoryMap for each swp
Introduced getter in PythonAPI for high level path
Introduced getter in PythonAPI for next high level action
Introduced parameters for random lane changes
Fixed keep right parameter

* Introduced parameter SetImportedRoute to set a RoadOption path for TM controlled vehicles.
Method in Localization Stage to compute a path using RoadOptions.

* CHANGELOG.

* Changing names of methods
Cleanup

* Small changes to Collision Stage
Cleanup of SetRoadOption
Added debug_helper in Loc Stage (to be removed)

* Changes to get_next_action and get_all_actions
Fixed lane changes representation in those methods
Now get_next_action and get_all_actions need the Actor in Python

* Remove debug_helper
Set MAX_BRAKE to 0.7

* Constant values in Loc stage

* Code fixes

* Small changes in collision stage
Adding constants for VLStage
Changes in VLStage

* Choose randomly a right or left lane change if forcing both.

* Reviewable changes
Changes name of variables in Loc stage
Removed unnecessary import

* Minor final changes

* Change of method name in generate_traffic

* Change in Latest ContentVersion.txt

Co-authored-by: Joel Moriana <joel.moriana@gmail.com>
2021-11-03 11:06:14 +01:00
Luca 85da613f51
Vehicle lights state in traffic manager (#4717)
* added vehicle lights stage to the traffic manager under the dev branch

* update CHANGELOG to lastest version and added vehicle lights stage for automatically turn on-off lights

* added vehicle lights stage to the traffic manager under the dev branch

* removed commented code

* cleanups to the code, adding some comments to explain how the trafficmanagerlocal handles the command buffer

* fixing missing reference in ALSM constructor, disabling vehicle light state for dormant vehicles

* bugfix in vehicle_id_list access, added fix to avoid blinking brake lights due to throttle control

* requested changes in the vehicle light stage code

* missing namespace qualifier for constants

* Added explicit method to enable the vehicle lights management by the TM, on a per-vehicle basis. Changed generate_traffic.py to use the new vehicle lights stage instead of just setting a fixed, constant vehicle light status. Docs are updated, accordingly.

Co-authored-by: npunito <npunito>
Co-authored-by: Jacopo Bartiromo <32928804+jackbart94@users.noreply.github.com>
2021-10-28 16:09:14 +02:00
Hita Barasm Mamagani df9c6d20af Minor bug fixes in new util examples 2021-10-18 09:24:39 +02:00
Hita Barasm Mamagani 9b0751b6df Added missing required option from arguments 2021-10-18 09:24:39 +02:00
Hita Barasm Mamagani ee36e3993b Some bug fixes in new util examples 2021-10-18 09:24:39 +02:00
Hita Barasm Mamagani d1f6aa256e Added arguments to osm_to_xodr conversion example 2021-10-18 09:24:39 +02:00
Hita Barasm Mamagani e9330c5d61 Added two new python examples to Util 2021-10-18 09:24:39 +02:00