Commit Graph

96 Commits

Author SHA1 Message Date
bernatx 4d7ab9e9cb removing ROS2 from release 2023-11-09 16:12:00 +01:00
bernatx 67b928bae0 fixing Jenkinsfile for ROS2 package 2023-11-09 09:57:37 +01:00
bernatx d3341d674f make ROS2 in a separate package 2023-11-08 22:29:28 +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
bernatx 7c106b9426 adding Town15 as AdditionalMap 2023-10-27 14:39:37 +02:00
bernatx 556c41bb54 Adding Town13 as AdditionalMap 2023-10-24 20:44:26 +02:00
bernatx d3501de03c Removing python 2 from the smoke tests 2023-02-24 10:28:37 +01:00
Axel 4a8c80adb5 Added Town12 to jenkinsfile 2022-11-30 10:36:55 +01:00
bernatx 6ed174b72d Fix documentation git address 2021-10-27 09:16:38 +02:00
bernatx 161b7f198f Refresh documentation with dev branch also 2021-09-20 23:46:16 +02:00
bernatx d1debd9a20 Adding target for python wheels 2021-07-30 11:18:30 +02:00
bernatx 0d3bfe15c2 Avoid additional maps in smoke test by now 2021-07-30 10:01:45 +02:00
bernatx 4d04b4ae29 Cook maps one by one in windows (slower but can package unlimited maps) 2021-07-30 03:07:41 +02:00
bernatx c0f93b4ec7 Disable docker for development branch 2021-07-29 00:01:44 +02:00
bernatx 2d59fd5788 Enable carla:latest docker of development branch 2021-07-28 19:21:08 +02:00
bernat e6379b4aa2 Add Town10HD_Opt as default town 2021-07-26 10:35:39 +02:00
bernat c479625399 Updating Jenkinsfile to include the wheels as artifacts 2021-07-26 10:25:08 +02:00
Joel Moriana d6185fe982 first iteration python wheels support 2021-07-26 10:25:08 +02:00
bernat 7a4339b5aa Add additional maps to be tested 2021-06-16 11:04:24 +02:00
Daniel Santos-Oliván 2621a9ad11 Disable camera smoke test 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan 7edcea297b Jenkinsfile: Revert changes 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan 55f68cc403 Update of Jenkinsfile 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan d6ee662bcd Jenkinsfile: Added control in the launch of the server 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan c779b364e8 Jenkinsfile: grouping sh commands in blocks 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan 93ab8b9d87 Jenkinsfile: Fixed small bug 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan d486adc81a Update Jenkinsfile
We have split the smoke test for Python2, Python3 and the examples
to reboot the server between each of them.
2021-05-20 16:33:27 +02:00
Axel 04482af93d Updated jenkinsfile and changelog 2021-03-04 12:48:57 +01:00
bernat 8a140a8ed0 Update --clean-intermediate flag 2021-03-01 15:29:17 +01:00
bernat 930952e58d Updating content version 2021-03-01 11:34:22 +01:00
bernat 92b26c234d Disabling temporally AdditionalMaps on windows 2021-02-26 09:29:06 +01:00
bernat f0248d3812 Removing Carsim from packages 2021-02-25 16:48:15 +01:00
bernat 646325094a Adding offscreen command 2021-02-25 16:48:15 +01:00
bernat 132d394a82 Adding UE4_ROOT variable 2021-02-25 16:48:15 +01:00
bernat 6a5f64ed57 Modified Jenkinsfile for UE 4.26 2021-02-25 16:48:15 +01:00
bernat 7374804542 Adding plugins to the package 2020-12-22 16:13:50 +01:00
bernat 0d24c199fa New option to package to a single archive all 2020-12-18 14:32:05 +01:00
bernat 87f477b852 Fix windows packages argument 2020-12-14 12:33:31 +01:00
Axel 9f13584be8 Update gitignore 2020-12-11 16:59:44 +01:00
Axel a046aa0c62 Fixed jenkinsfile 2020-12-10 20:38:33 +01:00
Axel b1cbabd37a Updated Jenkinsfile 2020-12-10 20:38:33 +01:00
Axel 784d9b9ffe Updated jenkins file. 2020-10-02 11:51:37 +02:00
Axel b6c650d438 Python 2 returns. 2020-10-02 11:51:37 +02:00
bernat b08539d7f4 Add Python 2 .egg 2020-09-30 12:53:05 +02:00
bernat 3e76783217 Fixing python version 2020-09-23 17:47:11 +02:00
bernat fd611b2e33 Adding smoke_tests again 2020-09-23 17:47:11 +02:00
bernat 43ce1b0f01 Adding nightly build on dev branch 2020-09-23 12:00:19 +02:00
bernat f2c3b9fce6 Revert "Adding nightly build on dev branch also"
This reverts commit 3a8db3fd9f.
2020-09-23 10:54:14 +02:00
bernat 3a8db3fd9f Adding nightly build on dev branch also 2020-09-23 10:50:13 +02:00
bernat 201bc254a7 Changing Jenkinsfile for Doxygen 2020-09-04 17:25:21 +02:00
Axel 172d947ed8 Removed Python 2 from default builds. 2020-09-04 17:24:16 +02:00