Commit Graph

787 Commits

Author SHA1 Message Date
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
Néstor Subirón d05dc6c743
Allow attaching actors with a spring arm (#1682) 2019-05-27 18:07:03 +02:00
Néstor Subirón fee126dfa7
Include debug info in packaged version (#1659) 2019-05-24 17:24:12 +02:00
nsubiron a063c2ded7 Update content link to allow importing external props 2019-05-23 20:01:15 +02:00
manishthani 4dbb94763b
Merge branch 'master' into manishthani/load_props_definition 2019-05-23 11:02:19 +02:00
Daniel da597f92c9 Fixed code conventions, static methods and format 2019-05-23 10:39:24 +02:00
bernatx faa164557f Removed some commented code 2019-05-22 12:20:21 +02:00
Manish fb2d4bef7d removed some member functions 2019-05-21 18:59:24 +02:00
bernatx 58f00c9a3d Fixes that an actor could be respawned before the Episode is ready 2019-05-21 18:46:08 +02:00
Daniel 03fdb58b29 Fixed commandlets crash. Improved code 2019-05-21 18:40:08 +02:00
manishthani 4a41672e85
Merge branch 'master' into manishthani/load_props_definition 2019-05-14 16:37:28 +02:00
Néstor Subirón cf58f7a2c1
Fix dead-lock when loading a new map in synchronous mode. (#1588)
* Fix #1412, dead-lock when loading a new map in synchronous mode.
* Update CHANGELOG
* Add smoke test for #1412
2019-05-10 16:33:48 +02:00
Daniel Novillo 1f8e405425 Exposed 'is_invincible' for pedestrians (#1454) 2019-05-08 13:45:02 +02:00
Manish a57922cb0b Small Refactor 2019-05-03 18:40:05 +02:00
Manish 2950e8aca4 Changed registry file format + made importing more automatic 2019-05-03 16:15:06 +02:00
nsubiron 32d9715ef8 Upgrade to Unreal Engine 4.22 and clang 7 2019-05-03 12:53:43 +02:00
nsubiron 5fa06e0de0 Replace game mode 2019-05-03 11:31:19 +02:00
nsubiron a220caeee1 Remove "TheNew" from TheNewCarlaServer and TheNewCarlaGameModeBase 2019-05-03 11:31:19 +02:00
nsubiron 2e2d8f9a43 Commit DefaultEngine.ini so Unreal stops modifying it 2019-05-03 11:31:19 +02:00
nsubiron fce4d1a9f8 Remove deprecated code from Carla plugin 2019-05-03 11:31:19 +02:00
Manish 644e30c0f0 changed emptymap & tempmap paths + tempmap removed after exporting + minor changes 2019-05-02 15:42:32 +02:00
Daniel 57e34021c7 FBX Imported ready 2019-05-02 15:42:32 +02:00
Manish 7aaa2683f3 Refactoring 2019-05-02 15:42:32 +02:00
Manish aca3977d72 More Refactor 2019-05-02 15:42:32 +02:00
Manish 7c14cea8a5 Refactor 2019-05-02 15:42:32 +02:00
Manish 133c9c0f93 user props overwrite default ones + repeated props control + refactor 2019-05-02 15:42:32 +02:00
Manish c2551c6379 Added prop blueprint registry class 2019-05-02 15:42:32 +02:00
Marc Garcia Puig 8781712eb8 Updated OpenDriveActor (#1593)
* Fixed OpenDriveActor

* Fixed bebug lines of OpenDriveActor in UE4 editor

* Updated changelog
2019-05-02 14:38:18 +02:00
nsubiron 73f0bc8647 Refactor overload methods into Functional class 2019-04-30 13:45:19 +02:00
nsubiron 1366b21ce4 Disallow implicit conversions between Vector3D/FVector and Vector2D/FVector2D to avoid missing unit conversions unintentionally 2019-04-29 15:35:33 +02:00
bernatx be61f80caf Changes from the Pull Request 2019-04-26 17:15:37 +02:00
bernatx 2087b6f770 Vehicle animations added to recorder (also bikes and cycles) 2019-04-26 17:15:37 +02:00
bernatx f4beec9407 Walker animations added to recorder
Wheels also rotate using inertia of movement only
2019-04-26 17:15:37 +02:00
bernatx 493f85ff46 Only apply physics to vehicles, no walkers 2019-04-26 17:15:37 +02:00
bernatx 9354e38658 First version with walkers animation on replaying 2019-04-26 17:15:37 +02:00
bernatx e0d6879f6b Bugfix on query result (using wrong field) 2019-04-26 17:15:37 +02:00
bernatx a0c94e0974 Bugfixes about recorder:
1) Fixing camera following when a car is loaded by the recorder.
2) Fixing positions at start of replayer (actors were sliding from its current position).
2019-04-26 17:15:37 +02:00
bernatx 739142954d Renaming playback speed by playback time factor 2019-04-12 10:25:13 +02:00
bernatx c2b7e27ac5 Updated CHANGE.LOG and telling playback speed when replaying 2019-04-12 10:25:13 +02:00
bernatx c6ff4cb362 Added an optional parameter to show more details about a recorder file
Related to the show_recorder_file_info.py API
2019-04-12 10:25:13 +02:00
bernatx 708f0c6623 Fix return of void function 2019-04-12 10:25:13 +02:00
bernatx d9975dfde9 Fixed a bug where using a reference of a local variable 2019-04-12 10:25:13 +02:00
bernatx bac4060eb1 We can save in any folder now, or by default at 'Saved' folder. 2019-04-12 10:25:13 +02:00
bernatx 702474f764 Replayer now will load the required map automatically. Also a bug fix. 2019-04-12 10:25:13 +02:00
bernatx be37d22335 Added replayer speed (time factor for slow/fast motion) 2019-04-12 10:25:13 +02:00
nsubiron bd0711e87a Increase version 2019-04-04 19:15:45 +02:00
nsubiron ec477c5514 Add method client.apply_batch_sync that waits for server response 2019-04-04 14:42:28 +02:00
nsubiron 476d587a7d Add carla.command to spawn actors in batch 2019-04-04 14:42:28 +02:00
nsubiron 6d71c65137 Fix vehicles missing the route if autopilot enabled too late 2019-04-02 19:48:13 +02:00
nsubiron 6043d9ac84 Fix OpenDriveActor 2019-03-30 14:36:44 +01:00