Changeset 45 in flair-dev
- Timestamp:
- Jan 10, 2017, 3:57:32 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake-modules/FlairUseFile.cmake
r44 r45 17 17 else() 18 18 message(STATUS "GCC version < 4.3, c+11 is not supported!") 19 endif() 20 21 #check if we have a flair-hds directory 22 if (IS_DIRECTORY $ENV{FLAIR_ROOT}/flair-hds ) 23 message("found flair-hds directory") 24 SET(FOUND_HDS_DIR TRUE) 25 SET(FLAIRHDS_LIBRARY_DIR 26 $ENV{FLAIR_ROOT}/flair-hds/bin/lib/${ARCH_DIR} 27 ) 19 28 endif() 20 29 … … 51 60 SET(FLAIR_LIBRARIES FlairCore ${FLAIR_LIBRARIES}) 52 61 62 #vision filter lib 63 IF (FLAIR_USE_VISION_FILTER) 64 if(FOUND_HDS_DIR) 65 SET(FLAIR_INCLUDE_DIR ${FLAIR_INCLUDE_DIR} $ENV{FLAIR_ROOT}/flair-hds/dev/include/VisionFilter) 66 SET(FLAIR_LIBRARIES ${FLAIRHDS_LIBRARY_DIR}/libVisionFilter.a ${FLAIRHDS_LIBRARY_DIR}/libdspcv_gpp.a ${FLAIR_LIBRARIES}) 67 else() 68 SET(FLAIR_INCLUDE_DIR ${FLAIR_INCLUDE_DIR} $ENV{FLAIR_ROOT}/flair-dev/include/FlairVisionFilter) 69 SET(FLAIR_LIBRARIES ${FLAIR_LIBRARY_DIR}/libFlairVisionFilter.a ${FLAIR_LIBRARIES}) 70 endif() 71 ENDIF (FLAIR_USE_VISION_FILTER) 72 53 73 #sensor and actuator lib 54 74 IF (FLAIR_USE_SENSOR_ACTUATOR) … … 62 82 SET(FLAIR_LIBRARIES ${FLAIR_LIBRARY_DIR}/libFlairFilter.a iir ${FLAIR_LIBRARIES}) 63 83 ENDIF (FLAIR_USE_FILTER) 84 64 85 65 86 #meta lib … … 107 128 endif() 108 129 109 #check if we have a flair-hds directory 110 if (IS_DIRECTORY $ENV{FLAIR_ROOT}/flair-hds ) 111 message("found flair-hds directory") 112 SET(FLAIRHDS_LIBRARY_DIR 113 $ENV{FLAIR_ROOT}/flair-hds/bin/lib/${ARCH_DIR} 114 ) 115 116 if(FLAIR_USE_FILTER) 117 SET(FLAIR_INCLUDE_DIR ${FLAIR_INCLUDE_DIR} $ENV{FLAIR_ROOT}/flair-hds/dev/include/VisionFilter) 118 SET(FLAIR_LIBRARIES_NRT ${FLAIRHDS_LIBRARY_DIR}/libVisionFilter.a ${FLAIRHDS_LIBRARY_DIR}/libdspcv_gpp.a ${FLAIR_LIBRARIES_NRT}) 119 SET(FLAIR_LIBRARIES_RT ${FLAIRHDS_LIBRARY_DIR}/libVisionFilter.a ${FLAIRHDS_LIBRARY_DIR}/libdspcv_gpp.a ${FLAIR_LIBRARIES_RT}) 120 endif() 121 122 if(FLAIR_USE_META AND "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "arm") 123 SET (ARDRONE2_LIB -Wl,--whole-archive ${FLAIRHDS_LIBRARY_DIR}/libFlairArdrone2.a -Wl,--no-whole-archive) 124 set(FLAIR_LIBRARIES_NRT ${ARDRONE2_LIB} ${FLAIR_LIBRARIES_NRT} nmea) 125 endif() 130 #add ardrone2 lib 131 if(FOUND_HDS_DIR AND FLAIR_USE_META AND "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "arm") 132 SET (ARDRONE2_LIB -Wl,--whole-archive ${FLAIRHDS_LIBRARY_DIR}/libFlairArdrone2.a -Wl,--no-whole-archive) 133 set(FLAIR_LIBRARIES_NRT ${ARDRONE2_LIB} ${FLAIR_LIBRARIES_NRT} nmea) 126 134 endif() -
trunk/include/FlairCore/FrameworkManager.h
r44 r45 109 109 */ 110 110 void SetupLogger(std::string log_path); 111 112 /*! 113 * \brief Get log path 114 * 115 * get the path defined by SetupLogger 116 * 117 * \return log path 118 */ 119 std::string GetLogPath(void) const; 111 120 112 121 /*! -
trunk/scripts/compile_info.sh
r27 r45 1 #usage svn_revision.sh gcc dir file1 #usage compile_info.sh gcc dir file 2 2 #gcc: gcc path 3 3 #dir: directory to get svn revision -
trunk/scripts/flair_compile_all.sh
r44 r45 98 98 done 99 99 100 for projects in CircleFollower SimpleFleet Gps OpticalFlow; do100 for projects in OpticalFlow CircleFollower SimpleFleet Gps; do 101 101 compile_uav_and_simulator_demo $FLAIR_ROOT/flair-src/demos $projects 102 102 done
Note:
See TracChangeset
for help on using the changeset viewer.