コード例 #1
0
 public MultiCopter()
 {
     MotorSettings = new MotorSettings();
     ControllerLoopSettings = new ControllerLoopSettings();
     SensorSettings = new SensorSettings();
     PidSettings = new PidSettings();
     MicrocontrollerSettings = new MicrocontrollerSettings();
     RadioSettings = new RadioSettings();
 }
コード例 #2
0
 public MultiCopter(string multicopterType, MotorSettings motorSettings, ControllerLoopSettings controllerLoopSettings, SensorSettings sensorSettings, PidSettings pidSettings, MicrocontrollerSettings microcontrollerSettings, RadioSettings radioSettings)
 {
     MulticopterType = multicopterType;
     MotorSettings = motorSettings;
     ControllerLoopSettings = controllerLoopSettings;
     SensorSettings = sensorSettings;
     PidSettings = pidSettings;
     MicrocontrollerSettings = microcontrollerSettings;
     RadioSettings = radioSettings;
 }