Ignore:
Timestamp:
05/15/18 16:42:44 (4 years ago)
Author:
Bayard Gildas
Message:

tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/demos/CircleFollower/uav/src/CircleFollower.cpp

    r214 r239  
    3232#include <AhrsData.h>
    3333#include <Camera.h>
     34#include <CvtColor.h>
    3435
    3536using namespace std;
     
    5152    stopCircle=new PushButton(GetButtonsLayout()->LastRowLastCol(),"stop_circle");
    5253    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?
    5357
    5458    if(vrpnclient->UseXbee()==true) {
Note: See TracChangeset for help on using the changeset viewer.