Beispiel #1
0
                public override string ToString()
                {
                    string resultado = "PointCloud [header=" + _header.ToString()
                                       + ",  points=[";

                    for (int i = 0; i < _points.Length; i++)
                    {
                        resultado += _points[i].ToString();
                        if (i < (_points.Length - 1))
                        {
                            resultado += ",";
                        }
                    }
                    resultado += "], channels=[";
                    for (int i = 0; i < _channels.Length; i++)
                    {
                        resultado += _channels[i].ToString();
                        if (i < (_channels.Length - 1))
                        {
                            resultado += ",";
                        }
                    }
                    resultado += "]]";

                    return(resultado);
                }
 public override string ToString()
 {
     return("Odometry [header=" + _header.ToString()
            + ",  child_frame_id=" + _child_frame_id
            + ",  pose=" + _pose.ToString()
            + ",  twist=" + _twist.ToString() + "]");
 }
 public override string ToString()
 {
     return(ROSMessageType + " [header=" + _header.ToString()
            + ",  child_frame_id=" + _child_frame_id
            + ",  pose=" + _pose.ToString()
            + ",  twist=" + _twist.ToString() + "]");
 }
 public override string ToString()
 {
     return("TableMsg: " +
            "\nheader: " + header.ToString() +
            "\npose: " + pose.ToString() +
            "\nconvex_hull: " + System.String.Join(", ", convex_hull.ToList()));
 }
                public override string ToString()
                {
                    string resultado = "BatteryState [header=" + _header.ToString()
                                       + ",  capacity=" + _capacity.ToString("G", System.Globalization.CultureInfo.InvariantCulture)
                                       + ",  charge=" + _charge.ToString("G", System.Globalization.CultureInfo.InvariantCulture)
                                       + ",  current=" + _current.ToString("G", System.Globalization.CultureInfo.InvariantCulture)
                                       + ",  design_capacity=" + _design_capacity.ToString("G", System.Globalization.CultureInfo.InvariantCulture)
                                       + ",  percentage=" + _percentage.ToString("G", System.Globalization.CultureInfo.InvariantCulture)
                                       + ",  voltage=" + _voltage.ToString("G", System.Globalization.CultureInfo.InvariantCulture)
                                       + ",  cell_voltage=[";

                    for (int i = 0; i < _cell_voltage.Length; i++)
                    {
                        resultado += _cell_voltage[i].ToString("G", System.Globalization.CultureInfo.InvariantCulture);
                        if (i < (_cell_voltage.Length - 1))
                        {
                            resultado += ",";
                        }
                    }
                    resultado += "]";

                    resultado += ",  location=" + _location
                                 + ", power_supply_health=" + _power_supply_health.ToString()
                                 + ", power_supply_status=" + _power_supply_status.ToString()
                                 + ", power_supply_technology=" + _power_supply_technology.ToString()
                                 + ", present=" + _present.ToString()
                                 + ", serial_number=" + _serial_number + "]";

                    return(resultado);
                }
Beispiel #6
0
 public override string ToString()
 {
     return("OctomapWithPoseMsg: " +
            "\nheader: " + header.ToString() +
            "\norigin: " + origin.ToString() +
            "\noctomap: " + octomap.ToString());
 }
                public override string ToString()
                {
                    string resultado = "LaserScan [header=" + _header.ToString()
                                       + ",  angle_min=" + _angle_min.ToString("G", System.Globalization.CultureInfo.InvariantCulture)
                                       + ",  angle_max=" + _angle_max.ToString("G", System.Globalization.CultureInfo.InvariantCulture)
                                       + ",  angle_increment=" + _angle_increment.ToString("G", System.Globalization.CultureInfo.InvariantCulture)
                                       + ",  time_increment=" + _time_increment.ToString("G", System.Globalization.CultureInfo.InvariantCulture)
                                       + ",  scan_time=" + _scan_time.ToString("G", System.Globalization.CultureInfo.InvariantCulture)
                                       + ",  range_min=" + _range_min.ToString("G", System.Globalization.CultureInfo.InvariantCulture)
                                       + ",  range_max=" + _range_max.ToString("G", System.Globalization.CultureInfo.InvariantCulture)
                                       + ",  ranges=[";

                    for (int i = 0; i < _ranges.Length; i++)
                    {
                        resultado += _ranges[i].ToString("G", System.Globalization.CultureInfo.InvariantCulture);
                        if (i < (_ranges.Length - 1))
                        {
                            resultado += ",";
                        }
                    }
                    resultado += "],intensities=[";
                    for (int i = 0; i < _intensities.Length; i++)
                    {
                        resultado += _ranges[i].ToString("G", System.Globalization.CultureInfo.InvariantCulture);
                        if (i < (_intensities.Length - 1))
                        {
                            resultado += ",";
                        }
                    }
                    resultado += "]]";

                    return(resultado);
                }
