예제 #1
0
 public VideoSection(DroneConfiguration configuration)
     : base(configuration, "video")
 {
     CamifFps = new ReadOnlyItem<int>(this, "camif_fps");
     CodecFps = new ActiveItem<int>(this, "codec_fps");
     CamifBuffers = new ReadOnlyItem<int>(this, "camif_buffers");
     Trackers = new ReadOnlyItem<int>(this, "num_trackers");
     Codec = new ActiveItem<VideoCodecType>(this, "video_codec");
     Slices = new ActiveItem<int>(this, "video_slices");
     LiveSocket = new ActiveItem<int>(this, "video_live_socket");
     StorageSpace = new ReadOnlyItem<int>(this, "video_storage_space");
     Bitrate = new ActiveItem<int>(this, "bitrate");
     MaxBitrate = new ActiveItem<int>(this, "max_bitrate");
     BitrateCtrlMode = new ActiveItem<VideoBitrateControlMode>(this, "bitrate_ctrl_mode");
     BitrateStorage = new ActiveItem<int>(this, "bitrate_storage");
     Channel = new ActiveItem<VideoChannelType>(this, "video_channel");
     OnUsb = new ActiveItem<bool>(this, "video_on_usb");
     FileIndex = new ActiveItem<int>(this, "video_file_index");
 }
예제 #2
0
 public PicSection(DroneConfiguration configuration)
     : base(configuration, "pic")
 {
     UltrasoundFreq = new ActiveItem<int>(this, "ultrasound_freq");
     UltrasoundWatchdog = new ActiveItem<int>(this, "ultrasound_watchdog");
     Version = new ReadOnlyItem<int>(this, "pic_version");
 }
예제 #3
0
 public GpsSection(DroneConfiguration configuration)
     : base(configuration, "gps")
 {
     Latitude = new ReadOnlyItem<double>(this, "latitude");
     Longitude = new ReadOnlyItem<double>(this, "longitude");
     Altitude = new ReadOnlyItem<double>(this, "altitude");
 }
예제 #4
0
 public GeneralSection(DroneConfiguration configuration)
     : base(configuration, "general")
 {
     ConfigVersion = new ReadOnlyItem<int>(this, "num_version_config");
     MotherboardVersion = new ReadOnlyItem<int>(this, "num_version_mb");
     SoftVersion = new ReadOnlyItem<string>(this, "num_version_soft");
     DroneSerial = new ReadOnlyItem<string>(this, "drone_serial");
     SoftBuildDate = new ReadOnlyItem<string>(this, "soft_build_date");
     Motor1Soft = new ReadOnlyItem<string>(this, "motor1_soft");
     Motor1Hard = new ReadOnlyItem<string>(this, "motor1_hard");
     Motor1Supplier = new ReadOnlyItem<string>(this, "motor1_supplier");
     Motor2Soft = new ReadOnlyItem<string>(this, "motor2_soft");
     Motor2Hard = new ReadOnlyItem<string>(this, "motor2_hard");
     Motor2Supplier = new ReadOnlyItem<string>(this, "motor2_supplier");
     Motor3Soft = new ReadOnlyItem<string>(this, "motor3_soft");
     Motor3Hard = new ReadOnlyItem<string>(this, "motor3_hard");
     Motor3Supplier = new ReadOnlyItem<string>(this, "motor3_supplier");
     Motor4Soft = new ReadOnlyItem<string>(this, "motor4_soft");
     Motor4Hard = new ReadOnlyItem<string>(this, "motor4_hard");
     Motor4Supplier = new ReadOnlyItem<string>(this, "motor4_supplier");
     ARDroneName = new ActiveItem<string>(this, "ardrone_name");
     FlyingTime = new ReadOnlyItem<int>(this, "flying_time");
     NavdataDemo = new ActiveItem<bool>(this, "navdata_demo");
     NavdataOptions = new ActiveItem<int>(this, "navdata_options");
     ComWatchdog = new ActiveItem<int>(this, "com_watchdog");
     Video = new ActiveItem<bool>(this, "video_enable");
     Vision = new ActiveItem<bool>(this, "vision_enable");
     BatteryVoltageMin = new ActiveItem<int>(this, "vbat_min");
     LocalTime = new ActiveItem<int>(this, "localtime");
 }
