Ejemplo n.º 1
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.publisher = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            this.cam1_timestamp = ins.ReadDouble();

            this.cam2_timestamp = ins.ReadDouble();

            this.left_utime = ins.ReadInt64();

            this.right_utime = ins.ReadInt64();

            this.sequence = ins.ReadInt64();

            this.camera_orientation = ins.ReadInt32();

            this.width = ins.ReadInt32();

            this.height = ins.ReadInt32();

            this.row_stride = ins.ReadInt32();

            this.pixelformat = ins.ReadInt32();

            this.size = ins.ReadInt32();

            this.data = new byte[(int)size];
            for (int a = 0; a < this.size; a++)
            {
                this.data[a] = ins.ReadByte();
            }
        }
Ejemplo n.º 2
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();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 4
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.input = ins.ReadDouble();

            this.output = ins.ReadDouble();

            this.tau = ins.ReadDouble();
        }
Ejemplo n.º 5
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();
        }
Ejemplo n.º 8
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();
        }
Ejemplo n.º 9
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();
        }
Ejemplo n.º 11
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.utc_time_secs = ins.ReadDouble();

            this.position_fix_ind = ins.ReadInt16();

            this.satellites_used = ins.ReadInt16();

            this.hdop = ins.ReadDouble();

            this.undulation_m = ins.ReadDouble();

            this.diff_correction_age_s = ins.ReadDouble();

            this.diff_station_id = ins.ReadInt16();
        }
Ejemplo n.º 12
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.publisher = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            this.timestamp = ins.ReadDouble();

            this.sequence = ins.ReadInt64();
        }
Ejemplo n.º 13
0
 public void _decodeRecursive(LCMDataInputStream ins)
 {
     this.goals = new double[(int)4, (int)5];
     for (int a = 0; a < 4; a++)
     {
         for (int b = 0; b < 5; b++)
         {
             this.goals[a, b] = ins.ReadDouble();
         }
     }
 }
Ejemplo n.º 14
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            this.left = ins.ReadDouble();

            this.top = ins.ReadDouble();

            this.width = ins.ReadDouble();

            this.height = ins.ReadDouble();

            this.num_classes = ins.ReadSByte();

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

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.class_name = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);
        }
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.header = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

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

            this.timestamp = ins.ReadInt64();
        }
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.cmd = ins.ReadDouble();

            this.measure = ins.ReadDouble();

            this.integral = ins.ReadDouble();

            this.derivative = ins.ReadDouble();

            this.output = ins.ReadDouble();

            this.kp = ins.ReadDouble();

            this.ki = ins.ReadDouble();

            this.kd = ins.ReadDouble();

            this.tau = ins.ReadDouble();

            this.output_scale = ins.ReadDouble();
        }
Ejemplo n.º 17
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();
        }
Ejemplo n.º 18
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();
        }
        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();
        }
Ejemplo n.º 20
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();
        }
Ejemplo n.º 21
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();
        }
Ejemplo n.º 22
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();
        }
Ejemplo n.º 23
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.mode = ins.ReadDouble();

            this.impedance_scale = ins.ReadDouble();

            this.balance_scale = ins.ReadDouble();

            this.enable = ins.ReadDouble();

            this.emergency_damp = ins.ReadDouble();

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

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

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

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

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

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

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

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

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

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

            this.bonus_knee_torque = ins.ReadDouble();
        }
Ejemplo n.º 24
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();
        }
Ejemplo n.º 25
0
 public void _decodeRecursive(LCMDataInputStream ins)
 {
     byte[] __strbuf = null;
     this.utime       = ins.ReadInt64();
     this.deg_celsius = ins.ReadDouble();
 }
Ejemplo n.º 26
0
 public void _decodeRecursive(LCMDataInputStream ins)
 {
     this.turns = ins.ReadDouble();
 }