From 8b1438145bffae70eb21741efd666c00bc58b987 Mon Sep 17 00:00:00 2001 From: MajorTop Date: Mon, 5 Dec 2022 00:04:42 +0800 Subject: [PATCH] proto file --- .../__pycache__/protoMsg.cpython-310.pyc | Bin 0 -> 3250 bytes .../__pycache__/protoMsg.cpython-38.pyc | Bin 0 -> 2181 bytes .../__pycache__/duration_pb2.cpython-310.pyc | Bin 0 -> 2466 bytes .../flight_information_pb2.cpython-310.pyc | Bin 0 -> 3134 bytes .../flyformatioln_pb2.cpython-310.pyc | Bin 0 -> 3236 bytes .../__pycache__/flymode_pb2.cpython-310.pyc | Bin 0 -> 2651 bytes .../proto/__pycache__/imu_pb2.cpython-310.pyc | Bin 0 -> 4074 bytes .../__pycache__/odom_pb2.cpython-310.pyc | Bin 0 -> 2833 bytes .../__pycache__/timestamp_pb2.cpython-310.pyc | Bin 0 -> 2174 bytes .../protomsg/proto/duration.proto | 115 +++++++++++ .../protomsg/proto/duration_pb2.py | 77 ++++++++ .../protomsg/proto/flight_information.proto | 14 ++ .../protomsg/proto/flight_information_pb2.py | 130 +++++++++++++ .../protomsg/proto/flyformatioln.proto | 17 ++ .../protomsg/proto/flyformatioln_pb2.py | 129 ++++++++++++ .../protomsg/proto/flymode.proto | 13 ++ .../protomsg/proto/flymode_pb2.py | 107 ++++++++++ Stream/uav_proto_msg/protomsg/proto/imu.proto | 19 ++ .../uav_proto_msg/protomsg/proto/imu_pb2.py | 184 ++++++++++++++++++ .../uav_proto_msg/protomsg/proto/odom.proto | 12 ++ .../uav_proto_msg/protomsg/proto/odom_pb2.py | 123 ++++++++++++ .../protomsg/proto/timestamp.proto | 144 ++++++++++++++ .../protomsg/proto/timestamp_pb2.py | 76 ++++++++ 23 files changed, 1160 insertions(+) create mode 100644 Stream/uav_proto_msg/protomsg/__pycache__/protoMsg.cpython-310.pyc create mode 100644 Stream/uav_proto_msg/protomsg/__pycache__/protoMsg.cpython-38.pyc create mode 100644 Stream/uav_proto_msg/protomsg/proto/__pycache__/duration_pb2.cpython-310.pyc create mode 100644 Stream/uav_proto_msg/protomsg/proto/__pycache__/flight_information_pb2.cpython-310.pyc create mode 100644 Stream/uav_proto_msg/protomsg/proto/__pycache__/flyformatioln_pb2.cpython-310.pyc create mode 100644 Stream/uav_proto_msg/protomsg/proto/__pycache__/flymode_pb2.cpython-310.pyc create mode 100644 Stream/uav_proto_msg/protomsg/proto/__pycache__/imu_pb2.cpython-310.pyc create mode 100644 Stream/uav_proto_msg/protomsg/proto/__pycache__/odom_pb2.cpython-310.pyc create mode 100644 Stream/uav_proto_msg/protomsg/proto/__pycache__/timestamp_pb2.cpython-310.pyc create mode 100644 Stream/uav_proto_msg/protomsg/proto/duration.proto create mode 100644 Stream/uav_proto_msg/protomsg/proto/duration_pb2.py create mode 100644 Stream/uav_proto_msg/protomsg/proto/flight_information.proto create mode 100644 Stream/uav_proto_msg/protomsg/proto/flight_information_pb2.py create mode 100644 Stream/uav_proto_msg/protomsg/proto/flyformatioln.proto create mode 100644 Stream/uav_proto_msg/protomsg/proto/flyformatioln_pb2.py create mode 100755 Stream/uav_proto_msg/protomsg/proto/flymode.proto create mode 100644 Stream/uav_proto_msg/protomsg/proto/flymode_pb2.py create mode 100755 Stream/uav_proto_msg/protomsg/proto/imu.proto create mode 100644 Stream/uav_proto_msg/protomsg/proto/imu_pb2.py create mode 100755 Stream/uav_proto_msg/protomsg/proto/odom.proto create mode 100644 Stream/uav_proto_msg/protomsg/proto/odom_pb2.py create mode 100644 Stream/uav_proto_msg/protomsg/proto/timestamp.proto create mode 100644 Stream/uav_proto_msg/protomsg/proto/timestamp_pb2.py diff --git a/Stream/uav_proto_msg/protomsg/__pycache__/protoMsg.cpython-310.pyc b/Stream/uav_proto_msg/protomsg/__pycache__/protoMsg.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a572040cfe229c462c2f712e59f182b9ffe6d645 GIT binary patch literal 3250 zcma);&2Jk;6u|e(yK8&>nY2xtmR2o2SVFN>Ar6QSr%h9(ifz#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F88Zpj^Jk7`06c)8&Y>NUd#JDI* zv=rmAsOUr^Vuh|~sVVjp=wsKeB|>etGui^WT4M zy0ag}&)@v?yy<@X_l+O^?e&^9D}4QU*mq9?)*l^vQgnm9H)7-ax9GJ6dg1tf*LA4j zj(uwEZyti^w5hSVe@Lwpr_1{zx2DlWE`{$tB{By={CBT$;t8h_c%x}!+wmU+-nenM zbHKJdAts}KFIq$E)5Am7y47kN1k&k>#-w}76j=;hH58fy;IBTOhU*uXTte!~Ac$^j z(Qj(Aw==BQFAiM35!b+3dLx(~kO6D}1M-1*z5U`#u&Cw3wd3J5;dB_0`WmQMq8qV< zPy5svdcA%yrPba2&)9C~Zfo;!uhV9yVddNiAQ!!+UHGnIH4=H4Sr$NSK=Ex57`F+L z&u(0dIpt@0xVOPaI^1P>H!zvS^N@!ovpM7-)CEO|)&2+9LCDLGVnCWPu$ykwwVHs9 z1iaC#6+^2pCMp?A2oko+d#xjOXDU6+1ZpbuD6Xe8j~z2wL8HxH&lxH!D}s+`45kT~ z0i{>adpiHYZ-&&cnz6YK3-?!X_4CAv(rb1zOLS)Ba;o12Z9!%`3i+oPO?5%9@*+I*r z$COQ?hZ6-?8-r5?CrWGAa$yP5UO*@+!fMh;g51Dk)9P&Ru%q_DCp%kvyL&s^w2VhZ z4T24YFs~-VE{XKY0=qf}Yl4XOd-hH?&;?`KwL)k!HtGt8v9QQ+Et4VQGGh-X-C^8Q z_5--{dcp}#JT7q(b%x~%BFr(ljsh>wlu&0Kp9eheKC)-)x>mHIm{5vPEM1dmQCp=~ z)q3Hg%UnqkFA4f)(!1y>kOrDmA`?tzcphX0bt{oh?J+8=s9cYfd?H^xCgpRjwPd#W zj>LKT literal 0 HcmV?d00001 diff --git a/Stream/uav_proto_msg/protomsg/proto/__pycache__/duration_pb2.cpython-310.pyc b/Stream/uav_proto_msg/protomsg/proto/__pycache__/duration_pb2.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..70a41645dfbb8dac147e9a71c098fb012766e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uQOkEONv@!G=b^_BG-tI{H*71FlP2+@OKep;qP2jaZNxJsXR zK_iryxbono;A-H=Q7CdUEcmG6tH-a*N%5)tak;#FuI zn63RW#4jpCYo8(QtEz?e8MP6z_}S`5>(_5A%frJ5D~Q|C4J#*CS<{2!^XGlbW7k-~ zVEi(wheSQ}mwFRVO$eFoFQiGmddw$OAa>#@k>!%>Gc;WF|Am^cFwA=;zO1@d{0Wdt z&7ge$&85sVM(WL|_lY%XBK(hu@iQ}p|29qh6y#5=tmZ07B2^m6r!*67Wzn}%mSzS& zR^Q8eF#iHillTv_jDI($@Necc{?$B&e=(2aN9GLv**t-NGEd@%=A8MXb=pEjtg^~I Iv(i@TU$v+ACIA2c literal 0 HcmV?d00001 diff --git a/Stream/uav_proto_msg/protomsg/proto/__pycache__/flight_information_pb2.cpython-310.pyc b/Stream/uav_proto_msg/protomsg/proto/__pycache__/flight_information_pb2.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b4b562d474794de30348a364cdeda4ca6480c4e9 GIT binary patch literal 3134 zcmd58TXPdtc=zPw(oNE&7fMSnK%qz#8Yv>E1*wHXoi@cbPkA}B$vH{4-Rx#|H%!~% z4WAt0LHeGe&5N3RD@ASX55|q@_pa=?w2!hlSxB^=aY{= zEIvqU+I=KCp9ByW;q!k8X&TqKZfki>XzM!HhBQt#G%v+NoW8GBdwCdt^8}zat~BzCoYQiRvLxxwQ+!F54+@}|zaZ-w(I;HUXJ zmc~;&eMjd#3ifgx@IH|O*st(?AlK8B8&Gol0S#>$;ka7w{O{uxz~S9t(`;5u8GOTym>+-hcJd6mt%l}gRAie_NB4qJLJmt#xQOPSTc6J{k-Gq1C% z=LRmT_~nek+DN8kTjjNYSx(9IDh>T=VS1{%C1W$TSt)SyLKx#B0I23g;peH~F+deO zUV1mQ9msbVGbULXvB9QuYEqXG;S^miJWTLON?rs>wA%J!KgQP{wF6IV9NQ_@J4m|CTHG}Q#F+%04uZ+Z}=@i;c8PPRia?2?< z%oUn3O@<|P%!-iFs#)BCOl8F1asqQx_WHuJOxxNPoVis@+n31>UbWz*pn4L+mR+Tq zZ8K#kR#O16ELH!#PAkt`S_%h)LKY%)6ygrV*9tpo;@K`a9)pt zl{zktY>meD_;Xa6<5PbZ)jmMAfxnQ36`my0xO91SZe`(GZh1u-j8$A-vjt;n`z8;{ zkiP{ryDmH|y}AJ;VFj5gyKdPQjkPJ%N}dWX4h?Q?q=zxfSZmNd{5K=x?8#<&N#vy2 zpSDv*FExflM)8R8g6y7$;e@NKx$E9}R5YG2WNIGAw1W{Y*{&JnDT9&C53~8jg)3Kc zY#}?pys|W#TUgGrrOT_UvsW(5?#6_(!j@VIZvt)a>l{SCbtVT^MA?Gj@%F|eN3IA* zcqUBMHM~KKuD#T_igLI^(Iz1&w~B$+j}B5TOU*Oy3~)OxJawC^?TO7aI&uNG%#Xl= z#X@6xqWQ)`G)(ly8_^?=j5yWF@05_oG(>)*l>7?kkBq3|;z{ciC0ZXy##+*-(bPgs z8X*ty`#)HqKSL~|^eFj)PLR*(F(T=4@)@0^pBg9InYJ?f zTXkqx?S<8W{sLJHke}!vc|eEAk93%PPe;giDzh>2t;+5&`HGIydx;4{$G4kchhvY8 Ja0}}W{{amGf${(V literal 0 HcmV?d00001 diff --git a/Stream/uav_proto_msg/protomsg/proto/__pycache__/flyformatioln_pb2.cpython-310.pyc b/Stream/uav_proto_msg/protomsg/proto/__pycache__/flyformatioln_pb2.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3b26df4c909ecb8dc6ecab4a5eab7fa5783d2991 GIT binary patch literal 3236 zcmbVOTXWmS6$X~zMG)_jXeqK}n~rQ#vc<+}lU`gmu0%PSi6mE28+T_q7?5YlKn4NM z0#r>;-qOc9FZl!VV`lo6e~_PnhjyB@ld`{{leB5iSzb&^&U9Mt;M3V}_gryyAwQEb zHT-@4hu=4TQ_!?8X)^gM;^ZBCf-jh+fd;y(aZP9^I%rE8uqT?#K@5!FX`Ld(=`Uxv zE8)i41~+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 0 HcmV?d00001 diff --git a/Stream/uav_proto_msg/protomsg/proto/__pycache__/imu_pb2.cpython-310.pyc b/Stream/uav_proto_msg/protomsg/proto/__pycache__/imu_pb2.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a03d27d780bfa43119a579c89d9d28d0bfdbf4e3 GIT binary patch literal 4074 zcmeGeTXPdtc=zPwwz;+Gg%o90rZCl1atc@0Ri+Fnj9gZn6bmr=ky1^wApYhENQKNm zh30}PYJ>p~<-!t=03OLjB_0J_%f(cM$8N%V#e?*Cbd;wNo-;gpcmpoRoVT z;P$S~17(CQ0Nl1~a)+L5&laVp)6!FS$DWd>67JFCPyG^T9cAyx`VH_tKCnK>=7tn~ z7w?z&qQv3WSkJJYlL}A~I|kT*#7+U0xHZI6n=0Ie(ObJ&4-c>JDXM&!_pxR6?sc*m z$c=!^C?D}pM;WHBDN|=!c-xV|^~65RVRd&#cwY|XYB*#+)iuG!V>>bW(2-mX;YR=Hr*%C@Di zT)22qUzu6SuGJiFRI+vBie7c>nypvdQdVL5Z6!Hl+Ya6))QtG*Wvk`)@` zZow&6YqkTYaD}_BQR2vOc+unq%nVK`w^7O4rp}C-kvCl4j6wp_GAE(rLJ~RByrXTA zCyr~8<(2pKrG{gtlUfLW^^J@=t{x=*xsf5;&dp2!&l9s+6m{nc1#YHOT38~!womZX zeS)WdL5rb&C!6$`7WYEIUdSL~Gtp^}nBJ=;e1B2`!-~ylQbIbSj&9VwiP)S|qleMZ8nQb{J6(_Spsf#bP`x_Z8ukvF;1i@th%P2Dl9 z5@>{Mi`zw4^mKK>trg2xf9;hHGBQpnC=Xs$7}55H9TH(C$HIB z1|O}D(NXt+if!ZB%%Hzc+5H*Cv24Xq9hYBhpV#Kl!z%4SQRfrX5vUXHTsl)kXbX#L z^Q+6}FP>W!nyy!DRyVn>%ll$#uL!seDE}4iU~l!ZRkQ`s^CDHU?UKpcd!Mft9T`dt zCdj)(9E?yzyyzYLb1h=})?MPr()Z{O-6tZv(4ImOMwZUOj5&o7?I#U;M7xVAR8v?!A8ebVy{xq!|jS|8}1 zb=TvG!Bt)=!z4P}BND?)+~SS_BYGaM`GRe(w6D*LxUu2RK~PpM)SP~Fkn${bc+OFv zIwuhLZ<{tIw={CH-I!V2W_K7wB7spg-uXrXG)UC;H>8H{YcZ;lzbPRPXn_1hDftul z_qDL3BFE#Rg!h1C#FIvijuvXt5V?oX^I(Dg4zY}oyL62FNXN+!bb{Qb`^a~6KlzqU zl5gk%BIrT#HJzegX@~qwz0Cfv!(+^YKRr)85C3L?{sG+_B)`!N`IQclU+5n4GaV*B j$qtW_JF?4r$@g@E-i}YkRju<)5}fwP11-1{O9uY|&y{pg literal 0 HcmV?d00001 diff --git a/Stream/uav_proto_msg/protomsg/proto/__pycache__/odom_pb2.cpython-310.pyc b/Stream/uav_proto_msg/protomsg/proto/__pycache__/odom_pb2.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0f1b1dc36a0e106a50a2203aca332c0c29c739de GIT binary patch literal 2833 zcmd5-TW=dh6y6<=FInGW$GNphTGFe5#x$iDAe2^3Qt^_Cm*5R{BAUiEuG?B!6WX@UwP}r$o0^~H5l%nQ8hIYYZ<&Bp%#Jv; z9Mw@H4s@&>S9AjCM0rHfBS0JFq^^nNZfZ{}r$ux-!wsI~DXt5`(|2^9xf?BKfj`PG zSsKss(fc~jDa>;n=rNH6EGT*$h28v1sv@uP6zrZ>{6&Rl`0Kzq%g^1{@9E{Sp{|_=evTvleb+81 zxirZqMJbas1^k1lDV zps4derFW-9c29??9@(Adqawb2pr(t1VvJwp@7yJOk@5`4%!-+T%=v*#VIVW7WadzY z>zi8fatF`kwGNy?t*Rs4`yq|*6?g**a9aa${n`WVfiCqO9~Bfle!q0Xb3`fh+*WB> z1UEykQQBDFWLG@LX}VU`3@y)PYwvAsv9-mu(q`xj(bu#eX9|AKCI%72m-S%aKjfhTU0SMSY?BjQ}JxZ&Cslv zfoL0;!Gg+4YUP+B&a|7x5P$xhLD!ep*YX)7hF`Wbr61N$lEJz)MfR=RQxROxpD`5;e;filRu#Y}EsUmTS3n7PcDTp=Jr22eOx0JBb0Q zsMwB-S}qqmGUhg&itsx)Ws;&=2fHg1)kZ^E>0nc2)HW-^mbn{dz__THO*>?_OuH#o zWqRLQrg|0WhA<+)ewR#H0TVl+a05tDW(On-s$N6*d34i_v^5-QtH*2)GuzS_=m#?8 ziXepQVe|p)^j$(7`#!l@v4x*QAEN_J=9_LEG-94ByjmbfhpHZgrXP0TFH@75A+~UN zXBnCMx-SR4Z;ua8#X^51I!Vy!;ECw0A~KOT9h+EO3WzAa$XtiBBwbn{W|NM(_z>A~L6^dQT!k zqeSmMF+KLgNK&0Vql7%A5%L?QuN68oT82OwYCz75dpV1=y)HpTBw4d2Os>7gae^Cee z3}VQVM>I!%p?UH%Es&q+IQfxIkRRwI>Ch?iJv~6aqX+4?sX0T(CquA5iKj-iPi3ON E1Ge8I+W-In literal 0 HcmV?d00001 diff --git a/Stream/uav_proto_msg/protomsg/proto/__pycache__/timestamp_pb2.cpython-310.pyc b/Stream/uav_proto_msg/protomsg/proto/__pycache__/timestamp_pb2.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ea4569fc96e966c8eba5ff546677f57b8a94737c GIT binary patch literal 2174 zcmbtUOK)366uvVaziw<_$02EwrcGN~Xeh+=!Aq(tP#>s^v?Z~Gdo}0rJur*e1||D}RMpSM%aSq*TGA;34d12}K!1<;!v=^ZnAi-1ea0$gUt0aq9XJi$%^t{ToMb{gn2M(0iA z<*dP>$8$#dmf^f@(46-OO`UWe>}S~;;F9sUY`m|qcYt%ka9-=Aj*j?3N9XXa!S@Uf zqgglc)maIo?;HL_gO}K4;9OxJJVuXDv&L)O*`8z7s}?WsLk0&3YF^x*XH}lxUT7nJ zjMvzQ?4yVHAk$m~oh81gbr{;R);<~NZn!hZ0Jfk7CZDGDx(-VcfCm<+qdQNmCrF_^ zp$!Z?^Xm8Gkk`{V>eX*>xs%38ee>=Xy&i{QH}YF<>c>+B#m{GU*GA(aVOxzo!4zQbB2Gp|D}CYw{}$b%musH z7?-8y*m=oYam3^zI)%<>YGpecxlt?^F>JHm$njcMk;o0X$|r7X2ZB~P*^5$lPt_zB zz8m;`&S;$I45TVg@e)r|pb+ZtOjT@mgMeyx{iP#`tWP3Sg|;7Xb0*Q0av;jo^&>y( z(6pC81Z|%OOsa7L{nM{>wm!;HW&McpJ(Y{Pp~uBQ_oX7nTcMRC#_vEkg~|r5#{)Hc z-<6c{w%ZL-y6XmAeoK{K+N;v&8izp@Ik+B@C0|m$m-0wLQIsz6hU7@$#v`!B;!+|_~T=l>jhj?wPkf;NrfAAz#ow_O* z6p;?jYJ8}+Mdfb{uS(^$h%!%A zZb9$BV=@{$aYY;2hYaQ1(p_}OXxg-Kd*kL-YJU1|CG~oyYt_Og@Ay!D@v?KZ z@;Q&VaN%C==?AG52OGl?Z|Hu_k2Z=hzmpcG?GodA?97w4+*?k!^&RM?JEBO zC}d8e(&$&nkSs>SUk>G-+cN~=e+kAfNCy8y2>u)7&+WY7YROotHO5P8jw6%7fu{xhJ6XiPktO^qIgWoJEBI$}0zV}u@lRwG|42^bAIKT 0) { +// duration.seconds += 1; +// duration.nanos -= 1000000000; +// } else if (duration.seconds > 0 && duration.nanos < 0) { +// duration.seconds -= 1; +// duration.nanos += 1000000000; +// } +// +// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. +// +// Timestamp start = ...; +// Duration duration = ...; +// Timestamp end = ...; +// +// end.seconds = start.seconds + duration.seconds; +// end.nanos = start.nanos + duration.nanos; +// +// if (end.nanos < 0) { +// end.seconds -= 1; +// end.nanos += 1000000000; +// } else if (end.nanos >= 1000000000) { +// end.seconds += 1; +// end.nanos -= 1000000000; +// } +// +// Example 3: Compute Duration from datetime.timedelta in Python. +// +// td = datetime.timedelta(days=3, minutes=10) +// duration = Duration() +// duration.FromTimedelta(td) +// +// # JSON Mapping +// +// In JSON format, the Duration type is encoded as a string rather than an +// object, where the string ends in the suffix "s" (indicating seconds) and +// is preceded by the number of seconds, with nanoseconds expressed as +// fractional seconds. For example, 3 seconds with 0 nanoseconds should be +// encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should +// be expressed in JSON format as "3.000000001s", and 3 seconds and 1 +// microsecond should be expressed in JSON format as "3.000001s". +// +message Duration { + // Signed seconds of the span of time. Must be from -315,576,000,000 + // to +315,576,000,000 inclusive. Note: these bounds are computed from: + // 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years + int64 seconds = 1; + + // Signed fractions of a second at nanosecond resolution of the span + // of time. Durations less than one second are represented with a 0 + // `seconds` field and a positive or negative `nanos` field. For durations + // of one second or more, a non-zero value for the `nanos` field must be + // of the same sign as the `seconds` field. Must be from -999,999,999 + // to +999,999,999 inclusive. + int32 nanos = 2; +} diff --git a/Stream/uav_proto_msg/protomsg/proto/duration_pb2.py b/Stream/uav_proto_msg/protomsg/proto/duration_pb2.py new file mode 100644 index 0000000..ce5ada9 --- /dev/null +++ b/Stream/uav_proto_msg/protomsg/proto/duration_pb2.py @@ -0,0 +1,77 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: duration.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='duration.proto', + package='google.protobuf', + syntax='proto3', + serialized_options=_b('\n\023com.google.protobufB\rDurationProtoP\001Z1google.golang.org/protobuf/types/known/durationpb\370\001\001\242\002\003GPB\252\002\036Google.Protobuf.WellKnownTypes'), + serialized_pb=_b('\n\x0e\x64uration.proto\x12\x0fgoogle.protobuf\"*\n\x08\x44uration\x12\x0f\n\x07seconds\x18\x01 \x01(\x03\x12\r\n\x05nanos\x18\x02 \x01(\x05\x42\x83\x01\n\x13\x63om.google.protobufB\rDurationProtoP\x01Z1google.golang.org/protobuf/types/known/durationpb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3') +) + + + + +_DURATION = _descriptor.Descriptor( + name='Duration', + full_name='google.protobuf.Duration', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='seconds', full_name='google.protobuf.Duration.seconds', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='nanos', full_name='google.protobuf.Duration.nanos', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=35, + serialized_end=77, +) + +DESCRIPTOR.message_types_by_name['Duration'] = _DURATION +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +Duration = _reflection.GeneratedProtocolMessageType('Duration', (_message.Message,), dict( + DESCRIPTOR = _DURATION, + __module__ = 'duration_pb2' + # @@protoc_insertion_point(class_scope:google.protobuf.Duration) + )) +_sym_db.RegisterMessage(Duration) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/Stream/uav_proto_msg/protomsg/proto/flight_information.proto b/Stream/uav_proto_msg/protomsg/proto/flight_information.proto new file mode 100644 index 0000000..d377017 --- /dev/null +++ b/Stream/uav_proto_msg/protomsg/proto/flight_information.proto @@ -0,0 +1,14 @@ +syntax = 'proto3'; + +// GPS + compass + +message GPS { + float LAT = 1; + float LON = 2; + float ALT = 3; +} + +message flight_information_message { + GPS gps = 1; + float heading = 2; +} \ No newline at end of file diff --git a/Stream/uav_proto_msg/protomsg/proto/flight_information_pb2.py b/Stream/uav_proto_msg/protomsg/proto/flight_information_pb2.py new file mode 100644 index 0000000..24e9adc --- /dev/null +++ b/Stream/uav_proto_msg/protomsg/proto/flight_information_pb2.py @@ -0,0 +1,130 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flight_information.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='flight_information.proto', + package='', + syntax='proto3', + serialized_options=None, + serialized_pb=_b('\n\x18\x66light_information.proto\",\n\x03GPS\x12\x0b\n\x03LAT\x18\x01 \x01(\x02\x12\x0b\n\x03LON\x18\x02 \x01(\x02\x12\x0b\n\x03\x41LT\x18\x03 \x01(\x02\"@\n\x1a\x66light_information_message\x12\x11\n\x03gps\x18\x01 \x01(\x0b\x32\x04.GPS\x12\x0f\n\x07heading\x18\x02 \x01(\x02\x62\x06proto3') +) + + + + +_GPS = _descriptor.Descriptor( + name='GPS', + full_name='GPS', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='LAT', full_name='GPS.LAT', index=0, + number=1, type=2, cpp_type=6, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='LON', full_name='GPS.LON', index=1, + number=2, type=2, cpp_type=6, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ALT', full_name='GPS.ALT', index=2, + number=3, type=2, cpp_type=6, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=28, + serialized_end=72, +) + + +_FLIGHT_INFORMATION_MESSAGE = _descriptor.Descriptor( + name='flight_information_message', + full_name='flight_information_message', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='gps', full_name='flight_information_message.gps', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='heading', full_name='flight_information_message.heading', index=1, + number=2, type=2, cpp_type=6, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=74, + serialized_end=138, +) + +_FLIGHT_INFORMATION_MESSAGE.fields_by_name['gps'].message_type = _GPS +DESCRIPTOR.message_types_by_name['GPS'] = _GPS +DESCRIPTOR.message_types_by_name['flight_information_message'] = _FLIGHT_INFORMATION_MESSAGE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GPS = _reflection.GeneratedProtocolMessageType('GPS', (_message.Message,), dict( + DESCRIPTOR = _GPS, + __module__ = 'flight_information_pb2' + # @@protoc_insertion_point(class_scope:GPS) + )) +_sym_db.RegisterMessage(GPS) + +flight_information_message = _reflection.GeneratedProtocolMessageType('flight_information_message', (_message.Message,), dict( + DESCRIPTOR = _FLIGHT_INFORMATION_MESSAGE, + __module__ = 'flight_information_pb2' + # @@protoc_insertion_point(class_scope:flight_information_message) + )) +_sym_db.RegisterMessage(flight_information_message) + + +# @@protoc_insertion_point(module_scope) diff --git a/Stream/uav_proto_msg/protomsg/proto/flyformatioln.proto b/Stream/uav_proto_msg/protomsg/proto/flyformatioln.proto new file mode 100644 index 0000000..c209dc0 --- /dev/null +++ b/Stream/uav_proto_msg/protomsg/proto/flyformatioln.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + +// leader only + +enum FLY_FORMATION{ + FLY_FORMATION_UNSPECIFIED = 0; + FLY_FORMATION_v = 1; + FLY_FORMATION_X = 2; + FLY_FORMATION_O = 3; + FLY_FORMATION_LINE = 4; + FLY_FORMATION_ROW = 5; + FLY_FORMATION_HEX = 6; + } + message fly_formation_message{ + float velocity = 1; + FLY_FORMATION fly_formation= 2; + } \ No newline at end of file diff --git a/Stream/uav_proto_msg/protomsg/proto/flyformatioln_pb2.py b/Stream/uav_proto_msg/protomsg/proto/flyformatioln_pb2.py new file mode 100644 index 0000000..9a3a4d4 --- /dev/null +++ b/Stream/uav_proto_msg/protomsg/proto/flyformatioln_pb2.py @@ -0,0 +1,129 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyformatioln.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf.internal import enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='flyformatioln.proto', + package='', + syntax='proto3', + serialized_options=None, + serialized_pb=_b('\n\x13\x66lyformatioln.proto\"P\n\x15\x66ly_formation_message\x12\x10\n\x08velocity\x18\x01 \x01(\x02\x12%\n\rfly_formation\x18\x02 \x01(\x0e\x32\x0e.FLY_FORMATION*\xb3\x01\n\rFLY_FORMATION\x12\x1d\n\x19\x46LY_FORMATION_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x46LY_FORMATION_v\x10\x01\x12\x13\n\x0f\x46LY_FORMATION_X\x10\x02\x12\x13\n\x0f\x46LY_FORMATION_O\x10\x03\x12\x16\n\x12\x46LY_FORMATION_LINE\x10\x04\x12\x15\n\x11\x46LY_FORMATION_ROW\x10\x05\x12\x15\n\x11\x46LY_FORMATION_HEX\x10\x06\x62\x06proto3') +) + +_FLY_FORMATION = _descriptor.EnumDescriptor( + name='FLY_FORMATION', + full_name='FLY_FORMATION', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='FLY_FORMATION_UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='FLY_FORMATION_v', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='FLY_FORMATION_X', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='FLY_FORMATION_O', index=3, number=3, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='FLY_FORMATION_LINE', index=4, number=4, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='FLY_FORMATION_ROW', index=5, number=5, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='FLY_FORMATION_HEX', index=6, number=6, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=106, + serialized_end=285, +) +_sym_db.RegisterEnumDescriptor(_FLY_FORMATION) + +FLY_FORMATION = enum_type_wrapper.EnumTypeWrapper(_FLY_FORMATION) +FLY_FORMATION_UNSPECIFIED = 0 +FLY_FORMATION_v = 1 +FLY_FORMATION_X = 2 +FLY_FORMATION_O = 3 +FLY_FORMATION_LINE = 4 +FLY_FORMATION_ROW = 5 +FLY_FORMATION_HEX = 6 + + + +_FLY_FORMATION_MESSAGE = _descriptor.Descriptor( + name='fly_formation_message', + full_name='fly_formation_message', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='velocity', full_name='fly_formation_message.velocity', index=0, + number=1, type=2, cpp_type=6, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='fly_formation', full_name='fly_formation_message.fly_formation', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=23, + serialized_end=103, +) + +_FLY_FORMATION_MESSAGE.fields_by_name['fly_formation'].enum_type = _FLY_FORMATION +DESCRIPTOR.message_types_by_name['fly_formation_message'] = _FLY_FORMATION_MESSAGE +DESCRIPTOR.enum_types_by_name['FLY_FORMATION'] = _FLY_FORMATION +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +fly_formation_message = _reflection.GeneratedProtocolMessageType('fly_formation_message', (_message.Message,), dict( + DESCRIPTOR = _FLY_FORMATION_MESSAGE, + __module__ = 'flyformatioln_pb2' + # @@protoc_insertion_point(class_scope:fly_formation_message) + )) +_sym_db.RegisterMessage(fly_formation_message) + + +# @@protoc_insertion_point(module_scope) diff --git a/Stream/uav_proto_msg/protomsg/proto/flymode.proto b/Stream/uav_proto_msg/protomsg/proto/flymode.proto new file mode 100755 index 0000000..26677ec --- /dev/null +++ b/Stream/uav_proto_msg/protomsg/proto/flymode.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + +enum FLYMODE{ + FLY_MODE_UNSPECIFIED = 0; + FLY_MODE_STABILIZE = 1; + FLY_MODE_GUIDEDIZE = 2; + FLY_MODE_LAND = 3; + } + + message flymode_message{ + FLYMODE fly_mode_msg = 1; + } \ No newline at end of file diff --git a/Stream/uav_proto_msg/protomsg/proto/flymode_pb2.py b/Stream/uav_proto_msg/protomsg/proto/flymode_pb2.py new file mode 100644 index 0000000..6260e4b --- /dev/null +++ b/Stream/uav_proto_msg/protomsg/proto/flymode_pb2.py @@ -0,0 +1,107 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flymode.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf.internal import enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='flymode.proto', + package='', + syntax='proto3', + serialized_options=None, + serialized_pb=_b('\n\rflymode.proto\"1\n\x0f\x66lymode_message\x12\x1e\n\x0c\x66ly_mode_msg\x18\x01 \x01(\x0e\x32\x08.FLYMODE*f\n\x07\x46LYMODE\x12\x18\n\x14\x46LY_MODE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x46LY_MODE_STABILIZE\x10\x01\x12\x16\n\x12\x46LY_MODE_GUIDEDIZE\x10\x02\x12\x11\n\rFLY_MODE_LAND\x10\x03\x62\x06proto3') +) + +_FLYMODE = _descriptor.EnumDescriptor( + name='FLYMODE', + full_name='FLYMODE', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='FLY_MODE_UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='FLY_MODE_STABILIZE', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='FLY_MODE_GUIDEDIZE', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='FLY_MODE_LAND', index=3, number=3, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=68, + serialized_end=170, +) +_sym_db.RegisterEnumDescriptor(_FLYMODE) + +FLYMODE = enum_type_wrapper.EnumTypeWrapper(_FLYMODE) +FLY_MODE_UNSPECIFIED = 0 +FLY_MODE_STABILIZE = 1 +FLY_MODE_GUIDEDIZE = 2 +FLY_MODE_LAND = 3 + + + +_FLYMODE_MESSAGE = _descriptor.Descriptor( + name='flymode_message', + full_name='flymode_message', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='fly_mode_msg', full_name='flymode_message.fly_mode_msg', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=17, + serialized_end=66, +) + +_FLYMODE_MESSAGE.fields_by_name['fly_mode_msg'].enum_type = _FLYMODE +DESCRIPTOR.message_types_by_name['flymode_message'] = _FLYMODE_MESSAGE +DESCRIPTOR.enum_types_by_name['FLYMODE'] = _FLYMODE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +flymode_message = _reflection.GeneratedProtocolMessageType('flymode_message', (_message.Message,), dict( + DESCRIPTOR = _FLYMODE_MESSAGE, + __module__ = 'flymode_pb2' + # @@protoc_insertion_point(class_scope:flymode_message) + )) +_sym_db.RegisterMessage(flymode_message) + + +# @@protoc_insertion_point(module_scope) diff --git a/Stream/uav_proto_msg/protomsg/proto/imu.proto b/Stream/uav_proto_msg/protomsg/proto/imu.proto new file mode 100755 index 0000000..6154886 --- /dev/null +++ b/Stream/uav_proto_msg/protomsg/proto/imu.proto @@ -0,0 +1,19 @@ +syntax = 'proto3'; + + +message IMU_Gyro { + float Gyro_x = 1; + float Gyro_y = 2; + float Gyro_z = 3; +} + +message IMU_Accel { + float Accel_x = 1; + float Accel_y = 2; + float Accel_z = 3; +} + +message IMU_message{ + IMU_Gyro IMU_Gyro_msg = 1; + IMU_Accel IMU_Accel_msg = 2; +} \ No newline at end of file diff --git a/Stream/uav_proto_msg/protomsg/proto/imu_pb2.py b/Stream/uav_proto_msg/protomsg/proto/imu_pb2.py new file mode 100644 index 0000000..96b3ff4 --- /dev/null +++ b/Stream/uav_proto_msg/protomsg/proto/imu_pb2.py @@ -0,0 +1,184 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: imu.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='imu.proto', + package='', + syntax='proto3', + serialized_options=None, + serialized_pb=_b('\n\timu.proto\":\n\x08IMU_Gyro\x12\x0e\n\x06Gyro_x\x18\x01 \x01(\x02\x12\x0e\n\x06Gyro_y\x18\x02 \x01(\x02\x12\x0e\n\x06Gyro_z\x18\x03 \x01(\x02\">\n\tIMU_Accel\x12\x0f\n\x07\x41\x63\x63\x65l_x\x18\x01 \x01(\x02\x12\x0f\n\x07\x41\x63\x63\x65l_y\x18\x02 \x01(\x02\x12\x0f\n\x07\x41\x63\x63\x65l_z\x18\x03 \x01(\x02\"Q\n\x0bIMU_message\x12\x1f\n\x0cIMU_Gyro_msg\x18\x01 \x01(\x0b\x32\t.IMU_Gyro\x12!\n\rIMU_Accel_msg\x18\x02 \x01(\x0b\x32\n.IMU_Accelb\x06proto3') +) + + + + +_IMU_GYRO = _descriptor.Descriptor( + name='IMU_Gyro', + full_name='IMU_Gyro', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='Gyro_x', full_name='IMU_Gyro.Gyro_x', index=0, + number=1, type=2, cpp_type=6, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='Gyro_y', full_name='IMU_Gyro.Gyro_y', index=1, + number=2, type=2, cpp_type=6, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='Gyro_z', full_name='IMU_Gyro.Gyro_z', index=2, + number=3, type=2, cpp_type=6, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=13, + serialized_end=71, +) + + +_IMU_ACCEL = _descriptor.Descriptor( + name='IMU_Accel', + full_name='IMU_Accel', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='Accel_x', full_name='IMU_Accel.Accel_x', index=0, + number=1, type=2, cpp_type=6, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='Accel_y', full_name='IMU_Accel.Accel_y', index=1, + number=2, type=2, cpp_type=6, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='Accel_z', full_name='IMU_Accel.Accel_z', index=2, + number=3, type=2, cpp_type=6, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=73, + serialized_end=135, +) + + +_IMU_MESSAGE = _descriptor.Descriptor( + name='IMU_message', + full_name='IMU_message', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='IMU_Gyro_msg', full_name='IMU_message.IMU_Gyro_msg', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='IMU_Accel_msg', full_name='IMU_message.IMU_Accel_msg', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=137, + serialized_end=218, +) + +_IMU_MESSAGE.fields_by_name['IMU_Gyro_msg'].message_type = _IMU_GYRO +_IMU_MESSAGE.fields_by_name['IMU_Accel_msg'].message_type = _IMU_ACCEL +DESCRIPTOR.message_types_by_name['IMU_Gyro'] = _IMU_GYRO +DESCRIPTOR.message_types_by_name['IMU_Accel'] = _IMU_ACCEL +DESCRIPTOR.message_types_by_name['IMU_message'] = _IMU_MESSAGE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +IMU_Gyro = _reflection.GeneratedProtocolMessageType('IMU_Gyro', (_message.Message,), dict( + DESCRIPTOR = _IMU_GYRO, + __module__ = 'imu_pb2' + # @@protoc_insertion_point(class_scope:IMU_Gyro) + )) +_sym_db.RegisterMessage(IMU_Gyro) + +IMU_Accel = _reflection.GeneratedProtocolMessageType('IMU_Accel', (_message.Message,), dict( + DESCRIPTOR = _IMU_ACCEL, + __module__ = 'imu_pb2' + # @@protoc_insertion_point(class_scope:IMU_Accel) + )) +_sym_db.RegisterMessage(IMU_Accel) + +IMU_message = _reflection.GeneratedProtocolMessageType('IMU_message', (_message.Message,), dict( + DESCRIPTOR = _IMU_MESSAGE, + __module__ = 'imu_pb2' + # @@protoc_insertion_point(class_scope:IMU_message) + )) +_sym_db.RegisterMessage(IMU_message) + + +# @@protoc_insertion_point(module_scope) diff --git a/Stream/uav_proto_msg/protomsg/proto/odom.proto b/Stream/uav_proto_msg/protomsg/proto/odom.proto new file mode 100755 index 0000000..701c444 --- /dev/null +++ b/Stream/uav_proto_msg/protomsg/proto/odom.proto @@ -0,0 +1,12 @@ +syntax = 'proto3'; + + +message ODOM { + float ODOM_x = 1; + float ODOM_y = 2; + float ODOM_z = 3; +} + +message odem_message{ + ODOM odem_msg = 1; +} \ No newline at end of file diff --git a/Stream/uav_proto_msg/protomsg/proto/odom_pb2.py b/Stream/uav_proto_msg/protomsg/proto/odom_pb2.py new file mode 100644 index 0000000..300b3e4 --- /dev/null +++ b/Stream/uav_proto_msg/protomsg/proto/odom_pb2.py @@ -0,0 +1,123 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: odom.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='odom.proto', + package='', + syntax='proto3', + serialized_options=None, + serialized_pb=_b('\n\nodom.proto\"6\n\x04ODOM\x12\x0e\n\x06ODOM_x\x18\x01 \x01(\x02\x12\x0e\n\x06ODOM_y\x18\x02 \x01(\x02\x12\x0e\n\x06ODOM_z\x18\x03 \x01(\x02\"\'\n\x0codem_message\x12\x17\n\x08odem_msg\x18\x01 \x01(\x0b\x32\x05.ODOMb\x06proto3') +) + + + + +_ODOM = _descriptor.Descriptor( + name='ODOM', + full_name='ODOM', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='ODOM_x', full_name='ODOM.ODOM_x', index=0, + number=1, type=2, cpp_type=6, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ODOM_y', full_name='ODOM.ODOM_y', index=1, + number=2, type=2, cpp_type=6, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ODOM_z', full_name='ODOM.ODOM_z', index=2, + number=3, type=2, cpp_type=6, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=14, + serialized_end=68, +) + + +_ODEM_MESSAGE = _descriptor.Descriptor( + name='odem_message', + full_name='odem_message', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='odem_msg', full_name='odem_message.odem_msg', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=70, + serialized_end=109, +) + +_ODEM_MESSAGE.fields_by_name['odem_msg'].message_type = _ODOM +DESCRIPTOR.message_types_by_name['ODOM'] = _ODOM +DESCRIPTOR.message_types_by_name['odem_message'] = _ODEM_MESSAGE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ODOM = _reflection.GeneratedProtocolMessageType('ODOM', (_message.Message,), dict( + DESCRIPTOR = _ODOM, + __module__ = 'odom_pb2' + # @@protoc_insertion_point(class_scope:ODOM) + )) +_sym_db.RegisterMessage(ODOM) + +odem_message = _reflection.GeneratedProtocolMessageType('odem_message', (_message.Message,), dict( + DESCRIPTOR = _ODEM_MESSAGE, + __module__ = 'odom_pb2' + # @@protoc_insertion_point(class_scope:odem_message) + )) +_sym_db.RegisterMessage(odem_message) + + +# @@protoc_insertion_point(module_scope) diff --git a/Stream/uav_proto_msg/protomsg/proto/timestamp.proto b/Stream/uav_proto_msg/protomsg/proto/timestamp.proto new file mode 100644 index 0000000..5648ab8 --- /dev/null +++ b/Stream/uav_proto_msg/protomsg/proto/timestamp.proto @@ -0,0 +1,144 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +// option cc_enable_arenas = true; +// option go_package = "google.golang.org/protobuf/types/known/timestamppb"; +// option java_package = "com.google.protobuf"; +// option java_outer_classname = "TimestampProto"; +// option java_multiple_files = true; +// option objc_class_prefix = "GPB"; +// option csharp_namespace = "Google.Protobuf.WellKnownTypes"; + +// A Timestamp represents a point in time independent of any time zone or local +// calendar, encoded as a count of seconds and fractions of seconds at +// nanosecond resolution. The count is relative to an epoch at UTC midnight on +// January 1, 1970, in the proleptic Gregorian calendar which extends the +// Gregorian calendar backwards to year one. +// +// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap +// second table is needed for interpretation, using a [24-hour linear +// smear](https://developers.google.com/time/smear). +// +// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By +// restricting to that range, we ensure that we can convert to and from [RFC +// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. +// +// # Examples +// +// Example 1: Compute Timestamp from POSIX `time()`. +// +// Timestamp timestamp; +// timestamp.set_seconds(time(NULL)); +// timestamp.set_nanos(0); +// +// Example 2: Compute Timestamp from POSIX `gettimeofday()`. +// +// struct timeval tv; +// gettimeofday(&tv, NULL); +// +// Timestamp timestamp; +// timestamp.set_seconds(tv.tv_sec); +// timestamp.set_nanos(tv.tv_usec * 1000); +// +// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. +// +// FILETIME ft; +// GetSystemTimeAsFileTime(&ft); +// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; +// +// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z +// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. +// Timestamp timestamp; +// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); +// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); +// +// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. +// +// long millis = System.currentTimeMillis(); +// +// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) +// .setNanos((int) ((millis % 1000) * 1000000)).build(); +// +// Example 5: Compute Timestamp from Java `Instant.now()`. +// +// Instant now = Instant.now(); +// +// Timestamp timestamp = +// Timestamp.newBuilder().setSeconds(now.getEpochSecond()) +// .setNanos(now.getNano()).build(); +// +// Example 6: Compute Timestamp from current time in Python. +// +// timestamp = Timestamp() +// timestamp.GetCurrentTime() +// +// # JSON Mapping +// +// In JSON format, the Timestamp type is encoded as a string in the +// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the +// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" +// where {year} is always expressed using four digits while {month}, {day}, +// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional +// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), +// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone +// is required. A proto3 JSON serializer should always use UTC (as indicated by +// "Z") when printing the Timestamp type and a proto3 JSON parser should be +// able to accept both UTC and other timezones (as indicated by an offset). +// +// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past +// 01:30 UTC on January 15, 2017. +// +// In JavaScript, one can convert a Date object to this format using the +// standard +// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) +// method. In Python, a standard `datetime.datetime` object can be converted +// to this format using +// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with +// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use +// the Joda Time's [`ISODateTimeFormat.dateTime()`]( +// http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D +// ) to obtain a formatter capable of generating timestamps in this format. +// +message Timestamp { + // Represents seconds of UTC time since Unix epoch + // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to + // 9999-12-31T23:59:59Z inclusive. + int64 seconds = 1; + + // Non-negative fractions of a second at nanosecond resolution. Negative + // second values with fractions must still have non-negative nanos values + // that count forward in time. Must be from 0 to 999,999,999 + // inclusive. + int32 nanos = 2; +} diff --git a/Stream/uav_proto_msg/protomsg/proto/timestamp_pb2.py b/Stream/uav_proto_msg/protomsg/proto/timestamp_pb2.py new file mode 100644 index 0000000..f0f887b --- /dev/null +++ b/Stream/uav_proto_msg/protomsg/proto/timestamp_pb2.py @@ -0,0 +1,76 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: timestamp.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='timestamp.proto', + package='google.protobuf', + syntax='proto3', + serialized_options=None, + serialized_pb=_b('\n\x0ftimestamp.proto\x12\x0fgoogle.protobuf\"+\n\tTimestamp\x12\x0f\n\x07seconds\x18\x01 \x01(\x03\x12\r\n\x05nanos\x18\x02 \x01(\x05\x62\x06proto3') +) + + + + +_TIMESTAMP = _descriptor.Descriptor( + name='Timestamp', + full_name='google.protobuf.Timestamp', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='seconds', full_name='google.protobuf.Timestamp.seconds', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='nanos', full_name='google.protobuf.Timestamp.nanos', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=36, + serialized_end=79, +) + +DESCRIPTOR.message_types_by_name['Timestamp'] = _TIMESTAMP +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +Timestamp = _reflection.GeneratedProtocolMessageType('Timestamp', (_message.Message,), dict( + DESCRIPTOR = _TIMESTAMP, + __module__ = 'timestamp_pb2' + # @@protoc_insertion_point(class_scope:google.protobuf.Timestamp) + )) +_sym_db.RegisterMessage(Timestamp) + + +# @@protoc_insertion_point(module_scope)