예제 #5
0
 public CustomSection(DroneConfiguration configuration)
     : base(configuration, "custom")
 {
     ApplicationId = new ReadOnlyItem<string>(this, "application_id");
     ApplicationDescription = new ReadOnlyItem<string>(this, "application_desc");
     ProfileId = new ReadOnlyItem<string>(this, "profile_id");
     ProfileDescription = new ReadOnlyItem<string>(this, "profile_desc");
     SessionId = new ReadOnlyItem<string>(this, "session_id");
     SessionDescription = new ReadOnlyItem<string>(this, "session_desc");
 }
예제 #6
0
 public ControlSection(DroneConfiguration configuration)
     : base(configuration, "control")
 {
     accs_offset = new ReadOnlyItem<string>(this, "accs_offset");
     accs_gains = new ReadOnlyItem<string>(this, "accs_gains");
     gyros_offset = new ReadOnlyItem<string>(this, "gyros_offset");
     gyros_gains = new ReadOnlyItem<string>(this, "gyros_gains");
     gyros110_offset = new ReadOnlyItem<string>(this, "gyros110_offset");
     gyros110_gains = new ReadOnlyItem<string>(this, "gyros110_gains");
     magneto_offset = new ReadOnlyItem<string>(this, "magneto_offset");
     magneto_radius = new ReadOnlyItem<float>(this, "magneto_radius");
     gyro_offset_thr_x = new ReadOnlyItem<float>(this, "gyro_offset_thr_x");
     gyro_offset_thr_y = new ReadOnlyItem<float>(this, "gyro_offset_thr_y");
     gyro_offset_thr_z = new ReadOnlyItem<float>(this, "gyro_offset_thr_z");
     pwm_ref_gyros = new ReadOnlyItem<int>(this, "pwm_ref_gyros");
     osctun_value = new ReadOnlyItem<int>(this, "osctun_value");
     osctun_test = new ReadOnlyItem<bool>(this, "osctun_test");
     control_level = new ActiveItem<int>(this, "control_level");
     euler_angle_max = new ActiveItem<float>(this, "euler_angle_max");
     altitude_max = new ActiveItem<int>(this, "altitude_max");
     altitude_min = new ActiveItem<int>(this, "altitude_min");
     control_iphone_tilt = new ActiveItem<float>(this, "control_iphone_tilt");
     control_vz_max = new ActiveItem<float>(this, "control_vz_max");
     control_yaw = new ActiveItem<float>(this, "control_yaw");
     outdoor = new ActiveItem<bool>(this, "outdoor");
     flight_without_shell = new ActiveItem<bool>(this, "flight_without_shell");
     autonomous_flight = new ReadOnlyItem<bool>(this, "autonomous_flight"); // obsolete
     manual_trim = new ActiveItem<bool>(this, "manual_trim");
     indoor_euler_angle_max = new ActiveItem<float>(this, "indoor_euler_angle_max");
     indoor_control_vz_max = new ActiveItem<float>(this, "indoor_control_vz_max");
     indoor_control_yaw = new ActiveItem<float>(this, "indoor_control_yaw");
     outdoor_euler_angle_max = new ActiveItem<float>(this, "outdoor_euler_angle_max");
     outdoor_control_vz_max = new ActiveItem<float>(this, "outdoor_control_vz_max");
     outdoor_control_yaw = new ActiveItem<float>(this, "outdoor_control_yaw");
     flying_mode = new ActiveItem<int>(this, "flying_mode");
     hovering_range = new ActiveItem<int>(this, "hovering_range");
     flight_anim = new FlightAnimationItem(this, "flight_anim");
 }