testapollompc.pro 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. QT -= gui
  2. CONFIG += c++11 console
  3. CONFIG -= app_bundle
  4. # The following define makes your compiler emit warnings if you use
  5. # any Qt feature that has been marked deprecated (the exact warnings
  6. # depend on your compiler). Please consult the documentation of the
  7. # deprecated API in order to know how to port your code away from it.
  8. DEFINES += QT_DEPRECATED_WARNINGS
  9. DEFINES += ADCTEST
  10. # You can also make your code fail to compile if it uses deprecated APIs.
  11. # In order to do so, uncomment the following line.
  12. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  13. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  14. SOURCES += \
  15. ../../../thirdpartylib/apollo/cyber/binary.cc \
  16. ../../../thirdpartylib/apollo/cyber/common/file.cc \
  17. ../../../thirdpartylib/apollo/cyber/common/global_data.cc \
  18. ../../../thirdpartylib/apollo/cyber/proto/choreography_conf.pb.cc \
  19. ../../../thirdpartylib/apollo/cyber/proto/classic_conf.pb.cc \
  20. ../../../thirdpartylib/apollo/cyber/proto/cyber_conf.pb.cc \
  21. ../../../thirdpartylib/apollo/cyber/proto/perf_conf.pb.cc \
  22. ../../../thirdpartylib/apollo/cyber/proto/run_mode_conf.pb.cc \
  23. ../../../thirdpartylib/apollo/cyber/proto/scheduler_conf.pb.cc \
  24. ../../../thirdpartylib/apollo/cyber/proto/transport_conf.pb.cc \
  25. ../../../thirdpartylib/apollo/cyber/time/clock.cc \
  26. ../../../thirdpartylib/apollo/cyber/time/duration.cc \
  27. ../../../thirdpartylib/apollo/cyber/time/time.cc \
  28. ../../../thirdpartylib/apollo/modules/canbus/proto/chassis.pb.cc \
  29. ../../../thirdpartylib/apollo/modules/common/configs/config_gflags.cc \
  30. ../../../thirdpartylib/apollo/modules/common/configs/proto/vehicle_config.pb.cc \
  31. ../../../thirdpartylib/apollo/modules/common/configs/vehicle_config_helper.cc \
  32. ../../../thirdpartylib/apollo/modules/common/filters/digital_filter.cc \
  33. ../../../thirdpartylib/apollo/modules/common/filters/digital_filter_coefficients.cc \
  34. ../../../thirdpartylib/apollo/modules/common/filters/mean_filter.cc \
  35. ../../../thirdpartylib/apollo/modules/common/math/aabox2d.cc \
  36. ../../../thirdpartylib/apollo/modules/common/math/box2d.cc \
  37. ../../../thirdpartylib/apollo/modules/common/math/line_segment2d.cc \
  38. ../../../thirdpartylib/apollo/modules/common/math/linear_interpolation.cc \
  39. ../../../thirdpartylib/apollo/modules/common/math/math_utils.cc \
  40. ../../../thirdpartylib/apollo/modules/common/math/mpc_osqp.cc \
  41. ../../../thirdpartylib/apollo/modules/common/math/polygon2d.cc \
  42. ../../../thirdpartylib/apollo/modules/common/math/search.cc \
  43. ../../../thirdpartylib/apollo/modules/common/math/vec2d.cc \
  44. ../../../thirdpartylib/apollo/modules/common/proto/drive_state.pb.cc \
  45. ../../../thirdpartylib/apollo/modules/common/proto/error_code.pb.cc \
  46. ../../../thirdpartylib/apollo/modules/common/proto/geometry.pb.cc \
  47. ../../../thirdpartylib/apollo/modules/common/proto/header.pb.cc \
  48. ../../../thirdpartylib/apollo/modules/common/proto/pnc_point.pb.cc \
  49. ../../../thirdpartylib/apollo/modules/common/proto/vehicle_signal.pb.cc \
  50. ../../../thirdpartylib/apollo/modules/common/vehicle_state/proto/vehicle_state.pb.cc \
  51. ../../../thirdpartylib/apollo/modules/common/vehicle_state/vehicle_state_provider.cc \
  52. ../../../thirdpartylib/apollo/modules/control/common/control_gflags.cc \
  53. ../../../thirdpartylib/apollo/modules/control/common/interpolation_1d.cc \
  54. ../../../thirdpartylib/apollo/modules/control/common/interpolation_2d.cc \
  55. ../../../thirdpartylib/apollo/modules/control/common/trajectory_analyzer.cc \
  56. ../../../thirdpartylib/apollo/modules/control/proto/calibration_table.pb.cc \
  57. ../../../thirdpartylib/apollo/modules/control/proto/control_cmd.pb.cc \
  58. ../../../thirdpartylib/apollo/modules/control/proto/control_conf.pb.cc \
  59. ../../../thirdpartylib/apollo/modules/control/proto/gain_scheduler_conf.pb.cc \
  60. ../../../thirdpartylib/apollo/modules/control/proto/input_debug.pb.cc \
  61. ../../../thirdpartylib/apollo/modules/control/proto/lat_controller_conf.pb.cc \
  62. ../../../thirdpartylib/apollo/modules/control/proto/leadlag_conf.pb.cc \
  63. ../../../thirdpartylib/apollo/modules/control/proto/lon_controller_conf.pb.cc \
  64. ../../../thirdpartylib/apollo/modules/control/proto/mpc_controller_conf.pb.cc \
  65. ../../../thirdpartylib/apollo/modules/control/proto/mrac_conf.pb.cc \
  66. ../../../thirdpartylib/apollo/modules/control/proto/pad_msg.pb.cc \
  67. ../../../thirdpartylib/apollo/modules/control/proto/pid_conf.pb.cc \
  68. ../../../thirdpartylib/apollo/modules/dreamview/proto/chart.pb.cc \
  69. ../../../thirdpartylib/apollo/modules/localization/common/localization_gflags.cc \
  70. ../../../thirdpartylib/apollo/modules/localization/proto/localization.pb.cc \
  71. ../../../thirdpartylib/apollo/modules/localization/proto/localization_status.pb.cc \
  72. ../../../thirdpartylib/apollo/modules/localization/proto/pose.pb.cc \
  73. ../../../thirdpartylib/apollo/modules/map/proto/map.pb.cc \
  74. ../../../thirdpartylib/apollo/modules/map/proto/map_clear_area.pb.cc \
  75. ../../../thirdpartylib/apollo/modules/map/proto/map_crosswalk.pb.cc \
  76. ../../../thirdpartylib/apollo/modules/map/proto/map_geometry.pb.cc \
  77. ../../../thirdpartylib/apollo/modules/map/proto/map_id.pb.cc \
  78. ../../../thirdpartylib/apollo/modules/map/proto/map_junction.pb.cc \
  79. ../../../thirdpartylib/apollo/modules/map/proto/map_lane.pb.cc \
  80. ../../../thirdpartylib/apollo/modules/map/proto/map_overlap.pb.cc \
  81. ../../../thirdpartylib/apollo/modules/map/proto/map_parking_space.pb.cc \
  82. ../../../thirdpartylib/apollo/modules/map/proto/map_pnc_junction.pb.cc \
  83. ../../../thirdpartylib/apollo/modules/map/proto/map_road.pb.cc \
  84. ../../../thirdpartylib/apollo/modules/map/proto/map_rsu.pb.cc \
  85. ../../../thirdpartylib/apollo/modules/map/proto/map_signal.pb.cc \
  86. ../../../thirdpartylib/apollo/modules/map/proto/map_speed_bump.pb.cc \
  87. ../../../thirdpartylib/apollo/modules/map/proto/map_stop_sign.pb.cc \
  88. ../../../thirdpartylib/apollo/modules/map/proto/map_yield_sign.pb.cc \
  89. ../../../thirdpartylib/apollo/modules/map/relative_map/proto/navigation.pb.cc \
  90. ../../../thirdpartylib/apollo/modules/perception/proto/perception_obstacle.pb.cc \
  91. ../../../thirdpartylib/apollo/modules/perception/proto/traffic_light_detection.pb.cc \
  92. ../../../thirdpartylib/apollo/modules/planning/proto/decision.pb.cc \
  93. ../../../thirdpartylib/apollo/modules/planning/proto/math/fem_pos_deviation_smoother_config.pb.cc \
  94. ../../../thirdpartylib/apollo/modules/planning/proto/open_space_task_config.pb.cc \
  95. ../../../thirdpartylib/apollo/modules/planning/proto/planner_open_space_config.pb.cc \
  96. ../../../thirdpartylib/apollo/modules/planning/proto/planning.pb.cc \
  97. ../../../thirdpartylib/apollo/modules/planning/proto/planning_config.pb.cc \
  98. ../../../thirdpartylib/apollo/modules/planning/proto/planning_internal.pb.cc \
  99. ../../../thirdpartylib/apollo/modules/planning/proto/sl_boundary.pb.cc \
  100. ../../../thirdpartylib/apollo/modules/planning/proto/task_config.pb.cc \
  101. ../../../thirdpartylib/apollo/modules/routing/proto/routing.pb.cc \
  102. adc_mpc_controller.cc \
  103. main.cpp
  104. # Default rules for deployment.
  105. qnx: target.path = /tmp/$${TARGET}/bin
  106. else: unix:!android: target.path = /opt/$${TARGET}/bin
  107. !isEmpty(target.path): INSTALLS += target
  108. HEADERS += \
  109. ../../../thirdpartylib/apollo/modules/canbus/proto/chassis.pb.h \
  110. ../../../thirdpartylib/apollo/modules/common/configs/proto/vehicle_config.pb.h \
  111. ../../../thirdpartylib/apollo/modules/common/proto/drive_state.pb.h \
  112. ../../../thirdpartylib/apollo/modules/common/proto/error_code.pb.h \
  113. ../../../thirdpartylib/apollo/modules/common/proto/geometry.pb.h \
  114. ../../../thirdpartylib/apollo/modules/common/proto/header.pb.h \
  115. ../../../thirdpartylib/apollo/modules/common/proto/pnc_point.pb.h \
  116. ../../../thirdpartylib/apollo/modules/common/proto/vehicle_signal.pb.h \
  117. ../../../thirdpartylib/apollo/modules/control/controller/mpc_controller.h \
  118. ../../../thirdpartylib/apollo/modules/map/proto/map_rsu.pb.h \
  119. ../../../thirdpartylib/apollo/modules/planning/proto/planning.pb.h
  120. INCLUDEPATH += /usr/include/eigen3
  121. INCLUDEPATH += $$PWD/../../../thirdpartylib/apollo
  122. INCLUDEPATH += ../../..//thirdpartylib/osqp-0.5.0/include
  123. INCLUDEPATH += ../../../thirdpartylib/abseil-cpp
  124. LIBS += -lprotobuf -lglog -lgflags -lgtest
  125. LIBS += -L$$PWD/../../../thirdpartylib/grpc/lib
  126. LIBS += -labsl_raw_hash_set -labsl_hashtablez_sampler -labsl_exponential_biased -labsl_hash -labsl_bad_variant_access -labsl_city -labsl_status -labsl_cord -labsl_str_format_internal -labsl_synchronization -labsl_graphcycles_internal -labsl_symbolize -labsl_demangle_internal -labsl_stacktrace -labsl_debugging_internal -labsl_malloc_internal -labsl_time -labsl_time_zone -labsl_civil_time -labsl_strings -labsl_strings_internal -labsl_throw_delegate -labsl_int128 -labsl_base -labsl_spinlock_wait -labsl_bad_optional_access -labsl_raw_logging_internal -labsl_log_severity
  127. LIBS += -L$$PWD/../../../thirdpartylib/osqp-0.5.0/build/out
  128. LIBS += -losqp