Changeset 236 in flair-src for trunk/demos/PidStandalone/uav/src
- Timestamp:
- Apr 12, 2018, 4:52:46 PM (7 years ago)
- Location:
- trunk/demos/PidStandalone/uav/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/PidStandalone/uav/src/PidUav.cpp
r105 r236 43 43 PidUav::PidUav(Uav *uav, TargetController *controller) 44 44 : behaviourMode(BehaviourMode_t::Default), 45 UavStateMachine( uav,controller) {45 UavStateMachine(controller) { 46 46 my_uRoll = new Pid(setupLawTab->At(1, 1), "custom uRoll"); 47 47 my_uRoll->UseDefaultPlot(graphLawTab->LastRowLastCol()); … … 107 107 const AhrsData *refOrientation = GetDefaultReferenceOrientation(); 108 108 Quaternion refQuaternion; 109 Vector3D refAngularRates;109 Vector3Df refAngularRates; 110 110 refOrientation->GetQuaternionAndAngularRates(refQuaternion, refAngularRates); 111 111 Euler refAngles = refQuaternion.ToEuler(); … … 113 113 const AhrsData *currentOrientation = GetDefaultOrientation(); 114 114 Quaternion currentQuaternion; 115 Vector3D currentAngularRates;115 Vector3Df currentAngularRates; 116 116 currentOrientation->GetQuaternionAndAngularRates(currentQuaternion, 117 117 currentAngularRates); -
trunk/demos/PidStandalone/uav/src/main.cpp
r105 r236 48 48 manager->SetupLogger(log_path); 49 49 50 Uav *drone = CreateUav( manager,name, uav_type);50 Uav *drone = CreateUav(name, uav_type); 51 51 TargetEthController *controller = 52 new TargetEthController( manager,"Dualshock3", 20000);52 new TargetEthController("Dualshock3", 20000); 53 53 // EmulatedController *controller=new EmulatedController(manager,"Emulated 54 54 // Controller");
Note:
See TracChangeset
for help on using the changeset viewer.