Skip to content

Commit 7c914a7

Browse files
authored
Merge branch 'humble-devel' into test-fix-rtf-circuits
2 parents 42089da + 532f2d1 commit 7c914a7

80 files changed

Lines changed: 1654 additions & 553 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CustomRobots/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ install(
113113
autopark_harmonic/params
114114
# DRONE_ASSETS
115115
drone_assets/models
116-
drone_assets/worlds
117116
drone_assets/bridges
118117
# GLOBAL_NAVIGATION
119118
taxi_navigator/models

CustomRobots/drone_assets/bridges/rescue_people.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# gz topic published by IMU plugin
99
- ros_topic_name: "sensor_measurements/imu"
10-
gz_topic_name: "/world/empty/model/drone0/model/imu/link/internal/sensor/imu/imu"
10+
gz_topic_name: "/world/default/model/drone0/model/imu/link/internal/sensor/imu/imu"
1111
ros_type_name: "sensor_msgs/msg/Imu"
1212
gz_type_name: "gz.msgs.IMU"
1313
direction: GZ_TO_ROS
@@ -20,7 +20,7 @@
2020
direction: GZ_TO_ROS
2121

2222
- ros_topic_name: "/tf"
23-
gz_topic_name: "/world/empty/model/drone0/pose"
23+
gz_topic_name: "/world/default/model/drone0/pose"
2424
ros_type_name: "tf2_msgs/msg/TFMessage"
2525
gz_type_name: "gz.msgs.Pose_V"
2626
direction: GZ_TO_ROS
@@ -32,7 +32,7 @@
3232
direction: GZ_TO_ROS
3333

3434
- ros_topic_name: "/tf"
35-
gz_topic_name: "/world/empty/model/drone0/pose_static"
35+
gz_topic_name: "/world/default/model/drone0/pose_static"
3636
ros_type_name: "tf2_msgs/msg/TFMessage"
3737
gz_type_name: "gz.msgs.Pose_V"
3838
direction: GZ_TO_ROS
@@ -59,25 +59,25 @@
5959

6060
# Payload plugin
6161
- ros_topic_name: "sensor_measurements/frontal_camera/image_raw"
62-
gz_topic_name: "/world/empty/model/drone0/model/frontal_cam/link/hd_camera/sensor/camera/image"
62+
gz_topic_name: "/world/default/model/drone0/model/frontal_cam/link/hd_camera/sensor/camera/image"
6363
ros_type_name: "sensor_msgs/msg/Image"
6464
gz_type_name: "gz.msgs.Image"
6565
direction: GZ_TO_ROS
6666

6767
- ros_topic_name: "sensor_measurements/frontal_camera/camera_info"
68-
gz_topic_name: "/world/empty/model/drone0/model/frontal_cam/link/hd_camera/sensor/camera/camera_info"
68+
gz_topic_name: "/world/default/model/drone0/model/frontal_cam/link/hd_camera/sensor/camera/camera_info"
6969
ros_type_name: "sensor_msgs/msg/CameraInfo"
7070
gz_type_name: "gz.msgs.CameraInfo"
7171
direction: GZ_TO_ROS
7272

7373
- ros_topic_name: "sensor_measurements/ventral_camera/image_raw"
74-
gz_topic_name: "/world/empty/model/drone0/model/ventral_cam/link/hd_camera/sensor/camera/image"
74+
gz_topic_name: "/world/default/model/drone0/model/ventral_cam/link/hd_camera/sensor/camera/image"
7575
ros_type_name: "sensor_msgs/msg/Image"
7676
gz_type_name: "gz.msgs.Image"
7777
direction: GZ_TO_ROS
7878

7979
- ros_topic_name: "sensor_measurements/ventral_camera/camera_info"
80-
gz_topic_name: "/world/empty/model/drone0/model/ventral_cam/link/hd_camera/sensor/camera/camera_info"
80+
gz_topic_name: "/world/default/model/drone0/model/ventral_cam/link/hd_camera/sensor/camera/camera_info"
8181
ros_type_name: "sensor_msgs/msg/CameraInfo"
8282
gz_type_name: "gz.msgs.CameraInfo"
83-
direction: GZ_TO_ROS
83+
direction: GZ_TO_ROS

CustomRobots/drone_assets/worlds/rescue_people_harmonic.world

Lines changed: 0 additions & 92 deletions
This file was deleted.
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
cmake_minimum_required(VERSION 3.8)
2+
project(gz_link_attacher)
3+
4+
if(NOT CMAKE_CXX_STANDARD)
5+
set(CMAKE_CXX_STANDARD 17)
6+
endif()
7+
8+
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
9+
add_compile_options(-Wall -Wextra -Wpedantic)
10+
endif()
11+
12+
############################
13+
# Dependencies
14+
############################
15+
16+
find_package(ament_cmake REQUIRED)
17+
find_package(rclcpp REQUIRED)
18+
19+
find_package(gz-sim8 REQUIRED)
20+
find_package(gz-plugin2 REQUIRED)
21+
22+
find_package(linkattacher_msgs REQUIRED)
23+
24+
############################
25+
# Plugin library
26+
############################
27+
28+
add_library(gz_link_attacher SHARED
29+
src/gz_link_attacher.cpp
30+
)
31+
32+
target_link_libraries(gz_link_attacher
33+
gz-sim8::gz-sim8
34+
gz-plugin2::gz-plugin2
35+
)
36+
37+
ament_target_dependencies(gz_link_attacher
38+
rclcpp
39+
linkattacher_msgs
40+
)
41+
42+
############################
43+
# Install plugin
44+
############################
45+
46+
install(
47+
TARGETS gz_link_attacher
48+
LIBRARY DESTINATION lib
49+
)
50+
51+
############################
52+
# Environment hook (.dsv)
53+
############################
54+
55+
install(
56+
FILES env-hooks/gz_link_attacher.dsv
57+
DESTINATION share/${PROJECT_NAME}/environment
58+
)
59+
60+
############################
61+
# Export
62+
############################
63+
64+
ament_export_libraries(gz_link_attacher)
65+
66+
ament_export_dependencies(
67+
gz-sim8
68+
gz-plugin2
69+
)
70+
71+
ament_package()
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
prepend-non-duplicate;GZ_SIM_SYSTEM_PLUGIN_PATH;lib
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0"?>
2+
<package format="3">
3+
4+
<name>gz_link_attacher</name>
5+
<version>0.0.1</version>
6+
7+
<description>Gazebo Harmonic Link Attacher</description>
8+
9+
<maintainer email="dev@todo.com">dev</maintainer>
10+
11+
<license>Apache-2.0</license>
12+
13+
<buildtool_depend>ament_cmake</buildtool_depend>
14+
15+
<depend>rclcpp</depend>
16+
17+
<depend>gz-sim</depend>
18+
19+
<depend>linkattacher_msgs</depend>
20+
21+
<export>
22+
<build_type>ament_cmake</build_type>
23+
</export>
24+
25+
</package>

0 commit comments

Comments
 (0)