Commit Graph

6459 Commits

Author SHA1 Message Date
Blyron 05593ae85e
Apply offset when spawnning pedestrians when spawnning (#7734) 2024-05-31 12:17:51 +02:00
Antonio Mata d23363c2f9 Skybase slight change 2024-05-30 13:22:39 +02:00
Blyron 605817e1b8 Added filters and operation reverse 2024-05-29 16:24:19 +02:00
Blyron bb416218df Create base class for hierachical instanced static mesh, removed Blueprint one 2024-05-29 16:24:19 +02:00
MarcelPiNacy-CVC 85286d7565
Fix Lumen, add PostProcessConfig. (#7705)
* Forcefully enable lumen for scene capture sensor, tweak ImageUtil.cpp.

* Code changes in order to make the sensor camera look like the scene.

* Remove commented code, fix Lumen being disabled by EnableAdvancedFeatures().

* Add FSceneCaptureSensorPostProcessOptions.

* Introduce PostProcessConfig.

* Remove reference.

* Remove log call.

* Remove ConfigureShowFlags prototype, re-enable SetCameraDefaultOverrides.

* Reintroduce file end, switch back to _CARLA scene capture.

* Add ASkyBase.

* Reenable ViewActor.

* Fix generated include.

* Fix CreateDefaultSubobject call.

* Update Sky.

* Add remaining components to SkyBase.

* Expose components to Blueprints.

* Switch to components.

* Update ctor.

* Fix typo.

* Fix BP variable visibility.

* Add default subobjects.

* Update defaults.

* Update recommended values.

* Add requested changes: fix indentation and SKyBase initialization.

* Remove unwanted code.

* Update ESceneCaptureSource.

* Update ASkyBase component names.

---------

Co-authored-by: Marcel Pi <25649656+MarcelPiNacy@users.noreply.github.com>
Co-authored-by: Antonio Mata <artoniodev@gmail.com>
Co-authored-by: Marcel Pi <marcelpi97@gmail.com>
2024-05-29 10:11:51 +02:00
xavisolesoft de8c9b1b54 Remove unused imports PixelReader.h 2024-05-28 16:38:04 +02:00
xavisolesoft 3e715cf328 Setup: Do not use UE5 hardcoded path 2024-05-27 14:32:07 +02:00
xavisolesoft 41421c656d Fix typo 2024-05-24 09:33:23 +02:00
xavisolesoft badf87c8ab Pull UnrealEngine if nto in the last version 2024-05-24 09:33:23 +02:00
Jose 41a5ebcf1c Adding Differential Type as int 2024-05-23 16:50:10 +02:00
Jose fd95933ce2 Adding new vehicle and wheel configuration properties 2024-05-23 16:50:10 +02:00
Xavier Solé Nogués 7c800a5b7f
Reintroduce gcc for ROS2 (#7694) 2024-05-23 08:42:12 +01:00
Blyron 0327df1fd5
aaron/cmakecleanupdate (#7685) 2024-05-22 15:22:45 +01:00
Jose a3cc59ecc3 Removing deprecated properties from Chaos vehicle and wheels 2024-05-22 12:56:09 +02:00
PabloVD 763fd521a9 Define ROS2 demo functions when flag is off 2024-05-21 19:49:59 +02:00
PabloVD e1cfe639fc Add Ros2 demo flags for cmake 2024-05-21 19:49:59 +02:00
LuisPoveda 678e8b48c0 added cmake target
added definition in buildcarla
added defines to avoid compile demo in ros
2024-05-21 19:49:59 +02:00
Xavier Solé Nogués 2bbe3c5e8b
Remove boost from ROS2 (#7670) 2024-05-17 11:37:04 +02:00
Blyron 298d44b31b
Aaron/addoverridingforsensors (#7665)
* Add functioanlity to override postprocess in sensors

* Use if condition
2024-05-16 15:03:38 +02:00
Joel Moriana 9132aec752 Added ros2 example 2024-05-16 11:07:41 +02:00
MarcelPiNacy-CVC 9f4c8422a8
Add functions and macros to aid in documentation and general usability. (#7639)
* Introduce the macros carla_add_executable, carla_add_library, carla_add_custom_target and introduce help dialog and help file generation.

* Remove semicolon on output.

* Switch from using configure time logic to a target "carla-help".

* Remove GCC_COMPILER option.

* Check PACKAGE_CONFIGURATION for empty.

* Revert to add_library for carla-ros2-native ExternalProject.

* Add function carla_add_target_docs and document "clean".

* Minor fix (missing names).

---------

Co-authored-by: Marcel Pi <25649656+MarcelPiNacy@users.noreply.github.com>
Co-authored-by: Marcel Pi <marcelpi97@gmail.com>
2024-05-15 17:50:06 +02:00
MarcelPiNacy-CVC bca3b5abef
Fix LibCarla's Version.h.in (file configured by CMake to set the library version). (#7647)
Co-authored-by: Marcel Pi <marcelpi97@gmail.com>
2024-05-15 16:07:47 +02:00
JoseM98 e23f437dc2 Enabling raytracing on SceneCaptureSensor 2024-05-15 13:18:55 +02:00
xavisolesoft ee9fe78b01 Disable ROS2 tools build 2024-05-14 11:15:00 +02:00
PabloVD 223b292f68 Create basic ROS2 publisher and subscriber 2024-05-13 20:00:51 +02:00
Xavier Solé Nogués 08c06a01df
Revert "Introduce several helper macros and utilities for improved usability.…" (#7635)
This reverts commit 321082ed0b.

Co-authored-by: Marcel Pi <marcelpi97@gmail.com>
2024-05-13 11:45:53 +02:00
MarcelPiNacy-CVC 321082ed0b
Introduce several helper macros and utilities for improved usability. (#7609)
* Introduce the macros carla_add_executable, carla_add_library, carla_add_custom_target and introduce help dialog and help file generation.

* Remove semicolon on output.

* Switch from using configure time logic to a target "carla-help".

* Remove GCC_COMPILER option.

* Check PACKAGE_CONFIGURATION for empty.

---------

Co-authored-by: Marcel Pi <25649656+MarcelPiNacy@users.noreply.github.com>
Co-authored-by: Marcel Pi <marcelpi97@gmail.com>
2024-05-13 09:47:15 +02:00
JoseM98 4aa2e3c934 Checking if path or extension is not empty 2024-05-08 17:09:02 +02:00
Blyron 1ea2827c62
Aaron/fixrecastpathue5editor (#7615)
* Renabling vehicles phase 2, we need to investigate about chaos

* Removed ifdef from carlawheeledvehicle and use carla instead of libcarla in manual control

* Remove PhysX code

* Update Path for Recast when in editor mode

* Revert condition change
2024-05-08 12:10:55 +02:00
Marcel Pi fbdf0b6fdb Update test code. 2024-05-07 11:58:57 +02:00
Marcel Pi 2a860b481a Add error checking and gitignore. 2024-05-07 11:58:57 +02:00
Marcel Pi 78c0307e10 Minor change (consistency). 2024-05-07 11:58:57 +02:00
Marcel Pi b4fdc22a17 Properly expose Actor.apply_texture. 2024-05-07 11:58:57 +02:00
Marcel Pi 04d91a9625 Introduce necessary functions for the new apply-texture functions. 2024-05-07 11:58:57 +02:00
Blyron f0b0fb8138 Remove PhysX code 2024-05-07 11:57:17 +02:00
Blyron 287b28bc07 Removed ifdef from carlawheeledvehicle and use carla instead of libcarla in manual control 2024-05-07 11:57:17 +02:00
Aaron Samaniego 9d0aa4a584 Renabling vehicles phase 2, we need to investigate about chaos 2024-05-07 11:57:17 +02:00
Antonio Mata 6706094ff9
Created class to hold some functionality of the "BP_CarlaSky". (#7581)
* Created class to hold some functionality of the "BP_CarlaSky"

* Revert "Created class to hold some functionality of the "BP_CarlaSky""

This reverts commit 123f93cbae.

* Carla sun sky class created

* Added comment to explain the code and the class

---------

Co-authored-by: Antonio Mata <artoniodev@gmail.com>
2024-05-06 14:10:04 +02:00
xavisolesoft 7ed517bf15 Try to build CARLA even it was already downloaded 2024-05-03 13:10:11 +02:00
xavisolesoft 848d109f46 Remove already done todo comment 2024-05-03 09:10:01 +02:00
Xavier Solé Nogués fccf51544d SetupSh: Build Unreal Engine even the variable CARLA_UNREAL_ENGINE_PATH was already defined 2024-05-02 16:16:30 +02:00
JoseM98 7e35eec00a Adding NoRenderingMode unit test and copyright message for other unit tests 2024-05-02 14:07:53 +02:00
Marcel Pi 4cf2c64a23 Automatically load Town10 in test script. 2024-05-02 10:41:57 +02:00
Marcel Pi e823ad6dad Add semantic segmentation test. 2024-05-02 10:41:57 +02:00
Marcel Pi c14ee47534
Add apply_texture API test (#7526)
* Add test_apply_textures.

* Fully test apply_texture API.

* Minor fix.

* Switch to unittest layout.

* Further progress.

* More progress.

* Remove globals and unneeded functions.

* Test code cleanup and add camera to output result images to disk.

* Remove main function.

* Minor code cleanup.

* Automatically load Town10 in test script.
2024-05-02 10:36:11 +02:00
Marcel Pi feb01ed1db Remove unwanted code from pixelreader testing. 2024-05-02 09:00:23 +02:00
JoseM98 90e662fe94 Separate sensor tests 2024-04-30 15:56:03 +02:00
JoseM98 d09721a75f Adding active wait to the tick for fixing image issue 2024-04-30 15:56:03 +02:00
JoseM98 20933d1833 Removing image_to_disk debug logs 2024-04-30 15:56:03 +02:00
JoseM98 4f85b46800 Save IMU, Gnss and Radar to csv file 2024-04-30 15:56:03 +02:00