From ae9e802cd871ac01400caf4a99f1343a52a333b2 Mon Sep 17 00:00:00 2001 From: Nathan Chambron <nathan.chambron@b-com.com> Date: Thu, 20 Jan 2022 17:32:01 +0100 Subject: [PATCH] modified param localCRS --- EtsiServerGen/CMakeLists.txt | 4 ++-- openapi.yaml | 22 +++++++++------------- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/EtsiServerGen/CMakeLists.txt b/EtsiServerGen/CMakeLists.txt index 6d77c0a..82551dd 100644 --- a/EtsiServerGen/CMakeLists.txt +++ b/EtsiServerGen/CMakeLists.txt @@ -34,5 +34,5 @@ file(GLOB HDRS add_library(${PROJECT_NAME} ${SRCS} ) target_link_libraries(${PROJECT_NAME} pistache pthread) -install(TARGETS ${PROJECT_NAME} DESTINATION /usr/lib) -install(FILES ${HDRS} DESTINATION include) \ No newline at end of file +install(TARGETS ${PROJECT_NAME} DESTINATION /usr/local) +install(FILES ${HDRS} DESTINATION include) diff --git a/openapi.yaml b/openapi.yaml index e5093ec..7011bd0 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -154,21 +154,17 @@ components: format: byte example: "10110101" localCRS: - description: Coordinate reference system of the trackable + description: Coordinate reference system of the trackable, a 4*4 matrix (rowmajor) represented by a float vector type: array - minItems: 4 - maxItems: 4 + minItems: 16 + maxItems: 16 items: - type: array - items: - type: number - format: float - minItems: 4 - maxItems: 4 - example: [[-2, 1, -3, 4], - [4, 4, 4, 2], - [1, 0, -2, 1], - [-1, -2, 0, 0]] + type: number + format: float + example: [-2, 1, -3, 4, + 4, 4, 4, 2, + 1, 0, -2, 1, + -1, -2, 0, 0] unitSystem: description: Unit of length type: string -- GitLab