- Timestamp:
- Nov 28, 2019, 5:42:51 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake-modules/FlairUseFile.cmake
r338 r342 59 59 if(FOUND_HDS_DIR AND ("${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "armv7a-neon" OR "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "core2-64")) 60 60 message(${PROJECT_NAME} ": using libdspcv_gpp.a for vision filter") 61 SET(FLAIR_INCLUDE_DIR ${FLAIR_INCLUDE_DIR} $ENV{FLAIR_ROOT}/flair-install/include/ VisionFilter)62 SET(FLAIR_LIBRARIES ${FLAIR_LIBRARY_DIR}/lib VisionFilter.a ${FLAIR_LIBRARY_DIR}/libdspcv_gpp.a ${FLAIR_LIBRARIES})61 SET(FLAIR_INCLUDE_DIR ${FLAIR_INCLUDE_DIR} $ENV{FLAIR_ROOT}/flair-install/include/HdsVisionFilter) 62 SET(FLAIR_LIBRARIES ${FLAIR_LIBRARY_DIR}/libHdsVisionFilter.a ${FLAIR_LIBRARY_DIR}/libdspcv_gpp.a ${FLAIR_LIBRARIES}) 63 63 else() 64 64 SET(FLAIR_INCLUDE_DIR ${FLAIR_INCLUDE_DIR} $ENV{FLAIR_ROOT}/flair-install/include/FlairVisionFilter) … … 71 71 SET(FLAIR_INCLUDE_DIR ${FLAIR_INCLUDE_DIR} $ENV{FLAIR_ROOT}/flair-install/include/FlairSensorActuator) 72 72 SET(FLAIR_LIBRARIES ${FLAIR_LIBRARY_DIR}/libFlairSensorActuator.a nmea ${FLAIR_LIBRARIES}) 73 if(FOUND_HDS_DIR) 74 SET(FLAIR_INCLUDE_DIR ${FLAIR_INCLUDE_DIR} $ENV{FLAIR_ROOT}/flair-install/include/HdsSensorActuator) 75 SET(FLAIR_LIBRARIES ${FLAIR_LIBRARY_DIR}/libHdsSensorActuator.a ${FLAIR_LIBRARIES}) 76 endif() 73 77 ENDIF (FLAIR_USE_SENSOR_ACTUATOR) 74 78 … … 121 125 endif() 122 126 123 #add ar drone2, bebop or minidroneslib127 #add arch specific uav lib lib 124 128 if(FOUND_HDS_DIR AND FLAIR_USE_META AND "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "armv7a-neon") 125 129 SET (PARROT_LIB -Wl,--whole-archive ${FLAIR_LIBRARY_DIR}/libFlairArdrone2.a ${FLAIR_LIBRARY_DIR}/libFlairBebop.a -Wl,--no-whole-archive) … … 132 136 set(FLAIR_LIBRARIES_RT ${PARROT_LIB} ${FLAIR_LIBRARIES_RT} nmea) 133 137 endif() 138 if(FOUND_HDS_DIR AND FLAIR_USE_META AND "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "cortexa8hf-neon") 139 SET (PARROT_LIB -Wl,--whole-archive ${FLAIR_LIBRARY_DIR}/libFlairBeagleBlue.a -Wl,--no-whole-archive) 140 set(FLAIR_LIBRARIES_NRT ${PARROT_LIB} ${FLAIR_LIBRARIES_NRT}) 141 set(FLAIR_LIBRARIES_RT ${PARROT_LIB} ${FLAIR_LIBRARIES_RT}) 142 endif() -
trunk/demos/CircleFollower/uav/src/CircleFollower.cpp
r318 r342 54 54 55 55 getFrameworkManager()->AddDeviceToLog(uavVrpn); 56 getFrameworkManager()->AddDeviceToLog(targetVrpn); 57 vrpnclient->Start(); 58 56 59 uav->GetAhrs()->YawPlot()->AddCurve(uavVrpn->State()->Element(2),DataPlot::Green); 57 60 … … 59 62 stopCircle=new PushButton(GetButtonsLayout()->LastRowLastCol(),"stop_circle"); 60 63 positionHold=new PushButton(GetButtonsLayout()->LastRowLastCol(),"position hold"); 61 62 vrpnclient->Start();63 64 getFrameworkManager()->AddDeviceToLog(targetVrpn);65 64 66 65 circle=new TrajectoryGenerator2DCircle(vrpnclient->GetLayout()->NewRow(),"circle"); -
trunk/demos/CircleFollower/uav/src/CircleFollower.h
r263 r342 23 23 namespace filter { 24 24 class TrajectoryGenerator2DCircle; 25 class CvtColor;26 25 } 27 26 namespace meta {
Note:
See TracChangeset
for help on using the changeset viewer.