Exemplo n.º 1
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.header = mwt.header_t._decodeRecursiveFactory(ins);

            this.auto_head = ins.ReadBoolean();

            this.auto_vert = ins.ReadBoolean();

            this.adv_nav = ins.ReadBoolean();

            this.auto_head_sp = ins.ReadDouble();

            this.auto_depth_sp = ins.ReadDouble();

            this.x_pilot = ins.ReadDouble();

            this.y_pilot = ins.ReadDouble();

            this.z_pilot = ins.ReadDouble();

            this.yaw_pilot = ins.ReadDouble();

            this.x_effort = ins.ReadDouble();

            this.y_effort = ins.ReadDouble();

            this.z_effort = ins.ReadDouble();

            this.yaw_effort = ins.ReadDouble();
        }
Exemplo n.º 2
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            this.header = mwt.header_t._decodeRecursiveFactory(ins);

            this.left_utime = ins.ReadInt64();

            this.right_utime = ins.ReadInt64();

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.left_class_name = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.right_class_name = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            this.left_x = ins.ReadDouble();

            this.left_y = ins.ReadDouble();

            this.right_x = ins.ReadDouble();

            this.right_y = ins.ReadDouble();

            this.left_box_width = ins.ReadDouble();

            this.left_box_height = ins.ReadDouble();

            this.right_box_width = ins.ReadDouble();

            this.right_box_height = ins.ReadDouble();

            this.conf_left = ins.ReadDouble();

            this.conf_right = ins.ReadDouble();

            this.source = ins.ReadDouble();
        }
Exemplo n.º 3
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            this.header = mwt.header_t._decodeRecursiveFactory(ins);

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.val = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);
        }
Exemplo n.º 4
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.header = mwt.header_t._decodeRecursiveFactory(ins);

            this.depth = ins.ReadDouble();

            this.pressure = ins.ReadDouble();
        }
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.header = mwt.header_t._decodeRecursiveFactory(ins);

            this.range_control = mwt.controller_status_t._decodeRecursiveFactory(ins);

            this.lateral_control = mwt.controller_status_t._decodeRecursiveFactory(ins);

            this.vertical_control = mwt.controller_status_t._decodeRecursiveFactory(ins);

            this.bearing_control = mwt.controller_status_t._decodeRecursiveFactory(ins);

            this.range_traj = mwt.trajectory_status_t._decodeRecursiveFactory(ins);

            this.lateral_traj = mwt.trajectory_status_t._decodeRecursiveFactory(ins);

            this.vertical_traj = mwt.trajectory_status_t._decodeRecursiveFactory(ins);

            this.bearing_traj = mwt.trajectory_status_t._decodeRecursiveFactory(ins);

            this.range_filter = mwt.filter_status_t._decodeRecursiveFactory(ins);

            this.lateral_filter = mwt.filter_status_t._decodeRecursiveFactory(ins);

            this.vertical_filter = mwt.filter_status_t._decodeRecursiveFactory(ins);

            this.bearing_filter = mwt.filter_status_t._decodeRecursiveFactory(ins);

            this.range_gs_filter = mwt.filter_status_t._decodeRecursiveFactory(ins);

            this.heading_gs_filter = mwt.filter_status_t._decodeRecursiveFactory(ins);

            this.bearing_gs_filter = mwt.filter_status_t._decodeRecursiveFactory(ins);

            this.lateral_gs = mwt.gain_scale_status_t._decodeRecursiveFactory(ins);

            this.bearing_gs = mwt.gain_scale_status_t._decodeRecursiveFactory(ins);

            this.is_pilot_enabled = ins.ReadBoolean();

            this.is_control_enabled = ins.ReadBoolean();

            this.is_x_effort_enabled = ins.ReadBoolean();

            this.is_y_effort_enabled = ins.ReadBoolean();

            this.is_z_effort_enabled = ins.ReadBoolean();

            this.is_psi_effort_enabled = ins.ReadBoolean();

            this.control_exec_ms = ins.ReadDouble();

            this.other_exec_ms = ins.ReadDouble();

            this.percent_idle = ins.ReadDouble();

            this.missed_updates = ins.ReadInt64();
        }
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.header = mwt.header_t._decodeRecursiveFactory(ins);

            this.roll_deg = ins.ReadDouble();

            this.pitch_deg = ins.ReadDouble();

            this.yaw_deg = ins.ReadDouble();
        }
Exemplo n.º 7
0
        public mwt.header_t Copy()
        {
            mwt.header_t outobj = new mwt.header_t();
            outobj.publisher = this.publisher;

            outobj.timestamp = this.timestamp;

            outobj.sequence = this.sequence;

            return(outobj);
        }
