Changeset 50 in flair-dev for trunk/include/FlairMeta/Uav.h


Ignore:
Timestamp:
05/31/17 15:54:26 (7 years ago)
Author:
Sanahuja Guillaume
Message:

doc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/FlairMeta/Uav.h

    r44 r50  
    1515
    1616#include <Object.h>
     17#include <UsRangeFinder.h>
    1718
    1819namespace flair {
     
    6263  sensor::Camera *GetHorizontalCamera(void) const;
    6364        virtual std::string GetDefaultVrpnAddress(void) const{return "127.0.0.1:3883";}
     65  virtual bool isReadyToFly(void) const { return true;}
     66  virtual std::string GetType(void) const=0;
    6467
    6568protected:
    6669  void SetBldc(const actuator::Bldc *bldc);
    6770  void SetMultiplex(const filter::UavMultiplex *multiplex);
    68   void SetAhrs(const filter::Ahrs *ahrs);
     71  void SetAhrs(const filter::Ahrs *ahrs);//also sets imu (retrieved from the ahrs)
    6972  void SetUsRangeFinder(const sensor::UsRangeFinder *us);
    7073  void SetBatteryMonitor(const sensor::BatteryMonitor *battery);
Note: See TracChangeset for help on using the changeset viewer.