- Timestamp:
- Apr 22, 2021, 11:57:57 AM (4 years ago)
- Location:
- trunk/lib/FlairFilter/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairFilter/src/X4X8Multiplex_impl.cpp
r318 r421 24 24 #include <ComboBox.h> 25 25 #include <DataPlot1D.h> 26 #include <DoubleSpinBox.h> 26 27 #include <math.h> 27 28 … … 49 50 pas->AddItem("counter clockwise"); 50 51 pas->AddItem("clockwise"); 52 53 permanent_trim_roll=new DoubleSpinBox(self->GetLayout()->NewRow(), "permanent trim roll",-1, 1, 0.01); 54 permanent_trim_pitch=new DoubleSpinBox(self->GetLayout()->NewRow(), "permanent trim pitch",-1, 1, 0.01); 51 55 52 56 MatrixDescriptor *desc = new MatrixDescriptor(nb_mot, 1); … … 97 101 u_yaw = input->ValueNoMutex(2, 0); 98 102 u_thrust = input->ValueNoMutex(3, 0); 99 trim_roll = input->ValueNoMutex(4, 0) ;100 trim_pitch = input->ValueNoMutex(5, 0) ;103 trim_roll = input->ValueNoMutex(4, 0)+permanent_trim_roll->Value(); 104 trim_pitch = input->ValueNoMutex(5, 0)+permanent_trim_pitch->Value(); 101 105 trim_yaw = input->ValueNoMutex(6, 0); 102 106 -
trunk/lib/FlairFilter/src/unexported/X4X8Multiplex_impl.h
r214 r421 24 24 class DataPlot1D; 25 25 class ComboBox; 26 class DoubleSpinBox; 26 27 } 27 28 namespace filter { … … 47 48 flair::gui::ComboBox *pas; 48 49 flair::gui::DataPlot1D *plots[4]; 50 flair::gui::DoubleSpinBox *permanent_trim_roll,*permanent_trim_pitch; 49 51 flair::filter::X4X8Multiplex *self; 50 52 float Set(float trim, float u);
Note:
See TracChangeset
for help on using the changeset viewer.