Exemplo n.º 8
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.header = mwt.header_t._decodeRecursiveFactory(ins);

            this.latitude_deg = ins.ReadDouble();

            this.longitude_deg = ins.ReadDouble();

            this.altitude_m = ins.ReadDouble();

            this.gps_status = mwt.gps_status_t._decodeRecursiveFactory(ins);
        }
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.header = mwt.header_t._decodeRecursiveFactory(ins);

            this.ts_centi_sec = ins.ReadDouble();

            this.x_vel_mm_sec = ins.ReadDouble();

            this.y_vel_mm_sec = ins.ReadDouble();

            this.z_vel_mm_sec = ins.ReadDouble();

            this.altitude_mm = ins.ReadDouble();
        }
Exemplo n.º 10
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.header = mwt.header_t._decodeRecursiveFactory(ins);

            this.tracking_mode = ins.ReadInt32();

            this.check_epi_err = ins.ReadBoolean();

            this.check_euc_dist = ins.ReadBoolean();

            this.use_wf_tracking = ins.ReadBoolean();

            this.epi_err = ins.ReadDouble();

            this.euc_dist = ins.ReadDouble();

            this.max_epi_err = ins.ReadDouble();

            this.max_euc_dist = ins.ReadDouble();

            this.current_vf_x = ins.ReadDouble();

            this.current_vf_y = ins.ReadDouble();

            this.current_vf_z = ins.ReadDouble();

            this.current_wf_x = ins.ReadDouble();

            this.current_wf_y = ins.ReadDouble();

            this.current_wf_z = ins.ReadDouble();

            this.filter_cached_vf = ins.ReadBoolean();

            this.filter_cached_wf = ins.ReadBoolean();

            this.cached_vf_x = ins.ReadDouble();

            this.cached_vf_y = ins.ReadDouble();

            this.cached_vf_z = ins.ReadDouble();

            this.cached_wf_x = ins.ReadDouble();

            this.cached_wf_y = ins.ReadDouble();

            this.cached_wf_z = ins.ReadDouble();

            this.target_source = ins.ReadDouble();
        }
Exemplo n.º 11
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.header = mwt.header_t._decodeRecursiveFactory(ins);

            this.x = ins.ReadDouble();

            this.y = ins.ReadDouble();

            this.z = ins.ReadDouble();

            this.phi = ins.ReadDouble();

            this.theta = ins.ReadDouble();

            this.psi = ins.ReadDouble();
        }
Exemplo n.º 12
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.header = mwt.header_t._decodeRecursiveFactory(ins);

            this.roi_width = ins.ReadDouble();

            this.roi_height = ins.ReadDouble();

            this.roi_left_age = ins.ReadDouble();

            this.roi_right_age = ins.ReadDouble();

            this.conf_left = ins.ReadDouble();

            this.conf_right = ins.ReadDouble();

            this.target_left_x = ins.ReadDouble();

            this.target_left_y = ins.ReadDouble();

            this.target_right_x = ins.ReadDouble();

            this.target_right_y = ins.ReadDouble();

            this.range_meters = ins.ReadDouble();

            this.bearing_deg = ins.ReadDouble();

            this.z_err_meters = ins.ReadDouble();

            this.epi_error = ins.ReadDouble();

            this.roi_reinit_cnt = ins.ReadInt64();

            this.ext_target_rx_cnt = ins.ReadInt64();

            this.target_left_located = ins.ReadBoolean();

            this.target_right_located = ins.ReadBoolean();
        }
Exemplo n.º 13
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.header = mwt.header_t._decodeRecursiveFactory(ins);

            this.heading_deg = ins.ReadDouble();

            this.turns = ins.ReadDouble();

            this.depth_m = ins.ReadDouble();

            this.altitude_m = ins.ReadDouble();

            this.delta_m = ins.ReadDouble();

            this.oxygen_um = ins.ReadDouble();

            this.analog_1 = ins.ReadDouble();

            this.autohead_sp_deg = ins.ReadDouble();

            this.autohead_enable = ins.ReadBoolean();

            this.camera_tilt_deg = ins.ReadDouble();
        }
Exemplo n.º 14
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.header = mwt.header_t._decodeRecursiveFactory(ins);

            this.range_meters = ins.ReadDouble();

            this.bearing_degrees = ins.ReadDouble();

            this.z_meters = ins.ReadDouble();

            this.range_valid = ins.ReadBoolean();

            this.bearing_valid = ins.ReadBoolean();

            this.z_valid = ins.ReadBoolean();

            this.left_pix_x = ins.ReadDouble();

            this.left_pix_y = ins.ReadDouble();

            this.right_pix_x = ins.ReadDouble();

            this.right_pix_y = ins.ReadDouble();
        }
Exemplo n.º 15
0
 public static mwt.header_t _decodeRecursiveFactory(LCMDataInputStream ins)
 {
     mwt.header_t o = new mwt.header_t();
     o._decodeRecursive(ins);
     return(o);
 }