Message from discussion
MAVLink Java Generator
Received: by 10.66.78.170 with SMTP id c10mr239961pax.22.1348683083166;
Wed, 26 Sep 2012 11:11:23 -0700 (PDT)
X-BeenThere: mavlink@googlegroups.com
Received: by 10.68.222.169 with SMTP id qn9ls6283720pbc.4.gmail; Wed, 26 Sep
2012 11:11:22 -0700 (PDT)
Received: by 10.66.84.5 with SMTP id u5mr305406pay.11.1348683081906;
Wed, 26 Sep 2012 11:11:21 -0700 (PDT)
Received: by 10.66.84.5 with SMTP id u5mr305404pay.11.1348683081895;
Wed, 26 Sep 2012 11:11:21 -0700 (PDT)
Return-Path: <susur...@gmail.com>
Received: from mail-pb0-f51.google.com (mail-pb0-f51.google.com [209.85.160.51])
by gmr-mx.google.com with ESMTPS id nt8si349922pbb.1.2012.09.26.11.11.21
(version=TLSv1/SSLv3 cipher=OTHER);
Wed, 26 Sep 2012 11:11:21 -0700 (PDT)
Received-SPF: pass (google.com: domain of susur...@gmail.com designates 209.85.160.51 as permitted sender) client-ip=209.85.160.51;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of susur...@gmail.com designates 209.85.160.51 as permitted sender) smtp.mail=susur...@gmail.com; dkim=pass header...@gmail.com
Received: by pbbrp16 with SMTP id rp16so2351719pbb.38
for <multiple recipients>; Wed, 26 Sep 2012 11:11:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=message-id:date:from:user-agent:mime-version:to:cc:subject
:references:in-reply-to:content-type;
bh=EAPIZo5wVUqq35jRu4xBFkMyU6f566floPq63RQYq+c=;
b=BJqREm84X+wjR2ElkVZuJyloItI2/wlVNEJ4husqgd0QRYqEE+ubaJWEzWJoj9oGzc
pHeV427uc4paKEWurg5Egj0PG5xW+d4/fFJTKZ0CRMBh51NEn60aHqnigxfHPUjKMLX5
1TcmClQYleUaCoTcp6p7PWvw3S2YBDimkO8Li6ag1xVqK5iYSU+WNI5stV5lYFl3IzqF
Hui+rPiDvmxDuSea/T8HfTkMtiSJqAou3cy+THVHcKCKxNkO7ZqIIRb9ejdXp4U93IOn
YpnhbmGgpatIY8+ODGzqwPXm1c1aeQvHHUM64FguWZUR6wGwVcVx9XmCg46uliN3wVtw
h/zw==
Received: by 10.66.86.133 with SMTP id p5mr3264141paz.35.1348683081775;
Wed, 26 Sep 2012 11:11:21 -0700 (PDT)
Return-Path: <susur...@gmail.com>
Received: from [128.114.59.163] (dhcp-59-163.cse.ucsc.edu. [128.114.59.163])
by mx.google.com with ESMTPS id w4sm2249690paz.38.2012.09.26.11.11.20
(version=SSLv3 cipher=OTHER);
Wed, 26 Sep 2012 11:11:20 -0700 (PDT)
Message-ID: <50634548.3020...@gmail.com>
Date: Wed, 26 Sep 2012 11:11:20 -0700
From: Bryant <susur...@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: qgroundcontrol@googlegroups.com
CC: Guillaume Helle <ghell...@gmail.com>,
"mavlink@googlegroups.com" <mavlink@googlegroups.com>
Subject: Re: [QGroundControl] MAVLink Java Generator
References: <89a1a7a3-02f0-460f-b5cf-019c48d27d60@googlegroups.com> <3F9AB540-C8C0-40A3-ADFB-132282856...@inf.ethz.ch> <1df8c1b8-43ab-4811-b53b-731673196f8c@googlegroups.com> <50625493.6090...@gmail.com> <ca54fe3e-03d5-4913-a1e5-46d57c11c54a@googlegroups.com>
In-Reply-To: <ca54fe3e-03d5-4913-a1e5-46d57c11c54a@googlegroups.com>
Content-Type: multipart/alternative;
boundary="------------050701000502070009010609"
This is a multi-part message in MIME format.
--------------050701000502070009010609
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
I just wanted to bring this discussion up before this code went too far
as to whether it makes sense to add a separate generator to the MAVLink
project that's written in Java. That means there will be two separate
generators for MAVLink. Any changes to the protocol then need to be done
twice. Also the Java implementation isn't finished. It seems like since
most of MAVLink generation is merely text copying, it should be fairly
easy to move your work into pymavgen instead of leaving it separately.
Of course, since you don't know Python, that will make things more
difficult as someone else will need to step up to the plate. I'm of the
opinion, given the number of developers for MAVLink, that adding a Java
port will be unmaintainable in the medium- to long-term.
On 9/26/2012 2:09 AM, Guillaume Helle wrote:
> Hello Bryant,
> yes, the best place for the Java generator is in MAVLink
> distribution... :-)
> But i don't know python so the generator is writen in Java...
> So it can be launched by gen_all.sh...
> But i must generate code for Little/Big endian, Embedded or not, debug
> or not and mavlink version... so the result is a lot of jar files...
> I must rewrite too my MAVLinkReader class to check sequence and to be
> not blocked on reading streams...
> Best Regards
> Guillaume
> --
>
>
>
--------------050701000502070009010609
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I just wanted to bring this discussion
up before this code went too far as to whether it makes sense to
add a separate generator to the MAVLink project that's written in
Java. That means there will be two separate generators for
MAVLink. Any changes to the protocol then need to be done twice.
Also the Java implementation isn't finished. It seems like since
most of MAVLink generation is merely text copying, it should be
fairly easy to move your work into pymavgen instead of leaving it
separately. Of course, since you don't know Python, that will make
things more difficult as someone else will need to step up to the
plate. I'm of the opinion, given the number of developers for
MAVLink, that adding a Java port will be unmaintainable in the
medium- to long-term.<br>
<br>
On 9/26/2012 2:09 AM, Guillaume Helle wrote:<br>
</div>
<blockquote
cite="mid:ca54fe3e-03d5-4913-a1e5-46d57c11c54a@googlegroups.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=ISO-8859-1">
<div>Hello Bryant,</div>
<div> </div>
<div>yes, the best place for the Java generator is in MAVLink
distribution... :-)</div>
<div>But i don't know python so the generator is writen in Java...</div>
<div>So it can be launched by gen_all.sh...</div>
<div>But i must generate code for Little/Big endian, Embedded or
not, debug or not and mavlink version... so the result is a lot
of jar files...</div>
<div> </div>
<div>I must rewrite too my MAVLinkReader class to check sequence
and to be not blocked on reading streams...</div>
<div> </div>
<div>Best Regards</div>
<div> </div>
<div>Guillaume</div>
-- <br>
<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>
--------------050701000502070009010609--