ADD: rework the Trackmessages and added/changed protos for the messages;

This commit is contained in:
Henry Winkel
2023-02-16 17:18:17 +01:00
parent 982b701032
commit fa03be0435
44 changed files with 6088 additions and 725 deletions

View File

@@ -27,21 +27,34 @@ protobuf_generate_cpp(PROTO_PATH include/SimCore/Messages/Protos CPP_PATH inclu
add_library(SimCore STATIC
include/SimCore/Entity.hpp
src/SimCore/Entity.cpp
include/SimCore/Messages/Track.hpp
src/SimCore/Messages/Track.cpp
include/SimCore/Messages/RadarTrack.hpp
src/SimCore/Messages/RadarTrack.cpp
include/SimCore/Messages/ESMTrack.hpp
src/SimCore/Messages/ESMTrack.cpp
include/SimCore/Messages/SensorTrack.hpp
src/SimCore/Messages/SensorTrack.cpp
include/SimCore/Messages/Protos/Track.pb.cc
include/SimCore/Messages/Protos/GeocentricPosition.pb.cc
include/SimCore/Messages/Protos/Identifier.pb.cc
include/SimCore/Messages/Protos/RadarTrack.pb.cc
include/SimCore/Messages/Protos/ESMTrack.pb.cc
include/SimCore/Messages/Protos/ESMData.pb.cc
include/SimCore/Messages/Protos/SensorTrack.pb.cc
include/SimCore/Messages/Protos/GroundTruthTrack.pb.cc
include/SimCore/Messages/GroundThruthTrack.hpp
src/SimCore/Messages/GroundThruthTrack.cpp
include/SimCore/Position.hpp
src/SimCore/Position.cpp
@@ -58,9 +71,14 @@ add_library(SimCore STATIC
include/SimCore/UtilFunctions.hpp
src/SimCore/UtilFunctions.cpp
include/SimCore/Sensor.hpp
src/SimCore/Sensor.cpp
)
include/SimCore/Templates/Sensor.hpp
src/SimCore/Templates/Sensor.cpp
include/SimCore/Templates/Entity.hpp
src/SimCore/Templates/Entity.cpp
)
target_link_libraries(SimCore
whisper-com
@@ -107,9 +125,9 @@ IF (${TEST_SIMCORE_LIBRARY})
target_link_libraries(test_PositionClass Catch2::Catch2 SimCore eigen loguru)
catch_discover_tests(test_PositionClass)
add_executable(test_TrackClass tests/test_TrackClass.cpp)
target_link_libraries(test_TrackClass Catch2::Catch2 SimCore eigen loguru)
catch_discover_tests(test_TrackClass)
add_executable(test_GroundTruthTrackClass tests/test_GroundTruthTrackClass.cpp)
target_link_libraries(test_GroundTruthTrackClass Catch2::Catch2 SimCore eigen loguru)
catch_discover_tests(test_GroundTruthTrackClass)
add_executable(test_RadarTrackClass tests/test_RadarTrackClass.cpp)
target_link_libraries(test_RadarTrackClass Catch2::Catch2 SimCore loguru)
@@ -136,6 +154,13 @@ IF (${TEST_SIMCORE_LIBRARY})
target_link_libraries(test_SensorClass Catch2::Catch2 SimCore loguru)
catch_discover_tests(test_SensorClass)
add_executable(test_EntityClass tests/test_EntityClass.cpp)
target_link_libraries(test_EntityClass Catch2::Catch2 SimCore loguru)
catch_discover_tests(test_EntityClass)
add_executable(test_Trackstore tests/test_Trackstore.cpp)
target_link_libraries(test_Trackstore Catch2::Catch2 SimCore loguru)
catch_discover_tests(test_SensorClass)
ENDIF()