Commit Graph

6490 Commits

Author SHA1 Message Date
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
JoseM98 511ef8b8dc Add more sensors. Add save to json file in IMU and Gnss 2024-04-30 15:56:03 +02:00
JoseM98 577f177642 Test first version 2024-04-30 15:56:03 +02:00
Xavier Solé Nogués e490e65846 Activate use high CPU in background 2024-04-29 08:41:42 +02:00
xavisolesoft 998ba484c9 Remove comment 2024-04-26 14:27:51 +02:00
xavisolesoft 12f6230799 Prevent build python api whe launching the editor 2024-04-26 14:27:51 +02:00
Xavier Solé Nogués e16d1d0edc Create UE path variable without /../ 2024-04-24 16:53:58 +02:00
Blyron f0db576510
Removed update content files (#7497) 2024-04-24 15:07:09 +02:00
xavisolesoft 50e55e38d5 Remove Environment.sh UE4 deprecated build system 2024-04-24 15:04:21 +02:00
xavisolesoft 387dab5555 Add PWD prefix to toolchain file path 2024-04-23 17:10:39 +02:00
Aaron Samaniego 25a808c799 Remove also PythonAPI 2024-04-22 16:51:55 +02:00
Aaron Samaniego e09ec77050 Add directories to be deleted by the --target clean 2024-04-22 16:51:55 +02:00
Blyron c7e780009e
Adding sync mode test (#7487)
* Added spawnning all vehicles and all walkers

* Update tests, and add begin play to avoid initialization error in vehicles

* Adding test list and tested tests

* Update PythonAPI/test/API/spawn_vehicles.py

Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>

* Update PythonAPI/test/API/collision_test.py

Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>

* Update PythonAPI/test/API/spawn_walkers.py

Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>

* Update files names

* Updated TestCollision

* Adding sync mode test

* Updated test not to use eggs and updated copyright

* Update sync test

* Update sync test vehicle/walkers test

---------

Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
2024-04-22 16:29:46 +02:00
Xavier Solé Nogués 6d04804177
Give execution permissions to Setup.sh (#7486) 2024-04-22 11:25:54 +02:00
Xavier Solé Nogués 6e4bc01aac Fix Setup.bat pip install command 2024-04-22 09:39:24 +02:00
Aaron Samaniego 2e7c49d1f6 Updated TestCollision 2024-04-22 08:27:54 +02:00
Aaron Samaniego c6e044a1eb Update files names 2024-04-22 08:27:54 +02:00
Blyron 1915ae27c1 Update PythonAPI/test/API/spawn_walkers.py
Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
2024-04-22 08:27:54 +02:00
Blyron f0eed51f8a Update PythonAPI/test/API/collision_test.py
Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
2024-04-22 08:27:54 +02:00
Blyron ab0d15393d Update PythonAPI/test/API/spawn_vehicles.py
Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
2024-04-22 08:27:54 +02:00