Changeset 460 in flair-src
- Timestamp:
- Jan 5, 2022, 4:38:03 PM (3 years ago)
- Location:
- trunk/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/Bldc_impl.cpp
r340 r460 68 68 } 69 69 } 70 if(motors_count%2!=0) { 71 ostringstream test_name; 72 test_name << "test motor " << index; 73 button_test[index] =new PushButton(groupbox->NewRow(), test_name.str()); 74 index++; 75 } 70 76 71 77 // flight time -
trunk/lib/FlairSimulator/src/Plane.cpp
r459 r460 111 111 void Plane::AnimateModel(void) { 112 112 actuators_mutex->GetMutex(); 113 motor_speed=10;114 113 f_blade->SetRotationSpeed(K_MOT *vector3df( 0,motor_speed,0)); 115 114 l_axe_aileron->setRotation(vector3df(0,servos_pos[1]*180./3.14,0));
Note:
See TracChangeset
for help on using the changeset viewer.