Commit Graph

35 Commits

Author SHA1 Message Date
Blyron 73d66006fa add removing houdini to be removed 2024-05-13 18:21:19 +02:00
Jose 20a4a46182
Removing HoudiniEngine plugin and main references (#7450)
* Removing Houdini plugin

* Restore HoudiniEngine ignore from .gitignore

---------

Co-authored-by: Blyron <53337103+Blyron@users.noreply.github.com>
2024-04-17 11:45:45 +02:00
Xavier Solé Nogués 8430a5c33b Remove py dependency. 2024-02-19 14:01:39 +01:00
LuisPoveda 8ce4ca9ed3
Ros2 (#6862)
* Adding ROS2 manager

* Trying to compile fastDDS in windows, but have problems with dependencies

* Camera sensors connected to ROS2, dependencies disabled temporaly

* Including enum with sensors list

* adding GNSS sensor capture

* adding IMU sensor capture

* adding DVS sensor capture

* adding Lidar sensor capture

* adding SemanticLidar and Radar capture

* adding ObstacleDetector and some fixes

* modify cmakelists, failed to find libatomic

* fixed libatomic

* compile fast-dds with libc++

* fixed compliation fast dds with libcxx

* linked carla with fastdds

* Fixed Fast-DDS lib
Now its compiled to a intermediate lib with a bridge so libstdc++ can be used

* moved all ros2 deps to ros2 folder
renamed types from .cxx to .cpp

* Finally FastDDS compiled and working inside CARLA

* exposed publish function for testing

* fixed code style

* make ros2 optional

* make ros2 optional

* Added defines to compile ROS2 code

* ros image publisher working

* deleted some buffer copies

* Added more topics  and ROS2 types

* Adding sensor Transform as argument, and add function to send buffer or serialize and send buffer

* Removing empty buffer from DVS sensor

* fixed lidar publisher

* fixed lidar publisher

* Fix buffer of RGB in ROS2

* adding timestamp of each frame into ROS2 manager

* sending timestamps with frame to ROS2

* put apart timestamp from frame counter call

* adding BufferView to share buffers

* adding BufferView to share buffers

* adding ros_name attribute to all actors

* mapping ros_name for each actor

* ROS2 is now published in a different thread
Publishers now can be created on demand and be reused
Added subscriber for ego vehicle
Fixed build scripts

* forgot to add this fix

* add ros2 to windows scripts

* fixed default ros topic names

* fix topic name duplication

* Adding functions for enable/disable sensors publishing without listen to it

* Added Camera info and ROI types
RGB Camera now publishes in both topics

* move camera info immutable data to the constructor

* Publish transform for all topics
Create Camera DVS subtopics
Fixed bug with Lidar

* Added flip Y to semantic lidar

* Adding callbacks for subscribers from Unreal

* Adding camera info to ROS2 (resolution and FOV)

* Finished ROS2 naming from python

* Fixed bug with ros names

* Delete topics when deleting the sensors

* setting the rosname same as default no longer rewrites it

* ROS transform fix

* Added all camera topics with the image and camera info
Added vehicle control
Added clock publisher

* Change ros2 topic names for vehicle subscriber and  clock publisher

* Rename vehicle control ros2 topic name

* rename subscriber type to CarlaEgoVehicleControl

* Fix semantic lidar default ros name
Fix sizeof the semantic lidar data buffer

* Changed controller stored as string to pointer

* Back to previous version for default hero ros name
Removed debug prints

* Remvoe callback when ego publisher disconnects

* Serializing DVS data before sending to ROS

* dvs camera image and lidar

* DVS Pointcloud publishing

* Remove unnecessary fields

* Send local transforms to ros

* avoid transform recalculation if not needed

* Optical Flow Camera fixed

* Set fixed branch for Fast-DDS to avoid cmake version change issues

* Finally Working on package

* Fix style from FastDDS auto generated files

* Added ros2 to ubuntu in jenkins

* removed ros2 from jenkins, test

* restore ros2 in jenkins

* fix copy shareds, and removed server dependency from libcarla

* test installing the fastdds dependencies in jenkins

* move installing deps to separate stage

* removed install deps

* Fixing test_benchmark_streaming

* Fixed imu orientation and camera info data

* Fixing test_benchmark_streaming.cpp with BufferView

* Removing DEBUG_ONLY()

* publish collision sensor

* Fixing unit-tests with the new BufferView

* camera info is set once

* Fix echo camera info

* fix transform rotation

* Fixing ros_name attribute creation

* fixed camera info and region of interest publish

* fix IMU compass

* Forgot to add ros2 flag to jenkins package

---------

Co-authored-by: bernatx <bernatx@gmail.com>
2023-11-06 12:34:07 +01:00
Axel1092 24bf3b2b65 Fixed houdini compilation error 2023-07-03 14:01:30 +02:00
anrp-tri 4e070089c8
Make (Unreal) non-unity build available (#6190)
This lets IWYU-type errors be fixed; they are often masked by it.
Fix all detected errors of this kind. Note that Unity is on by
default, likely for performance reasons, so this does not change
that; instead, pass ARGS=--no-unity to make to try it (note that this
unfortunately will rebuild the editor too.)

Co-authored-by: anrp <anrp@tri.global>
Co-authored-by: Axel1092 <35765780+Axel1092@users.noreply.github.com>
Co-authored-by: bernat <bernatx@gmail.com>
2023-03-20 12:09:39 +01:00
Axel 5487e17f60 Making Omniverse code optional 2023-03-17 11:29:49 +01:00
Axel 98c0145120 Added patch for omniverse importer 2023-03-17 11:29:49 +01:00
Axel1092 777b174a08
Digital Twins first iteration (#6260)
* Added way to download files from overpass api

* Save downloaded text to a file

* Changed log type for File manipulation

* Online process files when request is valid

* Correct file format

* Correct file format for UE4 class

* Fix compilation issue due to name change

* Create Widget with OpenFileDialogFunctionality

* Step xodr to map completed

* Generated Static meshes and replace procedural actors

* Created and saved assets during road generation

* Formatted file correctly

* OSM To ODR broguht to UE4

* Full pipeline working on linux

* Added osm2odr support in editor in Windos

* Added Widget to CartaTools

* Fixed Linux compilation error

* Added Carla Game Instance included to avoid compilation error

* Osm Renderer Tool dummy version

* Server creates SVG files when client request it

* SVG creation and rasterization - libraries integration

* Server size working

* Added Simplify to LibCarla, Added timers to measure time generation.  Add mesh deformation during road creation.

* Fixed mesh format translations

* Trying to paint bitmap into the UTexture

* Bitmap sent and drawn in widget texture with bugs

* Map bitmap shown on widget

* Concated meshes generated in the same lane to avoid errors during simplification

* Navigation added to widget

* Avoid Simplify to remove border vertices and try to parallel assets creation process

* Road Generation 0.1 version ready

* Removing Engine Association, Formatting CarlaTools Build dependencies

* Change container type of generated procedural mesh componetns to be supported by UPROPERTY

* Fixed indices jumping by two

* Started dynamic database creation

* Dynamic database creation temporally removed

* First step of merge. Coords of bottom left corner and top right corner

* Libraries added to build system

* Git ignore for osmrenderer to avoid ThirdParties directory to be tracked

* Lat and Lon coords for corners sent from server to client

* Transformed to local coords meshes' vertices' coords

* Coords format error fixed

* Saving xodr and osm files inside of OpenDrive folder

* Widget fixed

* UI design improved

* WIP Windows build system for osm-world-renderer

* Socket implementation replaced by boost asio framework in osmrenderer

* Build system adapted to wndows

* Headers fixed to avoid windows specific heraders compilation

* Added widget to import building from houdini

* Added origin latitude and longituda to OSM to OpenDRIVE conversion functions. Fixed Houdini importer widgets.

* Add Houdini plugin download to the build system

* Moved houdini blueprint. Houdini plugin now dowloads by default

* Added houdini download for windows

---------

Co-authored-by: Aaron <samaniegoaaron112@gmail.com>
Co-authored-by: Blyron <53337103+Blyron@users.noreply.github.com>
Co-authored-by: aollero <aollero@cvc.uab.cat>
Co-authored-by: aollero <adriollero@gmail.com>
Co-authored-by: bernat <bernatx@gmail.com>
2023-03-03 17:26:48 +01:00
bernatx 9c9eda84bc Multi GPU first version 2022-07-21 13:24:02 +02:00
Axel1092 14a634aa29 Added chrono compilation support for windows. 2021-02-18 10:04:35 +01:00
Axel 95b5242d1e Fixed paths 2020-12-11 16:59:44 +01:00
Axel 23a33eb43e Fixed windows paths 2020-12-11 16:59:44 +01:00
Axel bffd921958 Added python script to edit uproject file. 2020-12-11 16:59:44 +01:00
Axel1092 96b74f25ae Updated bat files to consider --carsim flag 2020-12-10 20:38:33 +01:00
Daniel Santos-Oliván 937eb73bfa Change to Windows launch
In this way, we make sure that the correct version of UE4 is used for
carla.
2020-12-03 12:24:24 +01:00
Philipp Dittmann 9ad22a290a Fix backslash for UE4_ROOT in Util/BuildTools/BuildCarlaUE4.bat 2020-07-09 09:16:17 +02:00
Philipp Dittmann 20bb4c55bd Fix Windows build: Batch Files: proper handling of input, (back)slashes, spaces 2020-07-09 09:16:17 +02:00
bernat 0e60250a2b If UE4_ROOT is not specified, then use the last version found in the registry 2020-05-04 10:04:52 +02:00
bernat 3f6e308301 Fix windows script to find UE4 directory 2020-05-04 10:04:52 +02:00
Marc Garcia Puig 90284dc91e
Modifying pipeline for use AWS cloud (#2504)
Build success


Added package


Remove delete workspace for testing


Clean workspace after build


Add deploy for testing


Relocation of Unreal Engine


Using absolute path for UnrealEngine


Execute shell


Test without remove at end


Using bash instead of shell


New jenkins file for testing nodes

new tag

modified

modify 'test' stage


all in GPU


tags


all in 'build' and 'gpu'


Adjust some scripts to run smooth on GPU slave


force deploy always


Disable docker push


Remove all on slaves at end


add some locks


add some parallel stages


Fix windows package, now it copies all required files


Add 7zip option to compress package for windows


Add 'make CarlaUE4Editor' to windows


Fix the program files path for windows 64


More jobs on parallel


Add Update.bat to windows pipeline


Fixing make CarlaUE4Editor


Commenting stages in windows


Enable again download of content and fix artifact


Build only Ubuntu


Enable deploy of Docker


Make packaging of additional maps


Enabling windows build again


Adding Deploy for windows


Change URL to the new S3 buckets


Changed the Jenkins public IP


Fixes from Codacy


Disable Windows build


Add more time to smoke tests for connecting


Add 'run' option of examples without compilation


Enabled delete all after job


Adds a lock for the packaging


Removing all locks


Update the Doxygen step in Ubuntu


Fix nodes to use
2020-03-05 13:16:18 +01:00
Marc Garcia Puig 1e5d87878e Added zlib and libpng to Win setup, PythonAPI now compiles on Win 2019-02-12 15:06:27 +01:00
Marc Garcia Puig ee2df45ca7 Simplified make Windows usage + boost not using git but official repos 2019-02-12 15:06:26 +01:00
nsubiron 6c8499c8c9 Upgrade to UE4.21 2019-01-23 18:57:26 +01:00
iFuSiiOnzZ bbf222c6c9 Folder 'Saved\Logs' has to exist in order to generate the VS solution from UE4 project 2018-10-13 11:31:55 +02:00
Marc Garcia Puig e8e40a3380 Cleaned up a bit the cmd output. 2018-08-30 14:18:53 +02:00
iFuSiiOnzZ 527f641eaa Remove build log empty lines 2018-08-30 12:18:07 +02:00
iFuSiiOnzZ d88e338132 Updated documentation and small fixies in BuildCarlaUE4 2018-08-29 14:13:54 +02:00
iFuSiiOnzZ fcf71d3d61 Print batch params (debug purpose) 2018-08-29 12:24:30 +02:00
iFuSiiOnzZ 2616765530 Generate Visual Studio solution if not available 2018-08-24 14:58:46 +02:00
iFuSiiOnzZ 45f1dae560 Build and launch Carla editor 2018-08-24 10:43:22 +02:00
iFuSiiOnzZ 9673c79260 Remove hard-clean for windows and build and start Carla for 'make launch' 2018-08-23 18:26:20 +02:00
iFuSiiOnzZ f5b7ab08da Create carla package 2018-08-01 16:36:35 +02:00
iFuSiiOnzZ 6e6a69dd92 Improve user errors
Stop build if any error was found
Enable multiprocess compilation
Add BuildPythonAPI.bat to makefile
Add BOOST_ALL_NO_LIB as workaround for https://github.com/boostorg/python/issues/193
2018-07-31 16:35:02 +02:00
iFuSiiOnzZ fd6924d548 Build Carla and start UE4Editor
Change NMake to VS for rpc and gtest
Remove --delete-src for rpc, gtest and and boost
If carla server/client is compiled don't compile it again
2018-07-27 16:16:58 +02:00