Commit Graph

1036 Commits

Author SHA1 Message Date
Javier Hidalgo-Carrió c45614c983 DVS camera sensor implementation 2020-05-08 20:08:27 +02:00
Marc Garcia Puig 536362e40f Fixed cheking a if signal ID exists befor using it 2020-05-08 12:12:57 +02:00
Timothy Scott fad5f8e7d1 Changed IMU to add gravity acceleration before rotating into IMU reference frame 2020-05-06 15:48:38 +02:00
Marc Garcia Puig e78ccc6852
Rain particles and Update.sh fixes (#2814)
* Fixed camera weather changes

* Updated changelog

* Fixed Update.sh when root path contains and space
2020-05-05 16:46:41 +02:00
bernat 4dc6eba755 New API function to add angular impulse to an actor 2020-05-05 11:16:23 +02:00
bernat 1a2c2ea76a Changing to version 0.9.9 2020-04-23 15:52:28 +02:00
Axel1092 835dccd470 Fixed standalone mode. 2020-04-22 20:58:46 +02:00
Axel1092 34d3919573 Fixed error unable to parse Opendrive. 2020-04-22 20:58:46 +02:00
Axel1092 269344a3ec Fixed reload map. Increased distance field atlas and texture pool. 2020-04-22 20:58:46 +02:00
Axel1092 ff97d65cc0 Fixed server-client sincronization for map change. 2020-04-22 20:58:46 +02:00
Axel1092 953a86d62a Load void map to prevent missing meshes. 2020-04-22 20:58:46 +02:00
doterop c50d87290a Added checks to avoid crash on LightSubsystem 2020-04-22 19:16:42 +02:00
bernat 6a4479ed16 Stop vehicles at end of the simulation, instead of using autopilot 2020-04-17 12:42:12 +02:00
doterop 4384e386c2
Light API (#2756)
* Added CarlaLight class.

* Added get and set for carla light type.

* Added LightManager, Light and LightState

* Fixed unapplied changes

* Fixed LM::GetAllLights

* Fixed Python getter

* Added LightManager, Light and LightState. Python bindings included.

* Completed LightManager communication and LightSubsystem on server

* Fixed concurrency and color conversion

* Added check for null case on RegisterLight and UnregisterLight

* Fixed map change crash in editor.

* Added client syncronization.

* Updated Python docs.

* Fixed client sync

* Added CarlaLight class.

* Added get and set for carla light type.

* Added LightManager, Light and LightState

* Fixed unapplied changes

* Fixed LM::GetAllLights

* Fixed Python getter

* Added LightManager, Light and LightState. Python bindings included.

* Completed LightManager communication and LightSubsystem on server

* Fixed concurrency and color conversion

* Added check for null case on RegisterLight and UnregisterLight

* Fixed map change crash in editor.

* Added client syncronization.

* Updated Python docs.

* Fixed client sync

* Updated changelog

* New iteration on lights docs

* Fixed docs

* Content version updated

* Removed NonCopyable

* Compilation fix.

Co-authored-by: Axel1092 <axellopez92@outlook.com>
Co-authored-by: sergi-e <rigesklaine@gmail.com>
Co-authored-by: bernat <bernatx@gmail.com>
2020-04-17 12:29:54 +02:00
Axel1092 6f3c4788d8 Added displacement to signals overlapping driving lanes. Fixed crash when closing spawn_npc with signals. 2020-04-14 21:00:04 +02:00
Axel1092 f5208bebe7 Removed singal inclination due to road rotation. 2020-04-13 18:26:11 +02:00
Axel1092 45dc963ea6 Fixed traffic light generation with missing speed information in OpenDRIVE. 2020-04-13 18:26:11 +02:00
Axel1092 d5c57e8903 Added parameter to enable/disable junction smooting. Moved config file variables to CarlaGameInstace for opendrive generation parameters. 2020-04-13 16:50:32 +02:00
Marc Garcia Puig e2c0349ef6 Exposed max chunk size to the PythonAPI 2020-04-13 16:50:32 +02:00
Axel1092 5ddb97a58e Added parameter to disable rendering meshes generated from OpenDRIVE. 2020-04-13 16:50:32 +02:00
Marc Garcia Puig 00a73c4f02 Splited the map generation in chunks 2020-04-13 16:50:32 +02:00
Marc Garcia Puig 910c8f795a Added OpDR stdl mesh normal generation 2020-04-13 16:50:32 +02:00
doterop 79d6298395 Cleaned logs 2020-04-13 13:06:38 +02:00
Axel1092 9d20cfbe6d Fix to prevent spawning multiple times the same traffic light. 2020-04-09 11:19:21 +02:00
Axel1092 07334ce6e4 Moved trigger box spawn logic from TrafficLightManager to TrafficLightCOmponent. Added spawn of traffic lights without controllers outside junctions. 2020-04-09 11:19:21 +02:00
doterop a25842d924 Removed duplicated props 2020-04-08 09:12:25 +02:00
Axel1092 1e06309953 Added warning when signals overlap driving lanes. 2020-03-31 12:12:02 +02:00
Marc Garcia Puig 0eed245e34 Review fixes 2020-03-31 12:11:39 +02:00
Marc Garcia Puig 5520f31d0a Exposed road mesh generation params to PythonAPI 2020-03-31 12:11:39 +02:00
Marc Garcia Puig 0999b0ba05 Added basic walls to standalone OpenDRIVE mode 2020-03-31 12:11:39 +02:00
doterop 9dfbb14276 Fixing codacy issues 2020-03-30 19:44:46 +02:00
doterop 081de023ce Added methods to get trafficlights and trafficsigns from landmarks 2020-03-30 19:44:46 +02:00
Axel1092 5c5028aeb3 Small float product optimization. 2020-03-30 14:40:39 +02:00
Axel1092 e7082fae9f Removed collision from signals defined in the middle of a driving lane. 2020-03-30 14:40:39 +02:00
Axel1092 d9c4de2c54 Removed debug code. 2020-03-30 14:40:39 +02:00
Axel1092 d140688042 Fixed warnings. Fixed missing assets in package. 2020-03-30 14:40:39 +02:00
Axel1092 a89e505785 Added restriction to make trigger boxes only spawneable in driving roads. 2020-03-30 14:40:39 +02:00
Axel1092 1b108a027c Review fixes. Added default lane validity if missing record in OpenDRIVE. Added Automatic spawn of traffic lights and signals to the map generation without geometry. 2020-03-30 14:40:39 +02:00
Axel1092 12a5f6f5d0 Added Yield signal triggerbox generation. 2020-03-30 14:40:39 +02:00
Axel1092 df75abf5bf Added stop sign automatic triggerbox generation. 2020-03-30 14:40:39 +02:00
Marc Garcia Puig d9b216c474 Added basic support for pedestrian crosswalks 2020-03-27 12:51:34 +01:00
Axel1092 2c6483d194 Fixed warning in GenerateTriggerBox function. 2020-03-23 13:36:12 +01:00
Axel1092 892cab9dab Removed debug code. 2020-03-23 13:36:12 +01:00
Axel1092 7497ff5e3a Comented debug code. 2020-03-23 13:36:12 +01:00
Axel1092 6acecb2579 Added spawn of traffic signals. 2020-03-23 13:36:12 +01:00
Axel1092 8891fcb881 Added spawn of trigger boxes for traffic lights. 2020-03-23 13:36:12 +01:00
Axel1092 ad4fea3604 Updated Engine version in uproject file. 2020-03-20 12:01:30 +01:00
Axel 79ebb51a22 Fixed deprecated warnings. 2020-03-20 12:01:30 +01:00
Axel 6ba4d68a48 UE4.22 to UE4.24 upgrade. 2020-03-20 12:01:30 +01:00
doterop 346a513099 Fixed merge issues 2020-03-18 20:49:37 +01:00
doterop f34b884fc1 Fixed missed actor's pointers 2020-03-18 20:49:37 +01:00
dotero ed9f2bda51 WIP! Update on GetGroupTrafficLights, still not working properly 2020-03-18 20:49:37 +01:00
dotero 40dc7bd7c5 Rollback component serialization and updated querries to use the new components if possible 2020-03-18 20:49:37 +01:00
doterop cbb0b711db Fixed server serialization 2020-03-18 20:49:37 +01:00
doterop 38d4c8d551 TrafficLights spawned now are added to the episode 2020-03-18 20:49:37 +01:00
doterop 1fb733c085 Fixed buffer resize when parsing components 2020-03-18 20:49:37 +01:00
dotero 783643f051 Updated traffic light serialization on server side 2020-03-18 20:49:37 +01:00
Axel c7114e436b Review fixes. 2020-03-11 12:09:02 +01:00
Axel 020d38a963 Small fix. 2020-03-11 12:09:02 +01:00
Axel b10ee61808 Review fixes. 2020-03-11 12:09:02 +01:00
Axel ad2f05673c Style fixes. 2020-03-11 12:09:02 +01:00
Axel 1336640d2b Added default traffic light. 2020-03-11 12:09:02 +01:00
Axel e2f9fa605f Implementing signal spawn from OpenDRIVE. 2020-03-11 12:09:02 +01:00
Axel d533e359b6 Added Traffic Lights from OpenDRIVE. 2020-03-11 12:09:02 +01:00
dotero 0b9084495b Adding Controllers to the parser 2020-03-11 12:09:02 +01:00
dotero 8c08df6423 WIP!! Adding OpenDrive parsing to Server 2020-03-11 12:09:02 +01:00
dotero 853317b594 Creation of TrafficLight and Sign Components on UE 2020-03-11 12:09:02 +01:00
bernatx 7509e9d8de Changing version to 0.9.8 2020-03-06 16:11:51 +01:00
Marc Garcia Puig 1fa0400d9c Fixed package RecastBuilder call path 2020-03-06 09:49:38 +01:00
Marc Garcia Puig ee343dbe9b Added support for recast build from server-side 2020-03-06 09:49:38 +01:00
doterop 85b192530d
Doterop/traffic manager (#2468)
* Initial implementation of t.m. performance script

* Remove redundant getLocation() calls

* Demo for inter-client communication via Carla server

* WIP: To do: For client usage needed to be changed.

* Instead or client instance episodeProxy is passed to TM

* Instead or client instance episodeProxy is passed to TM

* parmeter improvements (walkers,cars,signs,lights)

* adding section id to map setup

* fix manual_control to reload car with autopilot on

* Instead of client instance episodeProxy is passed to TM.

* WIP: Only added vehicle register via RPC server / client call in TM to
local instance from remote instance. Similarly other APIs we need to
added.

* Added all TM APIs

* carla client now can provide TM instance if required.

* While getting TM instance if server given data is not valid new TM
instace is created. Need to decide what to do with earlier registed
vehicle with previous TM.

* Updated with HealthCheckRemoteTM() function to check TM server status
instead of ResetAllTrafficLights() for any new user client.

* Dynamic port selection added to TM server instace (in case of multiple
TM serve run, it required).

* Fixed change map error

* If registered TM at carla server is not present then remote TM should be
freed and new local TM instance is created.

* Created Process for Local TM.
It cheaks with total registered vehicles in it, if no register vehicles
for 5 sec, it closes it self.

In python spawn_npc.py Client Timeout set to 10 sec. as creating Process
is system dependent call and takes time.

User has to unregister vehicle before destroying it (if activated with
TM). Also neet to check TM unregister function to remove vehicles from
register list.

* Fix for collision ignore bug

* Update TM exit function check to compare registered vehicles with world
actors that if any valid vehicle present cointinue to run the TM else
stop.

* Print removal

* Splited work of main for loop in ApplyBatchCommandsSync

* WIP! Trying to get client directly

* WIP! Trying to access episode properly without getting it from TM ctr

* Changes to BatchControlStage for Sync Mode
Changes to Parameters for Synch Mode

* Added port support for TM. Multiclient MultiTM

* Added additions for RPC Synchronous Tick to TM.
Error handeling and code organization.

* Exposed API for Sync Mode

* TMServer notifies Server that it is gonna be destroyed

* Exposed Python API for Sync Mode

* Add TM as separate process and synchronous tick calls

* SetSynchronousModeTimeOutInMiliSecond method added

* TM shutsdown and informs to the connected clients

* WIP! Map change issues again

* Updated Traffic Manager for:
1) Multi-client, Multi-TM (as required) can be reistered to server.
2) TM is not a PROCESS separated from the user-client.
3) TM will exit if user-client exit.
4) If server closed, TM also get closed by catching runtime err.

