Commit Graph

6480 Commits

Author SHA1 Message Date
Marcel Pi a4bee08959
Update CMakeLists.txt (#7314) 2024-04-02 13:17:53 +02:00
Marcel Pi 6150720de2
Cmake add package target (#7289)
Add package target

---------

Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
2024-04-02 11:05:55 +01:00
Xavier Solé Nogués 4b3f5047f3
Setup.bat: Install requirements (#7281)
* Install requirements

* Parcial implementation

* Cloning content

* Mkdir Content

* Fix path bras.

* Launch Visual sutdio

* Print log and

* Fix crash when opening Visual Studio command line

* Fix echo " characters

* Setup create COntent folder just if was not previously created

* Fix .bat calls

* Implement Engine build command

* Install python and fix Engine path environment variable

* Retrys

* Add crash on error behaviour to commands

* Adding some corner case checks about already installed components and message text corrections

* Fix set CARLA_UNREAL_ENGINE_PATH

* Fix Python installation and

* Fix python and Unreal Engine paths

* Remove not working retry code

* Clean extra spaces

* Upgrade pip install

* Integration fixes

* Fix Carla Compilation environment and python path

* Fix CARLA build: Setup paths
2024-04-02 10:20:46 +02:00
Marcel Pi 2c7737a1ef
Remove boost::numpy (#7300)
* Remove out boost::numpy.

---------

Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
2024-03-27 11:39:26 +01:00
Blyron 0c8af41e67
Aaron/ue5updateprojectname (#7302)
* Update project name
2024-03-27 11:27:40 +01:00
Blyron 60125fea3d
Update Copyright (#7301) 2024-03-27 11:19:27 +01:00
Marcel Pi 9bc6e1cce1
Add check for CarlaUnreal Content presence. (#7294)
* Add check for CarlaUnreal Content presence. Remove check for Release build and instead guard against Debug build.

---------

Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
2024-03-26 13:55:35 +00:00
Marcel Pi d07a623c9c
Fix additional issues with escape characters in carla_string_option. (#7293)
* Fix string option escape character errors.

* Additional string option escape character fixes.

* Minor formatting change.

* More fixes.

* Revert back to file copy for *.def.

* Fix build order issue related to carla-unreal-configure.

* Update CMakeLists.txt

* Update CMakeLists.txt

* Switch to using file(GENERATE ...)
2024-03-25 17:23:16 +01:00
Xavier Solé Nogués 43fbdf6d84
Revert "Fix string option escape character errors. (#7291)" (#7292)
This reverts commit bc5a76bfd2.
2024-03-25 11:51:43 +01:00
Marcel Pi bc5a76bfd2
Fix string option escape character errors. (#7291) 2024-03-25 11:28:32 +01:00
Xavier Solé Nogués 30eb4b57c9
Fux unreal engine path option (#7278) 2024-03-21 12:52:47 +01:00
Marcel Pi 7dec0a68d2 Update SensorSpawnerActor.cpp 2024-03-21 11:06:40 +01:00
Marcel Pi f631c1f015 Minor cleanup. 2024-03-21 11:06:40 +01:00
Marcel Pi d215264cb6 Fix image sending issue + move EnqueueRenderSceneImmediate to PostPhysTick. 2024-03-21 11:06:40 +01:00
Marcel Pi a7fea2e360 Simplify UE targets. 2024-03-21 11:06:40 +01:00
Marcel Pi de5bca05c2 Update CMakeLists.txt 2024-03-21 11:06:40 +01:00
Marcel Pi d6b8fa3be6 Update CMakeLists.txt 2024-03-21 11:06:40 +01:00
Marcel Pi 47a115486a Update CMakeLists.txt 2024-03-21 11:06:40 +01:00
Marcel Pi c4e8ec3ed1 Update CMakeLists.txt 2024-03-21 11:06:40 +01:00
Marcel Pi 3be254d37d Update CarlaDependencies.cmake 2024-03-21 11:06:40 +01:00
Marcel Pi 7d8ab26767 Minor change. 2024-03-21 11:06:40 +01:00
Marcel Pi 4b8b095bcd Minor build order fix. 2024-03-21 11:06:40 +01:00
Marcel Pi f2e477c118 Minor fix. 2024-03-21 11:06:40 +01:00
Marcel Pi 6abf73000d Temporarily revert to PixelReader. 2024-03-21 11:06:40 +01:00
Marcel Pi 6a24a98699 Minor change. 2024-03-21 11:06:40 +01:00
Marcel Pi 5a2eadd161 Move CaptureScene to PostPhysTick for ASceneCaptureSensors. 2024-03-21 11:06:40 +01:00
Xavier Solé Nogués 5e1d6e4ed2
Implement Environment Setup.sh (#7267)
Implement Setup.sh for enviroment intalation
2024-03-21 09:07:22 +01:00
Marcel Pi a408b14efb Switch PREFER_CLONE back to OFF. 2024-03-20 12:48:26 +01:00
Marcel Pi 97fcc9873b Switch back to symlinks + minor refactor. 2024-03-20 12:16:14 +01:00
Marcel Pi 57223e7387 Fix incorrect dependency order when generating UE project files + other minor fixes. 2024-03-20 11:34:44 +01:00
Xavier Solé Nogués 852fc2cdbc
Copy Carla ros2 native to binaries folder (#7269) 2024-03-19 18:58:43 +01:00
Xavier Solé Nogués 5f4114fda5
Fix make directory (#7268) 2024-03-19 18:33:28 +01:00
Marcel Pi 521a8c3107 Minor formatting change. 2024-03-18 20:32:33 +01:00
Marcel Pi bfa58f2902 Multiple minor changes. 2024-03-18 20:25:56 +01:00
Marcel Pi 1621521610 Add CppClient example to CMake build. 2024-03-18 20:20:02 +01:00
Marcel Pi 834d3d8c0c Update LinuxToolchain.cmake 2024-03-18 16:47:13 +01:00
Marcel Pi f88670af28 Add missing capturescene call. 2024-03-18 16:40:21 +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
Marcel Pi 3206014587 Fix missing cmake_error definition. 2024-03-18 14:09:38 +01:00
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