* [Xenomai] Question about Xenomai, Posix and Java
@ 2012-12-13 16:05 Héctor Vargas
2012-12-15 11:59 ` Gilles Chanteperdrix
[not found] ` <50CC6607.6080506__19747.5351779305$1355572777$gmane$org@xenomai.org>
0 siblings, 2 replies; 3+ messages in thread
From: Héctor Vargas @ 2012-12-13 16:05 UTC (permalink / raw)
To: xenomai
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?.
Thanks for your answer,
Héctor.-
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai] Question about Xenomai, Posix and Java
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>
1 sibling, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2012-12-15 11:59 UTC (permalink / raw)
To: Héctor Vargas; +Cc: xenomai
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 ?
--
Gilles.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai] Question about Xenomai, Posix and Java
[not found] ` <50CC6607.6080506__19747.5351779305$1355572777$gmane$org@xenomai.org>
@ 2012-12-15 22:15 ` Wolfgang Mauerer
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Mauerer @ 2012-12-15 22:15 UTC (permalink / raw)
To: hector.vargas; +Cc: xenomai
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-12-15 22:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.