Beispiel #8
0
 public override string ToString()
 {
     return("RecognizedObjectArrayMsg: " +
            "\nheader: " + header.ToString() +
            "\nobjects: " + System.String.Join(", ", objects.ToList()) +
            "\ncooccurrence: " + System.String.Join(", ", cooccurrence.ToList()));
 }
                public override string ToString()
                {
                    string resultado = "PointCloud2 [header=" + _header.ToString()
                                       + ",  height=" + _height.ToString()
                                       + ",  width=" + _width.ToString()
                                       + ",  fields=[";

                    for (int i = 0; i < _fields.Length; i++)
                    {
                        resultado += _fields[i].ToString();
                        if (i < (_fields.Length - 1))
                        {
                            resultado += ",";
                        }
                    }
                    resultado += "], is_bigendian=" + _is_bigendian.ToString()
                                 + ",  point_step=" + _point_step.ToString()
                                 + ",  row_step=" + _row_step.ToString()
                                 + ",  data=[";
                    for (int i = 0; i < _data.Length; i++)
                    {
                        resultado += _data[i].ToString();
                        if (i < (_data.Length - 1))
                        {
                            resultado += ",";
                        }
                    }
                    resultado += "], is_dense=" + _is_dense.ToString() + "]";

                    return(resultado);
                }
Beispiel #10
0
 public override string ToString()
 {
     return("VelocityMsg [header=" + _header.ToString() +
            "axis_x=" + _axis_x +
            "axis_y=" + _axis_y +
            "axis_z=" + _axis_z +
            "yaw=" + _yaw + "]");
 }
Beispiel #11
0
 public override string ToString()
 {
     return("OctomapMsg: " +
            "\nheader: " + header.ToString() +
            "\nbinary: " + binary.ToString() +
            "\nid: " + id.ToString() +
            "\nresolution: " + resolution.ToString() +
            "\ndata: " + System.String.Join(", ", data.ToList()));
 }
Beispiel #12
0
 public override string ToString()
 {
     return(ROSMessageType + " [header=" + _header.ToString() +
            "height=" + _height +
            "width=" + _width +
            "encoding=" + _encoding +
            "is_bigendian=" + _is_bigendian +
            "row_step=" + _row_step + "]");
 }
Beispiel #13
0
 public override string ToString()
 {
     return("Image [header=" + _header.ToString() +
            "height=" + _height +
            "width=" + _width +
            "encoding=" + _encoding +
            "is_bigendian=" + _is_bigendian +
            "row_step=" + _row_step +
            "data=" + System.Convert.ToBase64String(_data) + "]");
 }
 public override string ToString()
 {
     return(ROSMessageType + " [header=" + _header.ToString() +
            "height=" + _height +
            "width=" + _width +
            //"fields=" + _fields.ToString() +
            "is_bigendian=" + _is_bigendian +
            "is_dense=" + _is_dense +
            "point_step=" + _point_step +
            "row_step=" + _row_step + "]");
 }
 public override string ToString()
 {
     return("RecognizedObjectMsg: " +
            "\nheader: " + header.ToString() +
            "\ntype: " + type.ToString() +
            "\nconfidence: " + confidence.ToString() +
            "\npoint_clouds: " + System.String.Join(", ", point_clouds.ToList()) +
            "\nbounding_mesh: " + bounding_mesh.ToString() +
            "\nbounding_contours: " + System.String.Join(", ", bounding_contours.ToList()) +
            "\npose: " + pose.ToString());
 }
 public override string ToString()
 {
     // return "auv_msgs/BodyVelocityReq  [header=" + _header.ToString() +
     //         ", goal=" + _goal.ToString() +
     //         ", twist=" + _twist.ToString() +
     //          ", disable_axis=" + _disable_axis.ToString() + "]";
     return("BodyVelocityReq  [header=" + _header.ToString() +
            ", goal=" + _goal.ToString() +
            ", twist=" + _twist.ToString() +
            ", disable_axis=" + _disable_axis.ToString() + "]");
 }
 public override string ToString()
 {
     string array = "[";
     for (int i = 0; i < _poses.Length; i++)
     {
         array = array + _poses[i];
         if (i < (_poses.Length - 1))
             array += ",";
     }
     array += "]";
     return "Path [header=" + _header.ToString() + ",  poses=" + array + "]";
 }
Beispiel #18
0
 public override string ToString()
 {
     return("LogMsg: " +
            "\nheader: " + header.ToString() +
            "\nlevel: " + level.ToString() +
            "\nname: " + name.ToString() +
            "\nmsg: " + msg.ToString() +
            "\nfile: " + file.ToString() +
            "\nfunction: " + function.ToString() +
            "\nline: " + line.ToString() +
            "\ntopics: " + System.String.Join(", ", topics.ToList()));
 }
