Commit Graph

160 Commits

Author SHA1 Message Date
glopezdiest 664b2113f2 Improved old scripts and added new ones 2024-10-31 11:01:22 +01:00
Jose a3cc59ecc3 Removing deprecated properties from Chaos vehicle and wheels 2024-05-22 12:56:09 +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 04d91a9625 Introduce necessary functions for the new apply-texture functions. 2024-05-07 11:58:57 +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
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
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
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 74d19eece2 Restructure PythonAPI folder layout + update copyright. 2024-02-26 17:09:02 +01:00
Axel1092 6d31d3fc4a
Updated content and changelog (#6175)
* Updated changelog and content versions

* Added vehicle.sixwheeltruck.sixwheeltruck to smoke test exclusion list

* Fix old town tests

* fixed vehicle id in smoke test

* Update ContentVersions.txt

---------

Co-authored-by: bernat <bernatx@gmail.com>
2023-03-17 11:28:55 +01:00
Axel dcda50140a Exclude new vehicle testing in the old towns 2022-11-29 11:23:33 +01:00
bernatx bcf3471586 Ignore large maps for testing spawn points 2022-10-21 00:29:49 +02:00
bernatx f6348a2d84 Fix smoke test 2022-10-13 14:30:58 +02:00
bernatx 634066c19c content version and avoid large map test 2022-09-16 16:45:40 +02:00
Marcel Pi 8dfbb14852 Minor fix for test/smoke/test_sensor_tick_time.py
Added sensor.data.normals to the exception list of test_sensor_tick_time.py
2022-02-18 11:42:32 +01:00
Guillermo 207ac8c78c Updated smoke test 2022-01-11 11:37:27 +01:00
Axel 2199d90e1f fixed smoke test 2021-11-08 09:30:35 +01:00
Daniel Santos-Olivan 727b10fe26 smoke_test: minor updates to test_vehicle_physics 2021-09-16 11:28:46 +02:00
Daniel Santos-Olivan 67172ad203 Enable smoke test for vehicle physics and collision determinism 2021-09-02 10:59:45 +02:00
Daniel Santos-Olivan 95dffb3ee1 test_collision_determinism: update test
- remove all references to sensors
 - reload each simulation in sync
 - replace all commands with apply_batch_sync
2021-09-02 10:59:45 +02:00
Daniel Santos-Olivan 108b6b8524 test_vehicle_physics: simplify and stabilized some tests 2021-09-02 10:59:45 +02:00
bernat 2ce9897ce9 Fixing vehicle name and compilation on windows 2021-07-28 08:38:25 +02:00
bernatx cdb0318e05 Fixing where open drive content is cached 2021-07-21 11:37:23 +02:00
bernat 3e2b29ecc3 Adding a few seconds after loading a new map to let UE4 to free memory 2021-07-06 11:33:11 +02:00
Daniel Santos-Oliván 33c1109954 Improve vehicle physics tests 2021-07-02 10:26:00 +02:00
Daniel Santos-Oliván 7468bbbf59 Temporariliy disable of physics and collision test 2021-06-16 10:57:38 +02:00
Daniel Santos-Oliván 8b99e62a37 Tests: Removed timeout from world methods
As we are using the client-defined timeout
in the world methods now, we do not need to
define custom timeouts.
2021-06-16 10:57:38 +02:00
Daniel Santos-Oliván af26ae35bf Added test for sync mode 2021-06-16 10:57:38 +02:00
bernat 830c9a1f86 More time out for the smoke test 2021-06-10 09:53:52 +02:00
Daniel Santos-Oliván a996260984 Improved robustness of tests
- In the collision sensor test we have incrase the number of frames to
  run and also we run all the vehicles always and show all the ones
  that fail instead of only the first.
  - In vehicle physics tests, we have change all velocity/control setters to batch_sync
  version to avoid losing commands
2021-06-09 19:28:43 +02:00
Daniel Santos-Oliván cf4087971e Smoke: Fix name in smoke test list 2021-06-03 11:34:33 +02:00
Daniel Santos-Oliván 92105fe734 Remove print 2021-06-03 11:34:33 +02:00
Daniel Santos-Oliván 0508c25ca0 Disable three car collisions 2021-06-03 11:34:33 +02:00