Commit Graph

6440 Commits

Author SHA1 Message Date
Marcel Pi dedb72d4e0
Update CMakeLists.txt 2024-03-18 10:49:06 +01:00
Aaron Samaniego 98e355bc8e Add requested changes 2024-03-18 10:20:06 +01:00
Aaron Samaniego 40cd9f63e5 Re enable radar and make it work with SensorSpawnerActor 2024-03-18 10:20:06 +01:00
Marcel Pi 36a29194bb Several build order fixes, switch from boost "exclude" projects to "include". 2024-03-17 11:46:19 +01:00
Xavier Solé Nogués 17f9d28a45
Implement Carla Unreal build tool arguments (#7258) 2024-03-15 14:58:32 +00:00
Marcel Pi bb806ad0e3
Tweak *.Build.cs files to read .def files. (#7243)
* Tweak *.Build.cs files to read .def files instead of being configured by CMake.

* Add missing EOF.

* Minor fix.

* Fix PixelReader compile error and use copy instead of symlink for Includes & Libraries.def.

* Fix CarlaTools linker error.
2024-03-14 20:03:32 +01:00
Marcel Pi 44d0c1bc3c
Marcel/5.3/cmake libcarla image support list (#7249)
* Reintroduce launch-only target.

* Expose explicit mechanism to request image support to libcarla.

* Update CMake/Options/Common.cmake

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

* Remove unwanted changes.

* Add missing EOF newline.

---------

Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
2024-03-14 19:11:15 +01:00
Marcel Pi 3711979b0d
Reintroduce launch-only target. (#7250) 2024-03-14 19:08:12 +01:00
Marcel Pi e382ec9f6c
Merge marcel/ue5.3 to ue5-dev (#7251)
* Activate ROS2 Build for

* Build works, but linking issues due cpp ABI differences

* Build with ROS2 working for make carlaUE4

* Implement ROS2 dynamic link

* Code clean: Remove comments and unused code

* Fixes regarding path names

* Extended functionallity of SensorSpawnerActor (#7198)

* Added the option to save IMU and GNSS data to Json. Also to attach the sensor into some actor on SensorSpawner

* Fix SceneCaptureSensor crash at spawn, disabling PhysTick for this classes.

* Fixing camera capture.

* UE5 ROS2: Deploy shared libraries

* Remove Configure.py duplicated function due merge

* Build Lib Carla with ROS2 just when ROS2 flag is ON.

* Antonio mata/wheel parent actor fixer (#7208)

* Editor utility actor made that reparented the wheel blueprint classes that had a null parent class with the "UChaosVehicleWheel"

* Tagger fixed

---------

Co-authored-by: Antonio Mata <artoniodev@gmail.com>

* If statement fixed

* ROS2: Prevent ros2 build crash when ros2 is installed in the system (#7212)

* Aaron/ue5/fixwarnings (#7215)

* Removing UEditorLibary::GetEditorWorld()

* Fixing more warnings

* Remove SavePackage deprecated function in ProceduralBuildingUtilities

* Fix Warnings in USDImporterWidget

* Remove levellibrary fromheader

* Antonio mata/blueprint parent class fixer (#7217)

* First pass of the Blueprint parent class fixer code

* Tweaked and commented the BlueprintParentClassDixer code

---------

Co-authored-by: Antonio Mata <artoniodev@gmail.com>

* UE5 Configure.py: Force boost toolset to clang16 (#7220)

* Check if clients are listening

* Remove steering wheel check and adding log information

* Adding error log information

* Change log condition

* Only correct DX data when client listening

* Debug Lidar sensor saving points to a xyz file

* Save lidar pointcloud data into a .ply file

* Modify how Lidar .ply files are stored to be the same as PythonAPI. Also, fix LineTerminator issue on linux.

* Removing comments and adding change trace method.

* Cleaning code.

* Adding WITH_EDITOR condition when saving data on Lidar. And removing unused variable.

* Rename CarlaUE4->CarlaUnreal

* More pending renames.

---------

Co-authored-by: xavisolesoft <xavisolesoft@gmail.com>
Co-authored-by: Jose <44341347+JoseM98@users.noreply.github.com>
Co-authored-by: ArtonioDev <124166696+ArtonioDev@users.noreply.github.com>
Co-authored-by: Antonio Mata <artoniodev@gmail.com>
Co-authored-by: PabloVD <pablo.villanueva.domingo@gmail.com>
Co-authored-by: Blyron <53337103+Blyron@users.noreply.github.com>
Co-authored-by: Aaron Samaniego <samaniegoaaron112@gmail.com>
Co-authored-by: Jose <josemartinez81998@gmail.com>
2024-03-14 19:05:38 +01:00
Xavier Solé Nogués 979b942ff5
Implement Cmake ros2 native external project (#7252)
* libcarla-ros2-native.so build and install working.

* Fixes and add Carla.Build.cs

* ROS2Native build system implemented for CMake

* Add g++/gcc option and remove Build path reference from Carla.build.cs

* Auto add ros2 target when ros2 and server is enabled

* Remove ROS2 from client

* Fix build when ROS2 is disabled.

* Clean up space

* Fix will error with ROS2 enabled

* Remove macro collision ROS2
2024-03-14 15:27:10 +00:00
Marcel Pi 6d058e9a89 Temporarily remove references to cmake_message. 2024-03-14 12:08:43 +01:00
Marcel Pi 3f85bde1ab Improve build logging. 2024-03-13 15:38:31 +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 fc3a629ce2 Check EOF newlines. 2024-03-13 12:03:37 +01:00
Marcel Pi 0a9437fd10 Improve warning suppression. 2024-03-13 01:04:27 +01:00
Marcel Pi 07963dba96 Make _CRT_SECURE_NO_WARNINGS a global definition. Introduce mechanism to disable warnings. 2024-03-12 23:19:57 +01:00
Marcel Pi 908b1b306b Move PythonAPI agents folder up + very minor refactor. 2024-03-12 22:29:24 +01:00
Marcel Pi 1682c50957 Wait for Python API in launch target instead of Carla Unreal configure step. 2024-03-12 16:54:59 +01:00
Marcel Pi 63571a79b7 Remove header search in ImageIOConfig. 2024-03-12 16:52:40 +01:00
Marcel Pi ca5310ffb2 Wait for Python API to be built before compiling Carla Unreal. 2024-03-12 16:50:08 +01:00
Marcel Pi c3118ed55a Temporarily revert AtomicSharedPtr upgrade. 2024-03-12 15:06:28 +01:00
Marcel Pi 6725e66d0d Disable Wall by default and fix deprecation warning for std::atomic<std::shared_ptr<T>> 2024-03-12 15:05:13 +01:00
Marcel Pi 8c14d9ff4c Minor changes, introduce options for -Wall and -Werror. 2024-03-12 13:04:01 +01:00
Marcel Pi 60e1b9d7d4 Remove RPCLib from UE dependencies. 2024-03-12 11:25:00 +01:00
Marcel Pi 113f9d4bf2 Check dependencies when configuring UE. 2024-03-12 11:20:17 +01:00
Marcel Pi 8e70cfe0c6 Remove preference for Ninja for UE. 2024-03-12 11:01:37 +01:00
Marcel Pi 1be3ea50b1 Minor fix. 2024-03-11 15:16:40 +01:00
Marcel Pi 182ccbbc12 Multiple Windows-related fixes. 2024-03-11 12:30:24 +01:00
Marcel Pi 3dd30a2f2b Minor fix for Windows (2). 2024-03-11 09:20:27 +01:00
Marcel Pi 0cf40056e2 Minor fix for Windows. 2024-03-11 09:13:55 +01:00
Marcel Pi 2ca6591671 Change configure defaults. 2024-03-11 08:58:46 +01:00
Marcel Pi 7638b470e8 Switch back to specifying toolchain through command line. 2024-03-11 08:55:16 +01:00
Marcel Pi 0b15f68d1b Rename BUILD_CARLA_UE to BUILD_CARLA_UNREAL and add USES_TERMINAL to UE5 custom targets. 2024-03-10 21:42:58 +01:00
Marcel Pi 2ba8c74ab3 Remove Houdini reference from CarlaTools.Build.cs.in 2024-03-09 00:37:41 +01:00
Marcel Pi b65b450663 Fix StreetMap plugin download. 2024-03-09 00:25:47 +01:00
Marcel Pi 131723a9d1 Update gitignore for CMakeSettings.json. 2024-03-08 19:41:59 +01:00
Marcel Pi 5966d00496 Merge branch 'marcel/ue5/rename' into ue5-dev 2024-03-08 20:31:48 +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
Marcel Pi 730d3f068f Merge branch 'marcel/5.3/python-api-overhaul' into marcel/ue5/rename 2024-03-08 16:21:23 +01:00
Xavier Solé Nogués 2550373845
Cmake migrate FetchContent from git clone to zip download (#7225)
* Fix fetch content slow speed due boost download

* Migrate all mandatory dependencies FetchContent from git clone to url approach
2024-03-08 09:47:18 +01:00
Xavier Solé Nogués dab4487a96
Fix fetch content slow speed due boost download (#7222) 2024-03-07 20:21:44 +01:00
Marcel Pi ccb5d98d26 Add Linux Toolchain file. 2024-03-07 17:11:15 +01:00
Marcel Pi d72dd89db4 More Ubuntu build progress... 2024-03-06 17:20:13 +01:00
Marcel Pi fefe396ec3 More renames + add StreetMap gitignore. 2024-03-06 16:35:20 +01:00
Marcel Pi a09ce91376 Minor changes. Disable MakeFiles. 2024-03-06 16:28:09 +01:00
Marcel Pi e5aa1463f7 Check potentially missing policy. 2024-03-04 17:52:54 +01:00
MarcelPiNacy d0dce22ba1 Replace references to CarlaUE4. 2024-03-04 13:33:51 +01:00
MarcelPiNacy 6a6acd9a86 Rename CarlaUE4 -> CarlaUnreal 2024-03-04 13:32:48 +01:00
MarcelPiNacy a4c0abbda1 Temporary fix for Ubuntu CMake dependencies. Isolate ROS2 code in CarlaUE. 2024-03-04 13:10:00 +01:00
MarcelPiNacy a464dbefc2 Add missing linux-only dependencies. 2024-03-01 16:27:12 +01:00