Changeset 239 in flair-src for trunk/demos/CircleFollower/uav/src
- Timestamp:
- May 15, 2018, 4:42:44 PM (7 years ago)
- Location:
- trunk/demos/CircleFollower/uav/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/CircleFollower/uav/src/CircleFollower.cpp
r214 r239 32 32 #include <AhrsData.h> 33 33 #include <Camera.h> 34 #include <CvtColor.h> 34 35 35 36 using namespace std; … … 51 52 stopCircle=new PushButton(GetButtonsLayout()->LastRowLastCol(),"stop_circle"); 52 53 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? 53 57 54 58 if(vrpnclient->UseXbee()==true) { -
trunk/demos/CircleFollower/uav/src/CircleFollower.h
r171 r239 23 23 namespace filter { 24 24 class TrajectoryGenerator2DCircle; 25 class CvtColor; 25 26 } 26 27 namespace meta { … … 38 39 39 40 private: 40 enum class BehaviourMode_t { 41 flair::filter::CvtColor* greyCameraImage; 42 43 enum class BehaviourMode_t { 41 44 Default, 42 45 PositionHold, -
trunk/demos/CircleFollower/uav/src/main.cpp
r232 r239 18 18 #include <tclap/CmdLine.h> 19 19 #include <TargetEthController.h> 20 #include <VisionFilter.h> 20 21 21 22 using namespace TCLAP; … … 38 39 int main(int argc, char* argv[]) { 39 40 parseOptions(argc,argv); 41 42 if(!InitVisionFilter("file=tutu")) { 43 exit(1); 44 } 40 45 41 46 FrameworkManager *manager;
Note:
See TracChangeset
for help on using the changeset viewer.