mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 11:36:34 +00:00
Added new qmake config option which enables real gimbal camera
Gimbal camera can be enabled and used for example with command: qmake6 CONFIG+=gimbal && make && ./rtsp_ai_player ~/azaion/models/onnx/yolov8m.onnx
This commit is contained in:
@@ -4,9 +4,16 @@ CONFIG += c++11 concurrent console
|
||||
MOC_DIR = moc
|
||||
OBJECTS_DIR = obj
|
||||
|
||||
SOURCES = $$PWD/*.cpp $$PWD/../../misc/camera/a8_remote/remoteControl.cpp
|
||||
SOURCES = $$PWD/*.cpp
|
||||
HEADERS = $$PWD/*.h
|
||||
INCLUDEPATH += $$PWD/../../misc/camera/a8_remote
|
||||
|
||||
gimbal {
|
||||
message("Using real gimbal camera.")
|
||||
QMAKE_CXXFLAGS += -DGIMBAL
|
||||
}
|
||||
else {
|
||||
message("Not using real gimbal camera.")
|
||||
}
|
||||
|
||||
opi5 {
|
||||
message("OPI5 build")
|
||||
|
||||
Reference in New Issue
Block a user