Example #1
0
 /**
  * MissionRequest constructor.
  * @param $entry
  */
 public function __construct($entry)
 {
     parent::__construct($entry);
     $this->seq = $this->uint16_t(0, 1);
     $this->target_system = $this->uint8_t(2);
     $this->target_component = $this->uint8_t(3);
 }
Example #2
0
 /**
  * RequestDataStream constructor.
  * @param $entry
  */
 public function __construct($entry)
 {
     parent::__construct($entry);
     $this->req_message_rate = $this->uint16_t(0, 1);
     $this->target_system = $this->uint8_t(2);
     $this->target_component = $this->uint8_t(3);
     $this->req_stream_id = $this->uint8_t(4);
     $this->start_stop = $this->uint8_t(5);
 }
Example #3
0
 /**
  * ParamValue constructor.
  * @param $entry
  */
 public function __construct($entry)
 {
     parent::__construct($entry);
     $this->param_value = $this->float(0, 3);
     $this->param_count = $this->uint16_t(4, 5);
     $this->param_index = $this->uint16_t(6, 7);
     $this->param_id = $this->string(8, 23);
     $this->param_type = $this->uint8_t(24);
 }
Example #4
0
 /**
  * VfrHud constructor.
  * @param $entry
  */
 public function __construct($entry)
 {
     parent::__construct($entry);
     $this->airspeed = $this->float(0, 3);
     $this->groundspeed = $this->float(4, 7);
     $this->heading = $this->int16_t(8, 9);
     $this->throttle = $this->uint16_t(10, 11);
     $this->alt = $this->uint16_t(12, 15);
 }
Example #5
0
 /**
  * HeartBeat constructor.
  * @param \Oblogic7\Tlog\Entry $entry
  */
 public function __construct(Entry $entry)
 {
     parent::__construct($entry);
     $this->type = $this->uint8_t(0);
     $this->autopilot = $this->uint8_t(1);
     $this->base_mode = $this->uint8_t(2);
     $this->custom_mode = $this->uint32_t(3, 6);
     $this->system_status = $this->uint8_t(7);
     $this->mavlink_version = $this->uint8_t(8);
 }
 /**
  * NavControllerOutput constructor.
  * @param $entry
  */
 public function __construct($entry)
 {
     parent::__construct($entry);
     $this->nav_roll = $this->float(0, 3);
     $this->nav_pitch = $this->float(4, 7);
     $this->alt_error = $this->float(8, 11);
     $this->aspd_error = $this->float(12, 15);
     $this->xtrack_error = $this->float(16, 19);
     $this->nav_bearing = $this->int16_t(20, 21);
     $this->target_bearing = $this->int16_t(22, 23);
     $this->wp_dist = $this->uint16_t(24, 25);
 }
Example #7
0
 /**
  * SysStatus constructor.
  * @param $entry
  */
 public function __construct($entry)
 {
     parent::__construct($entry);
     $this->onboard_control_sensors_present = $this->uint32_t(0, 3);
     $this->onboard_control_sensors_enabled = $this->uint32_t(4, 7);
     $this->onboard_control_sensors_health = $this->uint32_t(8, 11);
     $this->load = $this->uint16_t(12, 13) / 10;
     $this->voltage_battery = $this->uint16_t(14, 15) / 1000;
     $this->current_battery = $this->int16_t(16, 17) / 100;
     $this->battery_remaining = $this->uint8_t(18);
     $this->drop_rate_comm = $this->uint16_t(21, 22);
     $this->errors_count1 = $this->uint16_t(23, 24);
     $this->errors_count2 = $this->uint16_t(25, 26);
     $this->errors_count3 = $this->uint16_t(27, 28);
     $this->errors_count4 = $this->uint16_t(29, 30);
 }
Example #8
0
 /**
  * MissionItem constructor.
  * @param $entry
  */
 public function __construct($entry)
 {
     parent::__construct($entry);
     $this->param1 = $this->float(0, 3);
     $this->param2 = $this->float(4, 7);
     $this->param3 = $this->float(8, 11);
     $this->param4 = $this->float(12, 15);
     $this->x = $this->float(16, 19);
     $this->y = $this->float(20, 23);
     $this->z = $this->float(24, 27);
     $this->seq = $this->uint16_t(28, 29);
     $this->command = $this->uint16_t(30, 31);
     $this->target_system = $this->uint8_t(32);
     $this->target_component = $this->uint8_t(33);
     $this->frame = $this->uint8_t(34);
     $this->current = !!$this->uint8_t(35);
     $this->autocontinue = !!$this->uint8_t(36);
 }
Example #9
0
 public function __construct($entry)
 {
     parent::__construct($entry);
 }
Example #10
0
 /**
  * MissionCurrent constructor.
  * @param $entry
  */
 public function __construct($entry)
 {
     parent::__construct($entry);
     $this->seq = $this->uint16_t(0, 1);
 }
Example #11
0
 /**
  * StatusText constructor.
  * @param $entry
  */
 public function __construct($entry)
 {
     parent::__construct($entry);
     $this->severity = $this->uint8_t(0);
     $this->text = $this->uint8_t(1, 50);
 }
Example #12
0
 /**
  * ParamRequestList constructor.
  * @param $entry
  */
 public function __construct($entry)
 {
     parent::__construct($entry);
     $this->target_system = $this->uint8_t(0);
     $this->target_component = $this->uint8_t(1);
 }