Beispiel #1
0
        public ServiceClient <MReq, MRes> ServiceClient <MReq, MRes>(ServiceClientOptions ops)
            where MReq : RosMessage, new()
            where MRes : RosMessage, new()
        {
            string service = ResolveName(ops.service);
            string md5sum  = new MReq().MD5Sum();

            return(new ServiceClient <MReq, MRes>(service, ops.Persistent, ops.HeaderValues, md5sum));
        }