Beispiel #19
0
                public override string ToString()
                {
                    string result = ", semanticObjects=[";

                    for (int i = 0; i < _semanticObjects.Length; i++)
                    {
                        result += _semanticObjects[i].ToString();
                        if (i < (_semanticObjects.Length - 1))
                        {
                            result += ",";
                        }
                    }
                    return("Detection [header=" + _header.ToString() + result + "]]");
                }
Beispiel #20
0
 public override string ToString()
 {
     return("auv_msgs/NavSts  [header=" + _header.ToString() +
            ", global_position=" + _global_position.ToString() +
            ", origin=" + _origin.ToString() +
            ", position=" + _position.ToString() +
            ", altitude=" + _altitude.ToString() +
            ", body_velocity=" + _body_velocity.ToString() +
            ", orientation=" + _orientation.ToString() +
            ", orientation_rate=" + _orientation_rate.ToString() +
            ", position_variance=" + _position_variance.ToString() +
            ", orientation_variance=" + _orientation_variance.ToString() +
            ", status=" + _status.ToString() + "]");
 }
                public override string ToString()
                {
                    string data = ", data=[";

                    for (int i = 0; i < _data.Length; i++)
                    {
                        data += _data[i].ToString();
                        if (i < (_data.Length - 1))
                        {
                            data += ",";
                        }
                    }
                    return("Image [header=" + _header.ToString() + ", height=" + _height + ", width=" + _width + ", encoding=" + _encoding + ", is_bigendian=" + _is_bigendian + ", step=" + _step + data + "]]");
                }
Beispiel #22
0
                public override string ToString()
                {
                    string prob = ", probabilities=[";

                    for (int i = 0; i < _probabilities.Length; i++)
                    {
                        prob += _probabilities[i].ToString();
                        if (i < (_probabilities.Length - 1))
                        {
                            prob += ",";
                        }
                    }
                    return("Detection [header=" + _header.ToString() + ", id=" + _id + prob + "]]");
                }
                public override string ToString()
                {
                    string array = "[";

                    for (int i = 0; i < _data.Length; i++)
                    {
                        array = array + _data[i];
                        if (_data.Length - i <= 1)
                        {
                            array += ",";
                        }
                    }
                    array += "]";
                    return("OccupancyGrid [header=" + _header.ToString() + ",  info=" + _info.ToString() + ",  data=" + _data + "]");
                }
Beispiel #24
0
                public override string ToString()
                {
                    string yamlsData = "[";

                    for (int i = 0; i < _detections.Length; i++)
                    {
                        yamlsData = yamlsData + _detections[i].ToString();
                        if (_detections.Length - i <= 1)
                        {
                            yamlsData += ",";
                        }
                    }
                    yamlsData += "]";
                    return("DetectedPersons [header=" + _header.ToString() + " detections =" + yamlsData + "]");
                }
Beispiel #25
0
            public override string ToString()
            {
                string array = "[";

                for (int i = 0; i < _users.Length; i++)
                {
                    array = array + _users[i].ToString();
                    if (i < _users.Length - 1)
                    {
                        array += ",";
                    }
                }
                array += "]";
                return("UserArray [header=" + _header.ToString() + ",  users=" + array + "]");
            }
Beispiel #26
0
            public override string ToString()
            {
                string array = "[";

                for (int i = 0; i < _poses.Count; i++)
                {
                    array = array + _poses[i].ToString();
                    if (_poses.Count - i <= 1)
                    {
                        array += ",";
                    }
                }
                array += "]";

                return(ROSMessageType + " [header=" + _header.ToString()
                       + ",  poses=" + array + "]");
            }
Beispiel #27
0
 public override string ToString()
 {
     return("TFSubscriptionActionGoal [header=" + _header.ToString() +
            ", goal_id=" + _goal_id.ToString() +
            ", goal=" + _goal.ToString() + "]");
 }
Beispiel #28
0
 public override string ToString()
 {
     return("Compressed Image [format=" + _format + ",  size=" + _data.Length + ", Header " + _header.ToString() + "]");
 }
Beispiel #29
0
 public override string ToString()
 {
     return("sensor_msgs/Imu [header=" + _header.ToString() + ", orientation=" + _quaternionIMU.ToString() + ", orientation_covariance=" + _orientation_c + ", angular_velocity=" + _angularVelocity.ToString() + ", angular_velocity_covariance=" + _angular_velocity_c + ", linear_acceleration=" + _linearAcceleration.ToString() + ", linear_acceleration_covariance=" + _linear_acceleration_c + "]");
 }
Beispiel #30
0
 public override string ToString()
 {
     return(ROSMessageType + " [radiation_type=" + _radiation_type + ",  field_of_view=" + _field_of_view + ", min_range=" + _min_range + ", max_range=" + _max_range + ", range=" + _range + ", Header " + _header.ToString() + "]");
 }