* Server side changes ...

* Fixed possible stall on TM destruction

* fixing collision stage + cybertruck not safe

* Merge branch 'master' into 'soumyadeep/traffic_manager'

* WIP! Disconnection of server has to be properly handled by clients

* format update

* Fix bug unsignalized junctions

* # WARNING: head commit changed in the meantime

Merge branch 'doterop/traffic_manager' into soumyadeep/traffic_manager
Updates for Syncronized Tick.

* Updated runtime exception in Episode for smooth exit if TN server closed
for any other user client.

* Better Exception handeling

* Merged with jackbart94/tm_reduce_getloc_calls

* Merged soumyadeep/traffic_manager.
Removed World getter and recovered Episode as a parameter of TM ctr.
Fixed syntax errors.

* Initial implementation of t.m. performance script

* Remove redundant getLocation() calls

* Demo for inter-client communication via Carla server

* WIP: To do: For client usage needed to be changed.

* Instead or client instance episodeProxy is passed to TM

* Instead or client instance episodeProxy is passed to TM

* parmeter improvements (walkers,cars,signs,lights)

* fix manual_control to reload car with autopilot on

* Instead of client instance episodeProxy is passed to TM.

* WIP: Only added vehicle register via RPC server / client call in TM to
local instance from remote instance. Similarly other APIs we need to
added.

