Commit Graph

1523 Commits

Author SHA1 Message Date
Marcel Pi cd067cd9cf Propagate CMake generator to scikit-build-core. 2024-09-04 15:30:38 +02:00
Blyron e69289736f Update number of python types 2024-06-26 14:39:53 +02:00
Blyron f99afe410c update manual control 2024-06-26 14:39:53 +02:00
Blyron 1a334fc471
Aaron/ue5/updatesensorcameraparams (#7834)
* Update parameters

* Update manual control gamma
2024-06-21 11:55:05 +02:00
Blyron 05593ae85e
Apply offset when spawnning pedestrians when spawnning (#7734) 2024-05-31 12:17:51 +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
Jose a3cc59ecc3 Removing deprecated properties from Chaos vehicle and wheels 2024-05-22 12:56:09 +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
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
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 287b28bc07 Removed ifdef from carlawheeledvehicle and use carla instead of libcarla in manual control 2024-05-07 11:57:17 +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
xavisolesoft 12f6230799 Prevent build python api whe launching the editor 2024-04-26 14:27:51 +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
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
Aaron Samaniego 84e5e92f01 Adding test list and tested tests 2024-04-22 08:27:54 +02:00
Aaron Samaniego 8058f7cd39 Update tests, and add begin play to avoid initialization error in vehicles 2024-04-22 08:27:54 +02:00
Aaron Samaniego 49c008aae1 Added spawnning all vehicles and all walkers 2024-04-22 08:27:54 +02:00
Xavier Solé Nogués 7433f804a1
UE5: Pacakge copy python wheel (#7345)
* Pacakge copy wheel

* Update PythonAPI/carla/requirements.txt
2024-04-10 09:15:27 +02:00
Marcel Pi c31b6fe032 Fix build order issue. 2024-04-09 16:47:09 +02:00
Marcel Pi 4212ff6701
Add wheel package generation. (#7334)
* Python package progress

* Remove unneeded POST_BUILD command.

* Switch to scikit-build-core (WIP)

* More changes boost::python-related changes.

* Add LICENSE copy, remove explicit reference to C/C++ compiler.

* Switch back to pure CMake build, using package data to include C++ extension binaries.

* Minor changes.

* Add fallback if PEP517 is unavailable.

* Integrate PythonAPI target in main build.

* Fix minor build order issue.

* Remove invalid option in setup.py.

* Address review comments.

* Switch finally to scikit-build-core for PythonAPI build/wheel and refactor CMake folder.

* Minor fix.

* Update gitignore.

* Minor change.

* Remove unused CarlaOptions include

* Add missing file copy.

* Add several Ubuntu-related changes.

* Update requirements.txt

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

* Update CMake/Common.cmake

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

---------

Co-authored-by: xavisolesoft <xavisolesoft@gmail.com>
2024-04-09 16:32:09 +02:00
Aaron Samaniego b8cc2426c3 Added world rotation normalize 2024-04-02 16:18:11 +02:00
Marcel Pi d215264cb6 Fix image sending issue + move EnqueueRenderSceneImmediate to PostPhysTick. 2024-03-21 11:06:40 +01:00
Marcel Pi 22896c2c59 Revert back to symlinks for python API. Add prop_control.py 2024-03-18 14:36:30 +01:00
Marcel Pi 32c8aa4a68 Switch from PythonAPI symlink to hard copy temporarily. 2024-03-18 14:12:11 +01:00
glopezdiest 4c4d8067e9
Added API tests (#7244)
* Added API tests

* Delete carla.so

---------

Co-authored-by: glopezdiest <glopez@cvc.uab.cat>
2024-03-13 13:32:41 +01:00
Marcel Pi 908b1b306b Move PythonAPI agents folder up + very minor refactor. 2024-03-12 22:29:24 +01:00
Marcel Pi 8c14d9ff4c Minor changes, introduce options for -Wall and -Werror. 2024-03-12 13:04:01 +01:00
Marcel Pi 01852e6a6e - Update gitignore.
- Add launch and launch-only CMake custom targets.
- Temporary workaround for lack of a properly parameterized toolchain file.
- Change all references to CarlaUE4 to CarlaUnreal.
- Separate CMake Options files.
2024-03-08 20:31:22 +01:00