From 79971011af2eedc2cfd763883857b46229d7ca05 Mon Sep 17 00:00:00 2001 From: KiselevIlia Date: Fri, 29 Mar 2024 20:26:33 +0400 Subject: [PATCH] Fix build --- CMakeLists.txt | 10 +-------- msgs/Groundtruth.proto | 50 ------------------------------------------ 2 files changed, 1 insertion(+), 59 deletions(-) delete mode 100644 msgs/Groundtruth.proto diff --git a/CMakeLists.txt b/CMakeLists.txt index fd45e38..b4bd9a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,12 +45,6 @@ find_package(MAVLink) find_package(Protobuf REQUIRED) -#Generate messages files for collision plugin -PROTOBUF_GENERATE_CPP(PROTO_SRCS PROTO_HDRS msgs/CollisionObject.proto) - -#Generate messages files for groundtruth plugin -PROTOBUF_GENERATE_CPP(GT_PROTO_SRCS GT_PROTO_HDRS msgs/Groundtruth.proto) - include_directories(${CMAKE_BINARY_DIR}) include_directories( @@ -90,6 +84,4 @@ target_link_libraries(groundtruth_plugin PRIVATE gz-plugin${GZ_PLUGIN_VER}::gz-plugin${GZ_PLUGIN_VER} PRIVATE gz-msgs10::gz-msgs10 PRIVATE ${GZ_CUSTOM_MSGS} -) -# ln -s ./libgroundtruth_plugin.so /usr/lib/x86_64-linux-gnu/gz-sim-8/plugins -# ln -s ./libcollision_plugin.so /usr/lib/x86_64-linux-gnu/gz-sim-8/plugins \ No newline at end of file +) \ No newline at end of file diff --git a/msgs/Groundtruth.proto b/msgs/Groundtruth.proto deleted file mode 100644 index 0341cd9..0000000 --- a/msgs/Groundtruth.proto +++ /dev/null @@ -1,50 +0,0 @@ -syntax = "proto3"; -package gz.msgs; - -/// \brief Data from a Groundtruth plugin -/// For use gz::msgs::Groundtruth - -message Groundtruth -{ - /// \brief Sequence number - uint32 seq_num = 1; - - /// \brief Seconds - int64 time_sec = 2; - - /// \brief Nanoseconds - int32 time_nsec = 3; - - /// \brief Latitude in degrees - double latitude_rad = 4; - - /// \brief Longitude in degrees - double longitude_rad = 5; - - /// \brief Altitude in meters - double altitude_m = 6; - - /// \brief East velocity in the ENU frame, in m / s - double velocity_east = 7; - - /// \brief North velocity in the ENU frame, in m / s - double velocity_north = 8; - - /// \brief Up velocity in the ENU frame, in m / s - double velocity_up = 9; - - /// \brief Quaternion - altitude_w - double attitude_q_w = 10; - - /// \brief Quaternion - altitude_x - double attitude_q_x = 11; - - /// \brief Quaternion - altitude_y - double attitude_q_y = 12; - - /// \brief Quaternion - altitude_z - double attitude_q_z = 13; - - /// \brief Reference name - string frame_id = 14; -} \ No newline at end of file