Changeset 263 in flair-src
- Timestamp:
- Sep 12, 2018, 4:50:01 PM (6 years ago)
- Location:
- trunk/demos/CircleFollower/uav/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/CircleFollower/uav/src/CircleFollower.cpp
r239 r263 31 31 #include <Ahrs.h> 32 32 #include <AhrsData.h> 33 #include <Camera.h>34 #include <CvtColor.h>35 33 36 34 using namespace std; … … 52 50 stopCircle=new PushButton(GetButtonsLayout()->LastRowLastCol(),"stop_circle"); 53 51 positionHold=new PushButton(GetButtonsLayout()->LastRowLastCol(),"position hold"); 54 55 greyCameraImage=new CvtColor(uav->GetVerticalCamera(),"gray",CvtColor::Conversion_t::ToGray);56 uav->GetVerticalCamera()->UseDefaultPlot(greyCameraImage->Output()); // Le defaultPlot de la caméra peut afficher n'importe quoi?57 52 58 53 if(vrpnclient->UseXbee()==true) { -
trunk/demos/CircleFollower/uav/src/CircleFollower.h
r239 r263 39 39 40 40 private: 41 flair::filter::CvtColor* greyCameraImage;42 41 43 42 enum class BehaviourMode_t { -
trunk/demos/CircleFollower/uav/src/main.cpp
r239 r263 18 18 #include <tclap/CmdLine.h> 19 19 #include <TargetEthController.h> 20 #include <VisionFilter.h>20 //#include <VisionFilter.h> 21 21 22 22 using namespace TCLAP; … … 39 39 int main(int argc, char* argv[]) { 40 40 parseOptions(argc,argv); 41 42 if(!InitVisionFilter("file=tutu")) {43 exit(1);44 }45 41 46 42 FrameworkManager *manager;
Note:
See TracChangeset
for help on using the changeset viewer.