Commit Graph

5411 Commits

Author SHA1 Message Date
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
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
Hita Barasm Mamagani 9c61516d6e Fix version mismatch 2021-10-11 07:41:59 +02:00
bernatx b617b4a95b Changing some ERROR logs by INFO logs 2021-10-05 19:31:56 +02:00
bernatx ffcaad9fd6 New Dockerfile for running package offscreen in a docker 2021-10-05 19:30:27 +02:00
Daniel Santos-Olivan e4243c890a manual_control: reset telemetry state when spawning new cars 2021-10-05 10:59:09 +02:00
Daniel Santos-Olivan fba2bd4b3e CarlaWheeledVehicle: Stop being simulated with telemetry
Until now, when the client asked to stop the telemetry, the
information was begin removed in the HUD but it was still being
simulated with telemetry data. Now, we call the new method to stop
the telemetry to completely removed this behaviour.
2021-10-05 10:59:09 +02:00
Jacopo Bartiromo 3858c5f04c
Improvements in Traffic Manager for 0.9.12 (#4686)
* 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.

* Cleanup

* Changelog

* Added a factor of vehicle length when checking for collision at low speed.

* Change in horizon rate
2021-10-05 10:57:47 +02:00
Guillermo 58fa31f63d Added CHANGELOG 2021-09-28 11:08:38 +02:00
Bernd Gassmann d112c3bfed Fix global route planner python agent
Ensure waypoint.right_lane_marking/left_lane_marking exist before
accessing
2021-09-28 11:08:38 +02:00
Axel 893fe216f0 Fixed crash in UE editor when replaying a recorded session. 2021-09-28 11:08:04 +02:00
Axel e4055ba230 Added examples for determinism. 2021-09-20 23:47:01 +02:00
bernatx 161b7f198f Refresh documentation with dev branch also 2021-09-20 23:46:16 +02:00
Daniel Santos-Olivan 6e1737ecc6 Added documention for door opening/closing 2021-09-16 11:28:46 +02:00
Daniel Santos-Olivan 727b10fe26 smoke_test: minor updates to test_vehicle_physics 2021-09-16 11:28:46 +02:00