Changeset 460 in flair-src


Ignore:
Timestamp:
Jan 5, 2022, 4:38:03 PM (3 years ago)
Author:
Sanahuja Guillaume
Message:

modifs plane

Location:
trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/Bldc_impl.cpp

    r340 r460  
    6868    }
    6969  }
     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  }
    7076
    7177  // flight time
  • trunk/lib/FlairSimulator/src/Plane.cpp

    r459 r460  
    111111void Plane::AnimateModel(void) {
    112112  actuators_mutex->GetMutex();
    113   motor_speed=10;
    114113  f_blade->SetRotationSpeed(K_MOT *vector3df( 0,motor_speed,0));
    115114  l_axe_aileron->setRotation(vector3df(0,servos_pos[1]*180./3.14,0));
Note: See TracChangeset for help on using the changeset viewer.