Changeset 23 in flair-src for trunk/demos/CircleFollower/uav/src
- Timestamp:
- Apr 20, 2016, 5:07:36 PM (9 years ago)
- Location:
- trunk/demos/CircleFollower/uav/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/CircleFollower/uav/src/CircleFollower.cpp
r21 r23 31 31 32 32 using namespace std; 33 using namespace f ramework::core;34 using namespace f ramework::gui;35 using namespace f ramework::filter;36 using namespace f ramework::meta;33 using namespace flair::core; 34 using namespace flair::gui; 35 using namespace flair::filter; 36 using namespace flair::meta; 37 37 38 38 CircleFollower::CircleFollower(Uav* uav): UavStateMachine(uav), behaviourMode(BehaviourMode_t::Default), vrpnLost(false) { -
trunk/demos/CircleFollower/uav/src/CircleFollower.h
r21 r23 17 17 #include <UavStateMachine.h> 18 18 19 namespace f ramework{19 namespace flair { 20 20 namespace gui { 21 21 class PushButton; … … 29 29 } 30 30 31 class CircleFollower : public f ramework::meta::UavStateMachine {31 class CircleFollower : public flair::meta::UavStateMachine { 32 32 public: 33 CircleFollower(f ramework::meta::Uav* uav);33 CircleFollower(flair::meta::Uav* uav); 34 34 ~CircleFollower(); 35 35 … … 50 50 void ExtraCheckPushButton(void); 51 51 void ExtraCheckJoystick(void); 52 const f ramework::core::AhrsData *GetOrientation(void) const;52 const flair::core::AhrsData *GetOrientation(void) const; 53 53 void AltitudeValues(float &z,float &dz); 54 void PositionValues(f ramework::core::Vector2D &pos_error,framework::core::Vector2D &vel_error,float &yaw_ref);55 f ramework::core::AhrsData *GetReferenceOrientation(void);54 void PositionValues(flair::core::Vector2D &pos_error,flair::core::Vector2D &vel_error,float &yaw_ref); 55 flair::core::AhrsData *GetReferenceOrientation(void); 56 56 void SignalEvent(Event_t event); 57 57 58 f ramework::filter::Pid *uX, *uY;58 flair::filter::Pid *uX, *uY; 59 59 60 f ramework::core::Vector2D posHold;60 flair::core::Vector2D posHold; 61 61 float yawHold; 62 62 63 f ramework::gui::PushButton *startCircle,*stopCircle;64 f ramework::meta::MetaVrpnObject *targetVrpn;65 f ramework::filter::TrajectoryGenerator2DCircle *circle;66 f ramework::core::AhrsData *customReferenceOrientation,*customOrientation;63 flair::gui::PushButton *startCircle,*stopCircle; 64 flair::meta::MetaVrpnObject *targetVrpn; 65 flair::filter::TrajectoryGenerator2DCircle *circle; 66 flair::core::AhrsData *customReferenceOrientation,*customOrientation; 67 67 }; 68 68 -
trunk/demos/CircleFollower/uav/src/main.cpp
r21 r23 20 20 using namespace TCLAP; 21 21 using namespace std; 22 using namespace f ramework::core;23 using namespace f ramework::meta;22 using namespace flair::core; 23 using namespace flair::meta; 24 24 25 25 string uav_type;
Note:
See TracChangeset
for help on using the changeset viewer.