From: Wolfgang Mauerer <wm@linux-kernel.net>
To: hector.vargas@ucv.cl
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Question about Xenomai, Posix and Java
Date: Sat, 15 Dec 2012 23:15:10 +0100 [thread overview]
Message-ID: <50CCF66E.1060107@linux-kernel.net> (raw)
In-Reply-To: <50CC6607.6080506__19747.5351779305$1355572777$gmane$org@xenomai.org>
On 15/12/2012 12:59, Gilles Chanteperdrix wrote:
> On 12/13/2012 05:05 PM, Héctor Vargas wrote:
>
>> Hi everyone,
>>
>> I want to create an application where a control task (real time control
>> of a DC motor) developed in Xenomai (posix skin) can be controlled from
>> a Java interface (GUI). The idea is to create a middle task between the
>> xenomai control task and the Java application working as a gateway by
>> using TCP sockets. Before starting to work on it I would like to know if
>> someone has already done something like this. It is possible to do it?.
>
>
> I do not see why it would not work (RTnet has everything needed AFAIK).
> But why not invoking the Xenomai code from the Java code as JNI ?
>
we have also made good experiences with an architecture that uses
a lock-free/wait-free communication scheme between non-RT and RT
components, see
http://www.linuxtag.org/2012/fileadmin/www.linuxtag.org/slides/Gernot%20Hillier%20+%20Wolfgang%20Mauerer%20+%20Jan%20Sawallisch%20-%20Android_%20real-time%20for%20the%20rest%20of%20us.p416.pdf
(the paper is about Java in the sense of Android and real-time in the
sense of preempt_rt, but the scheme is immediately transferable to
Java/Xenomai)
Cheers, Wolfgang
prev parent reply other threads:[~2012-12-15 22:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-13 16:05 [Xenomai] Question about Xenomai, Posix and Java Héctor Vargas
2012-12-15 11:59 ` Gilles Chanteperdrix
[not found] ` <50CC6607.6080506__19747.5351779305$1355572777$gmane$org@xenomai.org>
2012-12-15 22:15 ` Wolfgang Mauerer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50CCF66E.1060107@linux-kernel.net \
--to=wm@linux-kernel.net \
--cc=hector.vargas@ucv.cl \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.