Commit Graph

6498 Commits

Author SHA1 Message Date
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
Xavier Solé Nogués 02d7403af4
Remove sudo from echo to .bashrc commands (#7337) 2024-04-09 09:49:18 +02:00
Xavier Solé Nogués ff8905abed
Remove deprecated build system setup scripts (#7339) 2024-04-09 09:45:14 +02:00
Xavier Solé Nogués 9f80127791
Remove deprecated windows dependency install scripts (#7336) 2024-04-08 16:30:56 +02:00
Xavier Solé Nogués 9e19de95f6
Ubuntu: Generate package tar (#7333)
* Ubuntu: Generate package tar

* Fix carla package path

* Use Unreal package generator format for the message and remove Manifest_DebugFiles_Linux.txt

* Set correct working path for tar command

* Copy PythonAPI .so into examples folder

* Set properly the name of carla.so file

* Revert undesired debug changes
2024-04-08 15:13:29 +02:00
Xavier Solé Nogués 06c06b6bd8
Remove deprecated make build system targets (#7325) 2024-04-08 09:24:33 +02:00
Xavier Solé Nogués 85ff5ba63e
Copy ROS2Native libs to the package and remove unnecessary carla plugin direct link dependencies (#7322) 2024-04-04 09:44:02 +02:00
Xavier Solé Nogués e8127c604a
Remove deprecated package build system (#7323) 2024-04-04 09:43:54 +02:00
Xavier Solé Nogués 7aa941a900
Fix package generation command (#7320) 2024-04-03 15:07:34 +02:00
Xavier Solé Nogués 36db692283
Remove deprecated ROS2 cmake for Configure.py (#7318) 2024-04-03 10:48:12 +02:00
Xavier Solé Nogués 46dbb368c5
Remove deprecated Configure.py build system (#7317) 2024-04-03 10:47:53 +02:00
Blyron 6baaad1c04 Update LibCarla/source/carla/geom/Rotation.h
Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
2024-04-02 16:18:11 +02:00
Blyron 90e2d5969a Update LibCarla/source/carla/geom/Rotation.h
Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
2024-04-02 16:18:11 +02:00
Blyron 20849338d8 Update LibCarla/source/carla/geom/Rotation.h
Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
2024-04-02 16:18:11 +02:00
Blyron 07d7a5da08 Update LibCarla/source/carla/geom/Rotation.h
Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
2024-04-02 16:18:11 +02:00
Blyron dbd344ed80 Update LibCarla/source/carla/geom/Rotation.h
Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
2024-04-02 16:18:11 +02:00
Aaron Samaniego b8cc2426c3 Added world rotation normalize 2024-04-02 16:18:11 +02:00
Marcel Pi c40e9780c3
Switch to wrapper macro for options. (#7313) 2024-04-02 14:16:27 +01:00
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