Commit Graph

5426 Commits

Author SHA1 Message Date
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 263d21bbce content version 2021-11-09 18:34:59 +01:00
bernatx fa51e45e16 Adding example of python script to draw skeleton bones 2021-11-09 17:10:06 +01:00
Jacopo Bartiromo 6e1a89b5fc change content version 2021-11-09 12:25:37 +01:00
Jacopo Bartiromo 2d8d738c33 Merge commit 2021-11-09 12:25:37 +01:00
Jacopo Bartiromo a55e877bf1 Fixes rpc error
Changes in function name
2021-11-09 12:25:37 +01:00
Jacopo Bartiromo 39e0fcbf1d Fixes RPC error when using update_vehicle_lights 2021-11-09 12:25:37 +01:00
Jacopo Bartiromo 19ae10af01 Removes unused variable
Improves vehicle behavior
2021-11-09 12:25:37 +01:00
bernatx 29ef62acf4 change some log types to debug only 2021-11-09 10:43:35 +01:00
bernatx 2df3f17d68 Add libraries to release docker file (to work with X server or headless) 2021-11-09 10:41:53 +01:00
bernatx c0a9174775 changelog 2021-11-09 10:36:08 +01:00
bernatx f4f144cc39 Add folder with current CARLA version to cache 2021-11-09 10:36:08 +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 afecb11454 Fixed proxies casting shadow. 2021-11-08 18:35:03 +01:00
amparore 62630cef0a
Fixes nullptr bug in CarlaRecorder::AddCollision (PR resubmit, for Axel1092) (#4727)
* Fixed bug causing the server to sigsegv when a vehicle collides an environment object in recording mode

* fix include for windows

Co-authored-by: Axel1092 <35765780+Axel1092@users.noreply.github.com>
Co-authored-by: bernatx <berni2berni>
2021-11-08 10:17:19 +01:00
Axel 2199d90e1f fixed smoke test 2021-11-08 09:30:35 +01:00
Axel 67dde79707 Added missing material. 2021-11-08 09:30:35 +01:00
Axel 1afce0ee55 Added checks to prevent rendering before component initilization for instance semantic segmentation. 2021-11-08 09:30:35 +01:00
Axel1092 c96370193b Added missing includes for Windows 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
bernatx e48d658699 changelog 2021-11-05 18:48:33 +01:00
bernatx 29474670ad Fix import script when mixing props and maps 2021-11-05 18:48:33 +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
Axel1092 4eeb479c45 Added missing windows includes. 2021-11-05 16:37:17 +01:00
Axel f93fe0f9a3 Fixed missing includes 2021-11-05 16:37:17 +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 a1ecf54f96 changeslog 2021-11-05 16:29:36 +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
bernatx 6ed174b72d Fix documentation git address 2021-10-27 09:16:38 +02:00
Axel e28186d3db Updated content versions 2021-10-26 18:43:48 +02:00
Axel 76ad143dbe Disabled physics for closed doors. 2021-10-26 18:43:48 +02:00
Axel b5d6eb264b Fixed constraints breaking on spawn. 2021-10-26 18:43:48 +02:00
Axel 62e9e8dc6a Added constraint handling capabilities for door animation 2021-10-26 18:43:48 +02:00
Hita Barasm Mamagani 9346d24b21 Updated CHANGELOG 2021-10-18 09:24:39 +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