00001
00002
00003 package ros.pkg.vision_srvs.srv;
00004
00005 import java.nio.ByteBuffer;
00006
00007
00008 public class srvjlo extends ros.communication.Service<srvjlo.Request, srvjlo.Response> {
00009
00010 public static java.lang.String __s_getDataType() { return "vision_srvs/srvjlo"; }
00011 public static java.lang.String __s_getMD5Sum() { return "572b4b0c75f505639d3bf0845a2758bc"; }
00012
00013 public java.lang.String getDataType() { return srvjlo.__s_getDataType(); }
00014 public java.lang.String getMD5Sum() { return srvjlo.__s_getMD5Sum(); }
00015
00016 public srvjlo.Request createRequest() {
00017 return new srvjlo.Request();
00018 }
00019
00020 public srvjlo.Response createResponse() {
00021 return new srvjlo.Response();
00022 }
00023
00024 static public class Request extends ros.communication.Message {
00025
00026 public java.lang.String command = new java.lang.String();
00027 public ros.pkg.vision_msgs.msg.partial_lo query = new ros.pkg.vision_msgs.msg.partial_lo();
00028
00029 public Request() {
00030 }
00031
00032 public static java.lang.String __s_getDataType() { return "vision_srvs/srvjloRequest"; }
00033 public java.lang.String getDataType() { return __s_getDataType(); }
00034 public static java.lang.String __s_getMD5Sum() { return "448f8517a06ac844e556609aee938e74"; }
00035 public java.lang.String getMD5Sum() { return __s_getMD5Sum(); }
00036 public static java.lang.String __s_getServerMD5Sum() { return "572b4b0c75f505639d3bf0845a2758bc"; }
00037 public java.lang.String getServerMD5Sum() { return __s_getServerMD5Sum(); }
00038 public static java.lang.String __s_getMessageDefinition() { return "\n" +
00039 "string command\n" +
00040 "vision_msgs/partial_lo query\n" +
00041 "\n" +
00042 "================================================================================\n" +
00043 "MSG: vision_msgs/partial_lo\n" +
00044 "# Message to quiey the lo-service, U. Klank klank@in.tum.de\n" +
00045 "uint64 id #id of a frame, there should be unique mapping from a tf-name-string to such an id\n" +
00046 "string name #optional parameter name representing a tf and knowledgebase correspondence\n" +
00047 "uint64 parent_id #id of parent frame\n" +
00048 "float64[16] pose #pose matrix, fully projective 4x4 matrix\n" +
00049 "float64[36] cov #covariance for 6 dof (xyz, rpy)\n" +
00050 "uint16 type #fixed connection with the parent (1) or free in space (0 = default)\n" +
00051 "\n" +
00052 ""; }
00053 public java.lang.String getMessageDefinition() { return __s_getMessageDefinition(); }
00054
00055 public Request clone() {
00056 Request c = new Request();
00057 c.deserialize(serialize(0));
00058 return c;
00059 }
00060
00061 public void setTo(ros.communication.Message m) {
00062 deserialize(m.serialize(0));
00063 }
00064
00065 public int serializationLength() {
00066 int __l = 0;
00067 __l += 4 + command.length();
00068 __l += query.serializationLength();
00069 return __l;
00070 }
00071
00072 public void serialize(ByteBuffer bb, int seq) {
00073 Serialization.writeString(bb, command);
00074 query.serialize(bb, seq);
00075 }
00076
00077 public void deserialize(ByteBuffer bb) {
00078 command = Serialization.readString(bb);
00079 query.deserialize(bb);
00080 }
00081
00082 @SuppressWarnings("all")
00083 public boolean equals(Object o) {
00084 if(!(o instanceof Request))
00085 return false;
00086 Request other = (Request) o;
00087 return
00088 command.equals(other.command) &&
00089 query.equals(other.query) &&
00090 true;
00091 }
00092
00093 @SuppressWarnings("all")
00094 public int hashCode() {
00095 final int prime = 31;
00096 int result = 1;
00097 long tmp;
00098 result = prime * result + (this.command == null ? 0 : this.command.hashCode());
00099 result = prime * result + (this.query == null ? 0 : this.query.hashCode());
00100 return result;
00101 }
00102 }
00103
00104 static public class Response extends ros.communication.Message {
00105
00106 public java.lang.String error = new java.lang.String();
00107 public ros.pkg.vision_msgs.msg.partial_lo answer = new ros.pkg.vision_msgs.msg.partial_lo();
00108
00109 public Response() {
00110 }
00111
00112 public static java.lang.String __s_getDataType() { return "vision_srvs/srvjloResponse"; }
00113 public java.lang.String getDataType() { return __s_getDataType(); }
00114 public static java.lang.String __s_getMD5Sum() { return "8a198b249660f62ab3353dd7d0ba18d4"; }
00115 public java.lang.String getMD5Sum() { return __s_getMD5Sum(); }
00116 public static java.lang.String __s_getServerMD5Sum() { return "572b4b0c75f505639d3bf0845a2758bc"; }
00117 public java.lang.String getServerMD5Sum() { return __s_getServerMD5Sum(); }
00118 public static java.lang.String __s_getMessageDefinition() { return "string error\n" +
00119 "vision_msgs/partial_lo answer\n" +
00120 "\n" +
00121 "\n" +
00122 "================================================================================\n" +
00123 "MSG: vision_msgs/partial_lo\n" +
00124 "# Message to quiey the lo-service, U. Klank klank@in.tum.de\n" +
00125 "uint64 id #id of a frame, there should be unique mapping from a tf-name-string to such an id\n" +
00126 "string name #optional parameter name representing a tf and knowledgebase correspondence\n" +
00127 "uint64 parent_id #id of parent frame\n" +
00128 "float64[16] pose #pose matrix, fully projective 4x4 matrix\n" +
00129 "float64[36] cov #covariance for 6 dof (xyz, rpy)\n" +
00130 "uint16 type #fixed connection with the parent (1) or free in space (0 = default)\n" +
00131 "\n" +
00132 ""; }
00133 public java.lang.String getMessageDefinition() { return __s_getMessageDefinition(); }
00134
00135 public Response clone() {
00136 Response c = new Response();
00137 c.deserialize(serialize(0));
00138 return c;
00139 }
00140
00141 public void setTo(ros.communication.Message m) {
00142 deserialize(m.serialize(0));
00143 }
00144
00145 public int serializationLength() {
00146 int __l = 0;
00147 __l += 4 + error.length();
00148 __l += answer.serializationLength();
00149 return __l;
00150 }
00151
00152 public void serialize(ByteBuffer bb, int seq) {
00153 Serialization.writeString(bb, error);
00154 answer.serialize(bb, seq);
00155 }
00156
00157 public void deserialize(ByteBuffer bb) {
00158 error = Serialization.readString(bb);
00159 answer.deserialize(bb);
00160 }
00161
00162 @SuppressWarnings("all")
00163 public boolean equals(Object o) {
00164 if(!(o instanceof Response))
00165 return false;
00166 Response other = (Response) o;
00167 return
00168 error.equals(other.error) &&
00169 answer.equals(other.answer) &&
00170 true;
00171 }
00172
00173 @SuppressWarnings("all")
00174 public int hashCode() {
00175 final int prime = 31;
00176 int result = 1;
00177 long tmp;
00178 result = prime * result + (this.error == null ? 0 : this.error.hashCode());
00179 result = prime * result + (this.answer == null ? 0 : this.answer.hashCode());
00180 return result;
00181 }
00182 }
00183
00184 }
00185