Пример #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();
        }
Пример #2
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();
        }
Пример #3
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            this.timestamp = ins.ReadInt64();

            this.position = new double[(int)3];
            for (int a = 0; a < 3; a++)
            {
                this.position[a] = ins.ReadDouble();
            }

            this.orientation = new double[(int)4];
            for (int a = 0; a < 4; a++)
            {
                this.orientation[a] = ins.ReadDouble();
            }

            this.num_ranges = ins.ReadInt32();

            this.ranges = new short[(int)num_ranges];
            for (int a = 0; a < this.num_ranges; a++)
            {
                this.ranges[a] = ins.ReadInt16();
            }

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

            this.enabled = ins.ReadBoolean();
        }
Пример #4
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.set_point = ins.ReadDouble();

            this.goal = ins.ReadDouble();

            this.slew_rate = ins.ReadDouble();

            this.is_moving = ins.ReadBoolean();
        }
Пример #5
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();
        }
        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();
        }
Пример #7
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();
        }
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.enabled = ins.ReadBoolean();

            this.kp_in = ins.ReadDouble();

            this.ki_in = ins.ReadDouble();

            this.kd_in = ins.ReadDouble();

            this.kp_out = ins.ReadDouble();

            this.ki_out = ins.ReadDouble();

            this.kd_out = ins.ReadDouble();
        }
Пример #9
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();
        }