* Added all TM APIs

* carla client now can provide TM instance if required.

* While getting TM instance if server given data is not valid new TM
instace is created. Need to decide what to do with earlier registed
vehicle with previous TM.

* Updated with HealthCheckRemoteTM() function to check TM server status
instead of ResetAllTrafficLights() for any new user client.

* Dynamic port selection added to TM server instace (in case of multiple
TM serve run, it required).

* Fixed change map error

* If registered TM at carla server is not present then remote TM should be
freed and new local TM instance is created.

* Created Process for Local TM.
It cheaks with total registered vehicles in it, if no register vehicles
for 5 sec, it closes it self.

In python spawn_npc.py Client Timeout set to 10 sec. as creating Process
is system dependent call and takes time.

User has to unregister vehicle before destroying it (if activated with
TM). Also neet to check TM unregister function to remove vehicles from
register list.

* Fix for collision ignore bug

* Update TM exit function check to compare registered vehicles with world
actors that if any valid vehicle present cointinue to run the TM else
stop.

* Splited work of main for loop in ApplyBatchCommandsSync

* WIP! Trying to get client directly

* WIP! Trying to access episode properly without getting it from TM ctr

* Changes to BatchControlStage for Sync Mode
Changes to Parameters for Synch Mode

* Added port support for TM. Multiclient MultiTM

* Added additions for RPC Synchronous Tick to TM.
Error handeling and code organization.

* Exposed API for Sync Mode

* TMServer notifies Server that it is gonna be destroyed

* Exposed Python API for Sync Mode

* Add TM as separate process and synchronous tick calls

* SetSynchronousModeTimeOutInMiliSecond method added

* TM shutsdown and informs to the connected clients

* WIP! Map change issues again

* Updated Traffic Manager for:
1) Multi-client, Multi-TM (as required) can be reistered to server.
2) TM is not a PROCESS separated from the user-client.
3) TM will exit if user-client exit.
4) If server closed, TM also get closed by catching runtime err.

* Fixed possible stall on TM destruction

* fixing collision stage + cybertruck not safe

* Merge branch 'master' into 'soumyadeep/traffic_manager'

* WIP! Disconnection of server has to be properly handled by clients

