forked from floratest1/SpireCV
clean up codes
This commit is contained in:
parent
36fc8eefef
commit
469ba77fe6
|
@ -1,12 +1,4 @@
|
|||
#!/bin/bash -e
|
||||
###
|
||||
# @Description:
|
||||
# @Author: L LC @amov
|
||||
# @Date: 2023-11-21 16:10:38
|
||||
# @LastEditors: L LC @amov
|
||||
# @LastEditTime: 2023-11-28 11:27:13
|
||||
# @FilePath: /SpireCV/build_on_x86_cuda.sh
|
||||
###
|
||||
|
||||
rm -rf build
|
||||
mkdir build
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2022-10-27 18:10:06
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-08-16 21:53:43
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/AT10/AT10_gimbal_crc32.h
|
||||
* @LastEditTime: 2023-11-28 11:47:48
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/AT10/AT10_gimbal_crc32.h
|
||||
*/
|
||||
#ifndef AT10_GIMBAL_CRC32_H
|
||||
#define AT10_GIMBAL_CRC32_H
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2022-10-27 18:10:06
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-08-25 19:39:56
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/AT10/AT10_gimbal_driver.cpp
|
||||
* @LastEditTime: 2023-11-28 11:47:53
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/AT10/AT10_gimbal_driver.cpp
|
||||
*/
|
||||
#include "AT10_gimbal_driver.h"
|
||||
#include "AT10_gimbal_crc32.h"
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2022-10-28 12:24:21
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-08-25 19:28:55
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/AT10/AT10_gimbal_driver.h
|
||||
* @LastEditTime: 2023-11-28 11:47:58
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/AT10/AT10_gimbal_driver.h
|
||||
*/
|
||||
#include "../amov_gimbal.h"
|
||||
#include "../amov_gimbal_private.h"
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2023-03-02 10:00:52
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-09-07 10:56:15
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/AT10/AT10_gimbal_funtion.cpp
|
||||
* @LastEditTime: 2023-11-28 11:48:03
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/AT10/AT10_gimbal_funtion.cpp
|
||||
*/
|
||||
#include "AT10_gimbal_driver.h"
|
||||
#include "AT10_gimbal_crc32.h"
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2022-10-27 18:10:07
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-08-25 19:32:59
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/AT10/AT10_gimbal_struct.h
|
||||
* @LastEditTime: 2023-11-28 11:48:08
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/AT10/AT10_gimbal_struct.h
|
||||
*/
|
||||
#ifndef AT10_GIMBAL_STRUCT_H
|
||||
#define AT10_GIMBAL_STRUCT_H
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
add_library(AMOV_Gimbal ${LIB_FLAG})
|
||||
|
||||
SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -Wall -g2 -ggdb -fPIC")
|
||||
SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 -Wall -fPIC")
|
||||
|
||||
add_definitions(
|
||||
-DMAX_QUEUE_SIZE=100
|
||||
)
|
||||
|
||||
add_subdirectory(FIFO)
|
||||
########## add types of gimbal ##############
|
||||
add_subdirectory(G1)
|
||||
add_subdirectory(Q10f)
|
||||
add_subdirectory(AT10)
|
||||
add_subdirectory(GX40)
|
||||
|
||||
file(GLOB LIB_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
|
||||
|
||||
target_sources(AMOV_Gimbal
|
||||
PRIVATE
|
||||
${LIB_FILES}
|
||||
)
|
||||
|
||||
target_link_libraries(AMOV_Gimbal
|
||||
PRIVATE
|
||||
Gimabl_G1
|
||||
Gimabl_G2
|
||||
Gimabl_Q10f
|
||||
Gimabl_AT10
|
||||
Gimabl_GX40
|
||||
)
|
||||
|
||||
target_include_directories(AMOV_Gimbal
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
add_library(FIFO)
|
||||
|
||||
file(GLOB LIB_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
|
||||
|
||||
target_sources(FIFO
|
||||
PRIVATE
|
||||
${LIB_FILES}
|
||||
)
|
||||
|
||||
target_include_directories(FIFO
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -3,8 +3,8 @@
|
|||
* @Author : Aiyangsky
|
||||
* @Date : 2022-08-26 21:42:10
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-07-21 16:10:16
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/FIFO/Ring_Fifo.cpp
|
||||
* @LastEditTime: 2023-11-28 11:47:34
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/FIFO/Ring_Fifo.cpp
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author : Aiyangsky
|
||||
* @Date : 2022-08-26 21:42:02
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-08-16 21:22:46
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/FIFO/Ring_Fifo.h
|
||||
* @LastEditTime: 2023-11-28 11:47:39
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/FIFO/Ring_Fifo.h
|
||||
*/
|
||||
|
||||
#ifndef RING_FIFO_H
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2022-10-27 18:10:06
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2022-10-28 14:10:02
|
||||
* @FilePath: \amov-gimbal-sdk\src\G1\g1_gimbal_crc32.h
|
||||
* @LastEditTime: 2023-11-28 11:47:02
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/G1/g1_gimbal_crc32.h
|
||||
*/
|
||||
#ifndef G1_GIMBAL_CRC32_H
|
||||
#define G1_GIMBAL_CRC32_H
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2022-10-27 18:10:06
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-09-07 11:01:25
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/G1/g1_gimbal_driver.cpp
|
||||
* @LastEditTime: 2023-11-28 11:47:07
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/G1/g1_gimbal_driver.cpp
|
||||
*/
|
||||
#include "g1_gimbal_driver.h"
|
||||
#include "g1_gimbal_crc32.h"
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2022-10-28 12:24:21
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-09-07 02:31:19
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/G1/g1_gimbal_driver.h
|
||||
* @LastEditTime: 2023-11-28 11:47:12
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/G1/g1_gimbal_driver.h
|
||||
*/
|
||||
#include "../amov_gimbal.h"
|
||||
#include "../amov_gimbal_private.h"
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2023-03-02 10:00:52
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-09-07 10:50:30
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/G1/g1_gimbal_funtion.cpp
|
||||
* @LastEditTime: 2023-11-28 11:47:19
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/G1/g1_gimbal_funtion.cpp
|
||||
*/
|
||||
#include "g1_gimbal_driver.h"
|
||||
#include "g1_gimbal_crc32.h"
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2022-10-27 18:10:07
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-09-07 10:45:13
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/G1/g1_gimbal_struct.h
|
||||
* @LastEditTime: 2023-11-28 11:47:24
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/G1/g1_gimbal_struct.h
|
||||
*/
|
||||
#ifndef G1_GIMBAL_STRUCT_H
|
||||
#define G1_GIMBAL_STRUCT_H
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
add_library(Gimabl_GX40)
|
||||
|
||||
file(GLOB LIB_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
|
||||
|
||||
target_sources(Gimabl_GX40
|
||||
PUBLIC
|
||||
${LIB_FILES}
|
||||
)
|
||||
|
||||
target_link_libraries(Gimabl_GX40
|
||||
PUBLIC
|
||||
FIFO
|
||||
)
|
||||
|
||||
target_include_directories(Gimabl_GX40
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2023-10-20 16:33:07
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-11-01 17:03:16
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/GX40/GX40_gimbal_crc16.h
|
||||
* @LastEditTime: 2023-11-28 11:46:51
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/GX40/GX40_gimbal_crc16.h
|
||||
*/
|
||||
#ifndef GX40_GIMBAL_CRC16_H
|
||||
#define GX40_GIMBAL_CRC16_H
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2023-10-20 16:08:17
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-11-16 17:23:38
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/GX40/GX40_gimbal_driver.cpp
|
||||
* @LastEditTime: 2023-11-28 11:46:45
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/GX40/GX40_gimbal_driver.cpp
|
||||
*/
|
||||
#include <string.h>
|
||||
#include "GX40_gimbal_driver.h"
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2023-10-20 16:08:13
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-11-16 17:23:27
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/GX40/GX40_gimbal_driver.h
|
||||
* @LastEditTime: 2023-11-28 11:46:35
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/GX40/GX40_gimbal_driver.h
|
||||
*/
|
||||
#include "../amov_gimbal.h"
|
||||
#include "../amov_gimbal_private.h"
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2023-11-02 17:50:26
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-11-16 17:23:07
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/GX40/GX40_gimbal_funtion.cpp
|
||||
* @LastEditTime: 2023-11-28 11:46:28
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/GX40/GX40_gimbal_funtion.cpp
|
||||
*/
|
||||
#include <string.h>
|
||||
#include "GX40_gimbal_driver.h"
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2023-10-20 16:08:13
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-11-16 17:27:05
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/GX40/GX40_gimbal_struct.h
|
||||
* @LastEditTime: 2023-11-28 11:46:22
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/GX40/GX40_gimbal_struct.h
|
||||
*/
|
||||
#ifndef GX40_GIMBAL_STRUCT_H
|
||||
#define GX40_GIMBAL_STRUCT_H
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2022-10-27 18:10:06
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-03-23 17:24:23
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/Q10f/Q10f_gimbal_crc32.h
|
||||
* @LastEditTime: 2023-11-28 11:45:25
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/Q10f/Q10f_gimbal_crc32.h
|
||||
*/
|
||||
#ifndef Q10F_GIMBAL_CRC32_H
|
||||
#define Q10F_GIMBAL_CRC32_H
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2022-10-27 18:10:06
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-07-24 12:03:44
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/Q10f/Q10f_gimbal_driver.cpp
|
||||
* @LastEditTime: 2023-11-28 11:45:31
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/Q10f/Q10f_gimbal_driver.cpp
|
||||
*/
|
||||
#include "Q10f_gimbal_driver.h"
|
||||
#include "Q10f_gimbal_crc32.h"
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2022-10-28 12:24:21
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-03-28 17:01:00
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/Q10f/Q10f_gimbal_driver.h
|
||||
* @LastEditTime: 2023-11-28 11:45:36
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/Q10f/Q10f_gimbal_driver.h
|
||||
*/
|
||||
#include "../amov_gimbal.h"
|
||||
#include "../amov_gimbal_private.h"
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2023-03-02 10:00:52
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-07-24 14:22:57
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/Q10f/Q10f_gimbal_funtion.cpp
|
||||
* @LastEditTime: 2023-11-28 11:45:41
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/Q10f/Q10f_gimbal_funtion.cpp
|
||||
*/
|
||||
#include "Q10f_gimbal_driver.h"
|
||||
#include "Q10f_gimbal_crc32.h"
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2022-10-27 18:10:07
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-07-24 11:51:59
|
||||
* @FilePath: /gimbal-sdk-multi-platform/src/Q10f/Q10f_gimbal_struct.h
|
||||
* @LastEditTime: 2023-11-28 11:45:46
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/Q10f/Q10f_gimbal_struct.h
|
||||
*/
|
||||
#ifndef Q10F_GIMBAL_STRUCT_H
|
||||
#define Q10F_GIMBAL_STRUCT_H
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2022-10-28 11:54:11
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-11-16 17:27:28
|
||||
* @FilePath: gimbal_ctrl/driver/src/amov_gimbal.cpp
|
||||
* @LastEditTime: 2023-11-28 11:44:37
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/amov_gimbal.cpp
|
||||
*/
|
||||
|
||||
#include "amov_gimbal_private.h"
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2022-10-27 18:34:26
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-11-14 13:57:33
|
||||
* @FilePath: gimbal_ctrl/driver/src/amov_gimbal.h
|
||||
* @LastEditTime: 2023-11-28 11:44:44
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/amov_gimbal.h
|
||||
*/
|
||||
|
||||
#ifndef AMOV_GIMBAL_H
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author : Aiyangsky
|
||||
* @Date : 2023-05-13 10:39:20
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-11-14 10:35:56
|
||||
* @FilePath: gimbal_ctrl/driver/src/amov_gimbal_private.h
|
||||
* @LastEditTime: 2023-11-28 11:45:18
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/amov_gimbal_private.h
|
||||
*/
|
||||
#ifndef __AMOV_GIMABL_PRIVATE_H
|
||||
#define __AMOV_GIMABL_PRIVATE_H
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2022-10-31 11:56:43
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-10-23 18:05:59
|
||||
* @FilePath: gimbal_ctrl/driver/src/amov_gimbal_struct.h
|
||||
* @LastEditTime: 2023-11-28 11:44:30
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/amov_gimbal_struct.h
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2023-07-31 18:30:33
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-07-31 18:55:18
|
||||
* @FilePath: gimbal_ctrl/driver/src/amov_tool.h
|
||||
* @LastEditTime: 2023-11-28 11:44:49
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/driver/src/amov_tool.h
|
||||
*/
|
||||
|
||||
namespace amovGimbalTools
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2023-04-12 09:12:52
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-04-18 11:37:42
|
||||
* @FilePath: /spirecv-gimbal-sdk/gimbal_ctrl/sv_gimbal.cpp
|
||||
* @LastEditTime: 2023-11-28 11:43:39
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/sv_gimbal.cpp
|
||||
*/
|
||||
#include "amov_gimbal.h"
|
||||
#include "amov_gimbal_struct.h"
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* @Author: L LC @amov
|
||||
* @Date: 2023-04-12 12:22:09
|
||||
* @LastEditors: L LC @amov
|
||||
* @LastEditTime: 2023-04-13 10:17:21
|
||||
* @FilePath: /spirecv-gimbal-sdk/gimbal_ctrl/sv_gimbal_io.hpp
|
||||
* @LastEditTime: 2023-11-28 11:43:49
|
||||
* @FilePath: /SpireCV/gimbal_ctrl/sv_gimbal_io.hpp
|
||||
*/
|
||||
#ifndef __SV_GIMABL_IO_H
|
||||
#define __SV_GIMABL_IO_H
|
||||
|
|
Loading…
Reference in New Issue