* format update

* Fix bug unsignalized junctions

* # WARNING: head commit changed in the meantime

Merge branch 'doterop/traffic_manager' into soumyadeep/traffic_manager
Updates for Syncronized Tick.

* Updated runtime exception in Episode for smooth exit if TN server closed
for any other user client.

* Better Exception handeling

* Merged with jackbart94/tm_reduce_getloc_calls

* Merged soumyadeep/traffic_manager.
Removed World getter and recovered Episode as a parameter of TM ctr.
Fixed syntax errors.

* Rebased with master

* Changes after rebase

* Solving tab errors

* Updated Changelog

* Removing Destroyed vehicle's from TM Server

* Fixed uint compatibility with Windows

* Merged soumyadeep/traffic_manager. Discarded destroyed actors

* -Removed unnecessary files

* restoring docs from rebase

* Fix windows compilation

* refactoring stage-related code

* more code refactoring

* When map change the simulation doesn't throw exception anymore

* Fixed incorrect episode

* Fixed map change and TM remote detached thread destruction

* Syntax and comments fixes

* Missed change on previous commit

* Fixed compile minor compile issue

* Cleaned and fixed some issues after merge

* fix to sync localization bugs
modified PID parameters
revamping spawn_npc

* deleted tm_spawn_npc

* fixes spawn error in sync mode

* Redoing TM sync logic

* finished performance benchmark for tm

* deprecated wrapped methods:
register_vehicle
unregister_vehicle

* New TM management

* Fixed sync mode on TM

* Cleaned TM of prints and unussed functions

* collision stage checks for (0,0,0) to ignore.
in memory map has an # between keys to avoid possible mixup.
fixed spawn_npc with new sync mode

* changelog

* added more connection retries

* fixed changelog + comments (see reviewable)

* Moved socket include's to single header

* Added missing line at the end of the file

* Fixed syntax errors

* final commit

* Minor correction in comment

* update copyright year to 2020 + removed break

* restoring unwanted changes

* patch for smoke test error

* Removed "todo" for pylint

Co-authored-by: Jacopo Bartiromo <32928804+jackbart94@users.noreply.github.com>
Co-authored-by: Praveen Kumar <35625166+pravinblaze@users.noreply.github.com>
Co-authored-by: Soumyadeep <soumyadeep.dhar@kpit.com>
Co-authored-by: joel-mb <joel.moriana@gmail.com>
Co-authored-by: Sekhar Barua <58979936+sekhar2912@users.noreply.github.com>
Co-authored-by: bernat <bernatx@gmail.com>
Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-02-28 19:58:13 +01:00
Marc Garcia Puig 790c6e9058 Fixed pedestrian navigation when import command 2020-02-28 16:01:47 +01:00
bernat f41d2a5116 Protect again against replacing package 2020-02-28 16:01:47 +01:00
Michele Bianchi 2094f85009 Removed random runaway newline 2020-02-28 16:01:47 +01:00
Michele Bianchi fdfb18df11 Added comment and removed an empty line 2020-02-28 16:01:47 +01:00
Michele Bianchi 501a643340 Fixed strange deletion and saving order 2020-02-28 16:01:47 +01:00
Michele Bianchi a1a1aa3f01 Change Roadrunned semantic names in the move commandlet 2020-02-28 16:01:47 +01:00
bernatx 878e8123da Fix Road tag and add some sidewalk to semantic segmentation 2020-02-28 16:01:47 +01:00
Michele Bianchi 005aafd2de Removed random runaway newline 2020-02-28 16:01:47 +01:00
Michele Bianchi 6d28e33ab2 Updated RoadRunner tags comment 2020-02-28 16:01:47 +01:00
Michele Bianchi 5d4f08f078 Added comment and removed an empty line 2020-02-28 16:01:47 +01:00
Michele Bianchi dcc299cfb6 Fixed strange deletion and saving order 2020-02-28 16:01:47 +01:00
Michele Bianchi bac38b5339 Updated list of semantic tags for the Move Assets commandlet 2020-02-28 16:01:47 +01:00
Michele Bianchi 3f7c7d2882 Change Roadrunned semantic names in the move commandlet 2020-02-28 16:01:47 +01:00
Marc Garcia Puig c64a2f24ba Removed comments 2020-02-28 11:02:45 +01:00
Marc Garcia Puig f2fcc64a1c Disabled OpenDriveMap from appearing on map list 2020-02-28 11:02:45 +01:00
Marc Garcia Puig 28396910ff Added the map to the default package 2020-02-28 11:02:45 +01:00
Marc Garcia Puig 13432ef578 Extended util/config.py with custom xodr maps 2020-02-28 11:02:45 +01:00
Marc Garcia Puig 955b753b83 Improved standalone OpenDRIVE usability 2020-02-28 11:02:45 +01:00
Marc Garcia Puig a8aa5afa0a Added basic support for the client using custom xodr on server 2020-02-28 11:02:45 +01:00
bernatx afccad440a Changes from PR 2020-02-27 10:10:21 +01:00
bernatx 85619ea31e Adding Ignore Hero to Replayer (Issue 1769) 2020-02-27 10:10:21 +01:00
Axel aa78942489 Added support for nearest neighbour for all geometries. Added geometry poly3. 2020-02-07 17:16:48 +01:00
Marc Garcia Puig 459581b09f Exposed car lights to the client 2020-02-04 10:39:01 +01:00
Shubham Paul 3aae33b10f fixed doppler velocity (using the delta v component along the radar and the reflection point instead of the actor) 2020-02-03 11:54:45 +01:00
doterop a52e97f3c3 Added missing end of file line. 2020-01-20 20:53:58 +01:00
marcos909 77fbadbf65 weather.py --> Added wetness, changed "cloudyness" , fixed some functions
Weather.cpp --> Skip weather
Weather.h --> Added "SetWeather" Function
2020-01-20 20:53:58 +01:00
marcos909 c3a89b5a57 Upload client_test.py as weather in utils
Activate mesh distance fields
2020-01-20 20:53:58 +01:00
Marc Garcia Puig a41bf95afd Added more weather attributes 2020-01-20 20:53:58 +01:00
bernatx f3022b9150 Fix Low / Epic quality levels transition 2020-01-15 15:12:34 +01:00
bernat b9fbbf7fd0 Release candiadate (#2310) 2019-12-21 04:59:22 +01:00
germanros1987 ab97355040
Upgraded parameters of Unreal/CarlaUE4/Config/DefaultInput.ini to prevent mouse freeze (#2308) 2019-12-18 18:31:53 -08:00
bernatx 47a2d82738 Release Linux 0.9.7 2019-12-11 18:17:36 +01:00
bernatx 9699673a46 Force complex collisions as simple when importing a new map 2019-12-11 15:17:51 +01:00
bernatx 5f1b5e18e0 Fix import on windows, and rename imported assets 2019-12-11 15:17:51 +01:00
bernatx d0ec9e85b8 Changes from PR 2019-12-11 14:51:47 +01:00
Marc Garcia Puig 4e540a15a3 Fixed unnecessary whitespaces 2019-12-11 14:51:47 +01:00
bernat d3696d6b1e Fixing TAB by SPACES 2019-12-11 14:51:47 +01:00
bernatx e75907560c Changing license in files 2019-12-11 14:51:47 +01:00
bernatx 2ec2e7fae9 Removing resources of plugin (icons) 2019-12-11 14:51:47 +01:00
bernatx e831db817f Moving plugin command to File submenu 2019-12-11 14:51:47 +01:00
bernatx b5ff6e5ee4 Make specific order of objects in export 2019-12-11 14:51:47 +01:00
bernatx 2a3264af83 Add option to export all geometry using special nomenclature 2019-12-11 14:51:47 +01:00
bernatx ed5588f4c3 First working version 2019-12-11 14:51:47 +01:00
bernatx 4738f734de Fixed IMU compass, and windows compilation 2019-12-11 12:07:59 +01:00
bernatx ee2949abdd Fixes from the review of PR 2019-12-11 12:07:59 +01:00
bernatx 3354f73fcb Search binary file for navigation recursively 2019-12-11 12:07:59 +01:00
bernatx 865202f233 Unblocking walkers by distance 2019-12-11 12:07:59 +01:00
bernatx 5b7fcbd689 Controlling how many pedestrians can cross the road 2019-12-11 12:07:59 +01:00
Xavi 632738b3c3 Disable Mesh Distance Fields 2019-12-10 22:42:55 +01:00
SK398497 2e5cde1181 Update ObstacleDetectionSensor.cpp
Change 100.0 to 100.0f as requested by bernatx in Pull Request #2182 from the carla master branch.
2019-12-10 14:48:59 +01:00
Iva Lilova 302ed9bbb7 Return HitDistance instead of HitRadius 2019-12-10 14:48:59 +01:00
dotero 7f91986f69 Fixed ray distribution calculation 2019-12-10 13:29:14 +01:00
Marc Garcia Puig d682577169 Changed Radar's API naming 2019-12-10 13:29:14 +01:00
dotero 158b5ed2cc WIP! Refactoring distribution of the rays. 2019-12-10 13:29:14 +01:00
dotero 617b5ae699 Fixed relative velocity calculation 2019-12-10 13:29:14 +01:00
Marc Garcia Puig 2a11d4528f Added Radar default noise 2019-12-10 13:29:14 +01:00
dotero ba32d5a08e Fixed comments with no ASCII characters 2019-12-10 13:29:14 +01:00
dotero 47aa772b60 Removed debug lines 2019-12-10 13:29:14 +01:00
dotero 396ef46d43 Fixed velocity, azimuth and elevation calculation and Distance limit of the ray. 2019-12-10 13:29:14 +01:00
Marc Garcia Puig a038e45842 Fixed detection, SI units & parameters for radar 2019-12-10 13:29:14 +01:00
dotero 839ac4878f WIP! Added Azimut and Elevation calculation. 2019-12-10 13:29:14 +01:00
dotero 3b8be7062a - WIP! Added actor detection and velocity calculation 2019-12-10 13:29:14 +01:00
Marc Garcia Puig 38ceb098a5 Added Radar client-server connection 2019-12-10 13:29:14 +01:00
Johannes Quast fe83f1ab3b Add Responsibility Sensitive Safety (RSS) to CARLA Client library
- Add build variant with RSS sensor
 - Add RSS result visualization
 - Add RSS Restrictor implementation
 - Add RSS manual control example
2019-12-09 16:37:32 +01:00
Xavi 3e15ed3a2f Change Bias of SAO to fix weird shadows in pedestrians 2019-12-09 12:03:25 +01:00
Marc Garcia Puig 8b88803163 Fixed PR review recommendations 2019-11-20 16:06:47 +01:00
Marc Garcia Puig e4279b79e2 Added noise seed to GNSS sensor 2019-11-20 16:06:47 +01:00
Marc Garcia Puig 67c9ccf549 Added noise seed for IMU 2019-11-20 16:06:47 +01:00
dotero 12dda6538a Updated calculation of acceleration 2019-11-20 16:06:47 +01:00
Marc Garcia Puig 2ac14d8fad Some small code fixes and comments 2019-11-20 16:06:47 +01:00
Marc Garcia Puig 1f91f5b350 Added IMU (normal distribution) noise 2019-11-20 16:06:47 +01:00
Marc Garcia Puig 8955d61a2e Renamed few variables 2019-11-19 16:10:39 +01:00
Marc Garcia Puig a21160743f Removed unnecessary function 2019-11-19 16:10:39 +01:00
Marc Garcia Puig 535cb7681e Small fixes in gnss and in automatic BP doc gen 2019-11-19 16:10:39 +01:00
dotero 2bc3b397cb Added missed Set function to Gnss and fixed Set function in BlueprintLibrary 2019-11-19 16:10:39 +01:00
Marc Garcia Puig 5e17f743cd Fixed small compilation error 2019-11-19 16:10:39 +01:00
dotero ba9f9b09c7 Added noise to Gnss 2019-11-19 16:10:39 +01:00
dotero 7b3a41060c Updated Gnss Serializer 2019-11-19 16:10:39 +01:00
codeffee 4afde0117c Fixed previous commit 2019-11-19 16:10:39 +01:00
codeffee 1749f2f2af Removed Vector3D ctr and operator= and updated some function names 2019-11-19 16:10:39 +01:00
dotero b52543e952 Fixed code format issues 2019-11-19 16:10:39 +01:00
dotero fc8cf109eb Now Episode holds the GeoLocation information of the map instead of GameMode. 2019-11-19 16:10:39 +01:00
doterop 4ec1338007 Moved GNSS sensor from client to server 2019-11-19 16:10:39 +01:00
Marc Garcia Puig 6187bf4916
New sensor: Inertial measurement unit (IMU) (#2220)
* Added IMU sensor to the client-server pipeline

* Fixed lane_explorer.py with the new debug API

* Changed compass output to standard compass degrees

* - Added accelerometer calculation to IMU.

* Added angular velocity to the IMU

* Changed IMU acceleration from world to local

* Updated changelog

* Updated accelerometer. Now uses vehicle movement component information instead of pawn information.

* Added docs regardings new sensors

* Fixed SI units in Lidar

* Fixed core dumped when using other python modules

* Explicitly deleted  Vec3D from FVec constructors

* Removed redundant DeltaTime calculation
2019-11-13 18:50:21 +01:00
Xavi 714f8c4cbf Remove Depth of Field to eliminate the blur it produces with nearby objects. (#2173)
Tweak PostProces values of CameraSceneCapture: Bloom and SSAO
2019-10-25 16:56:22 +02:00
Xavi 8e2a15f3d5 Animations_SceneCaptureSensor (#2151)
* Animations_SceneCaptureSensor

* Modify_spawn_npc.py

* Removed animations changes
2019-10-10 11:54:55 +02:00
Marc Garcia Puig 3b625c28f9
Lens distortion shader (#2145)
* Exposed DOF and Exposure in Python for  RGB sensor

* Fixed blueprint waypoint functions

* Added Tonemapper settings

* Improved lens shader

* RGB camera have lens shader by default

* Adjusted lens shader

* Added lens disortion to Depth and SemSeg sensors

* Added Chromatic Aberration to Camera API

* Added the blueprint doc_gen and updated docs

* Sorted blueprint attributes in docs

* Added docs about new camera attributes

* Spelling fixes in docs

* Sorted includes

* Fixed travis pylint 3
2019-10-03 19:08:53 +02:00
manishthani 89e329b738
Fixed bugs of importing assets (#2068)
* Refactor Commandlet + made small fix

* fixed scale of assets when importing them

* Fixed bug of adding assets automatically, but semantic segmentation to be fixed

* small fix + hiding movemeshes call until its stable

* Meshes are moved to semantic segmentation folders

* Retagging semantic segmentation

* Redefined tags, refactor and added comments

* Updated Changelog

* created a move assets commandlet

* Removing RoadRunnerFiles folder

* readded flag of only prepare maps in import script

* Removing ContentBrowser module

* Added Import folder

* updated readme

* Apply zero rotation

* updated doc link

* updated readme

* refactoring

* Adding more comments and refactoring

* Removed unnecesary include header files

* Remove unnecessary includes in source files
2019-09-17 14:57:22 +02:00
Marc Garcia Puig 865eccb863 Extended RGB sensor (#1950)
* Exposed DOF and Exposure in Python for  RGB sensor

* Fixed blueprint waypoint functions

* Added Tonemapper settings

* Exposed camera temperature and tint

* Updated Changelog
2019-08-02 17:40:05 +02:00
bernat 47cfba6c54
Fix Windows build (#1910)
* Fix function in conflict with Windows Unicode API

* Minor corrections from PR
2019-07-22 16:17:28 +02:00
nsubiron e2c4dc1312 Increase version 2019-07-12 19:39:27 +02:00
Marc Garcia Puig 29bf420fda Updated changelog and review changes 2019-07-12 18:38:25 +02:00
bernatx 17ef5f41f9 Minor fixes from PR 2019-07-12 18:34:24 +02:00
bernatx f820826f7f Added text to new debug system 2019-07-12 17:43:32 +02:00
Marc Garcia Puig 0b8837f34c Added arrows, and boxes to the new debug system 2019-07-12 17:19:18 +02:00
Marc Garcia Puig 7a2b283471 Added Lines and Points render on shipping package 2019-07-11 15:55:35 +02:00
Manish 5a8d326521 fixing includes 2019-07-10 01:35:47 +02:00
Manish f0d7055068 Updated doc and refactor 2019-07-10 01:35:47 +02:00
Manish c3b9647c87 Find recursively all Package.json files in Content 2019-07-10 01:35:47 +02:00
Manish edc27f7add Modified pipeline, now make import prepares maps for cooking 2019-07-10 01:35:47 +02:00
Manish 621120ad80 Changing pipeline and changin make package for town06 and town07 2019-07-10 01:35:47 +02:00
Manish db88de61c6 Updating documentation and refactoring 2019-07-10 01:35:47 +02:00
Manish 91d815e115 Updated doc and renamed commandlet 2019-07-10 01:35:47 +02:00
Manish c036bc75d9 Fixed bugs
- All actors from all maps where spawned in each map
- World was completely dark when playing imported map
2019-07-10 01:35:47 +02:00
Manish 6f22259c29 deleting useless files 2019-07-10 01:35:47 +02:00
Manish b7c670f638 Solved importing for more that 1 package and avoid propmap creation if no props found 2019-07-10 01:35:47 +02:00
Manish a9eafaba25 Fixed bug of accumulating Opendrive actors for maps 2019-07-10 01:35:47 +02:00
Manish b988b597ee Check if xodr file exists + refactor 2019-07-10 01:35:47 +02:00
Marc Garcia Puig 987a257800 Now 'make package' works with standalone packages 2019-07-10 01:35:47 +02:00
Marc Garcia Puig b3537a5df1 Ignoring OpenDrive in 'PropsMap' & fixed MapPaths 2019-07-10 01:35:47 +02:00
Manish 60a45199ea Now we can import multiple maps and props! :D 2019-07-10 01:35:47 +02:00
Manish b96ea36d6f Import maps working, simplified commandlet code and process 2019-07-10 01:35:47 +02:00
Manish 8a2a86bb32 Working on new commandlet that unifies importing of props and maps 2019-07-10 01:35:47 +02:00
nsubiron cfc6ee6fa1 Package the project in shipping mode 2019-07-09 18:46:09 +02:00
nsubiron 8f2d5b089e Allow changing fixed frame rate at runtime 2019-07-09 18:46:09 +02:00
bernatx 78030240c0 Adding folder '/maps/nav/' for packages 2019-07-08 18:42:45 +02:00
bernatx e0cdc80cc1 Changes from PR 2019-07-08 18:42:45 +02:00
bernatx b652e67295 Fixes from PR 2019-07-08 18:42:45 +02:00
bernatx b41efd90cf Fixing rebase 2019-07-08 18:42:45 +02:00
bernatx c05ed8a0f2 Creating new batch command for walkers 2019-07-08 18:42:45 +02:00
bernatx a08a3bbc26 Fix conflicts with rebase 2019-07-08 18:42:45 +02:00
Manish c3d160dfde Fixed walker shaking when moving by creating ApplyTransform2D batch command 2019-07-08 18:42:45 +02:00
bernatx b7486c90a4 Remove function from blueprint 2019-07-08 18:42:45 +02:00
bernatx e31a071163 Added a base offset to adjust the position on Z axis 2019-07-08 18:42:45 +02:00
bernatx 8b92cc95b5 Added Recast&Detour to Carla project 2019-07-08 18:42:45 +02:00
nsubiron a856c1d44e Add server-side dummy WalkerAIController and its factory 2019-07-08 18:42:45 +02:00
nsubiron 01ed348875 Make 'tick' and 'apply_settings' wait until the new frame is received and return the frame id when the changes took effect 2019-07-06 00:14:53 +02:00
Johannes Quast 3d0ec717f7 Add transmission gears values access
- LibCarla and PythonAPI can read and write transmission values
   and the forward gear details
2019-07-05 20:06:26 +02:00
Johannes Quast 58e48b1acc Add access to vehicle physics brake values
- Make maximum brake and handbrake torque accessible
   to LibCarla.
2019-07-05 11:52:05 +02:00
TheNihilisticRobot 5aeca6fec3 Disable mesh distance fields to avoid ghosting issues (#1838) 2019-07-04 11:40:13 +02:00
Daniel Novillo d8145c8dba Control walker skeleton from Python API (#1719) 2019-06-27 22:16:17 +02:00
bernatx 33dc5dde8d Changes for PR 2019-06-27 18:46:35 +02:00
bernatx 673812be3f Stop pedestrians after a recorded session 2019-06-27 18:46:35 +02:00
wattsavolt a4692e36e4 Updating changelog to be clearerabout changes 2019-06-27 16:13:43 +02:00
wattsavolt 5eacca31be Removing use of drawfrustum 2019-06-27 16:13:43 +02:00
wattsavolt bb53973e0d Adding back accidentally removed DefaultEngine.ini settings 2019-06-27 16:13:43 +02:00
wattsavolt b8295b4e03 Enabling texture streaming and adding support for texture streaming to scene captures 2019-06-27 16:13:43 +02:00
nsubiron 34c4bb0f26 Fix includes and remove logs 2019-06-21 14:15:11 +02:00
nsubiron cea948a7e1 Set up RootComponent in ASensor so we don't need to set it up on each individual sensor 2019-06-18 17:31:54 +02:00
bernat 7be45fc4a2 Recorder bug fixes (#1752)
* Fix bug initializing structure
* Fixing the end of replayer when actors continue in autopilot enabled
2019-06-18 10:47:13 +02:00
Néstor Subirón 5d71e556f4
New weather defaults (#1753)
* Add default weather preset
* Update content link
2019-06-17 18:07:32 +02:00
nsubiron 83769d9914 Add supported drivers option to vehicle parameters 2019-06-13 18:32:04 +02:00
nsubiron 4f27ff0067 Add age to pedestrian parameters 2019-06-13 18:32:04 +02:00
nsubiron 7ab2fd6f7a Prevent generating waypoints at zero distance 2019-06-13 12:30:53 +02:00
nsubiron 03b1d8070c Create OpenDriveMap to be used in UE4 blueprints 2019-06-13 12:30:53 +02:00
nsubiron 330ccdc0ab Move OpenDrive related classes to its own folder 2019-06-13 12:30:53 +02:00
nsubiron f026ead7f2 Make OpenDrive static functions available in blueprints 2019-06-13 12:30:53 +02:00
nsubiron 8febd66739 Find XODR files anywhere in content 2019-06-13 12:30:53 +02:00
nsubiron 8bc66bc41d Do not tick autopilot if not used 2019-06-13 12:26:01 +02:00
nsubiron 86e5e36f4d Make vehicle controller inherit AController instead of APlayerController 2019-06-13 12:26:01 +02:00
xmyqsh 0988e711ea Remove unused server timeout (#1741) 2019-06-13 10:27:33 +02:00
TheNihilisticRobot 649699bfab Enable mesh distance fields (#1740) 2019-06-12 17:51:58 +02:00
Néstor Subirón 114d54d889
Add gamma value as attribute to RGB camera (#1720) 2019-06-05 09:49:45 +02:00
Aidan Clear 0faffe2a38 Set Vulkan as default graphics API for Linux (#1639) 2019-06-04 18:48:11 +02:00
manishthani 0f96b05715 Update content link and Windows fixes (#1698)
* Updated Content link
* Fixes windows compilation
* Prepend static keyword for friction trigger in bp library
2019-06-03 16:26:43 +02:00
Aidan Clear 35fdaec670 Adding ability to modify motion blur settings (#1690)
* Adding ability to modify motion blur settings of RGB scene capture from the PythonAPI
* Adjust motion blur default values
2019-05-31 16:50:30 +02:00
Manish 39c75378b6 Removed some code 2019-05-29 11:31:13 +02:00
Manish c36131fad5 remove isSteerable from getter 2019-05-29 11:31:13 +02:00
Manish f7b7ccd9d3 Removing is_steerable param and updating tests 2019-05-29 11:31:13 +02:00
Manish e2106e245d Refactored and added comments 2019-05-29 11:31:13 +02:00
Manish 9e5c2f5a2f solved another physics bug 2019-05-29 11:31:13 +02:00
Manish d141121185 Fixed max steer angle 2019-05-29 11:31:13 +02:00
Manish 1f8eb1ead1 Added world pos for wheels + working on using physx to fix a bug 2019-05-29 11:31:13 +02:00
Manish b4f7ecc5ea Added radius getter/setter to wheel physics control 2019-05-29 11:31:13 +02:00
Manish 722df11fa3 Added check in wheels setter 2019-05-29 11:31:13 +02:00
Manish f3d5c6486f update wheels check and added make trigger definitions function 2019-05-29 11:31:13 +02:00
Manish e51e3eb5f0 Added checks + refactor 2019-05-29 11:31:13 +02:00
Manish da9e8d4136 Fixing friction bug + refactor 2019-05-29 11:31:13 +02:00
Manish 9fad7c3f35 fixes and prettify 2019-05-29 11:31:13 +02:00
Manish 28f52b85d2 Fixing some wheels params when getting and setting them 2019-05-29 11:31:13 +02:00
Manish 17fe069890 renamed physics params 2019-05-29 11:31:13 +02:00
Manish 087dc71190 pretifying 2019-05-29 11:31:13 +02:00
Manish f3164137d9 Added friction variation + refactor 2019-05-29 11:30:48 +02:00
Manish d832a19028 Friction Trigger volumes getting spawned with box extents + solved a bug 2019-05-29 11:30:48 +02:00
Manish 70442e2436 Friction trigger box is getting spawned 2019-05-29 11:30:48 +02:00
Manish 2d352612e9 Created Friction Layer Actor 2019-05-29 11:30:48 +02:00
Manish 6b65e5833a setting tire config during begin play 2019-05-29 11:30:48 +02:00
Aidan Clear 627c351e85 Improving visual quality of the rgb scene capture (#1549)
* Adding TemporalAA
* Setting alpha values of pixels in buffer to 255 to account for TemporalAA
* Alpha now removed from pixels on the client side in the image deserialize function
* Adding motion blur
2019-05-28 13:25:42 +02:00
manishthani 066c0b606a Document load props and fix windows build (#1675) 2019-05-28 09:35:45 +02:00