Re: orocos_toolchain, support for Xenomai 3

Peter Soetens <[email protected]> Wed, 4 Mar 2015 09:25:03 +0100
Newsgroups gmane.science.robotics.orocos.devel
Message-ID <CAMYDobW+BbKPRM2DK245mOttd6EQL29NcvASSH5R0nkpbHPRsw@mail.gmail.com>
Hi Huy Cong,

On Fri, Feb 27, 2015 at 3:24 PM, Huy Cong Vu <[email protected]> wrote:
> Hello everyone,
>
> I recently made a Xenomai 3 support patch for orocos toolchain, fuerte
> branch, that I attach in this message. For now it is compilable against
> xenomai-3 next branch (need a small patch for Xenomai 3 too, that I also
> attach in here). However, I dont know which test to run to know if the new
> toolchain still working properly, and my patch is mainly for Xenomai
> support, so the flags that I inserted in may corrupt build for other sys &
> arch. If someone have time to take a look at my patch and do some necessary
> modifications it will be very helpful for me. I run my 1st test with 1 of my
> .launch file using deployer-xenomai, and it can't read the args (which
> indicate some .ops file to run). So there definetely a problem somewhere.

Probably the error is just in your launch file. Please also note that
most ROS development
is going on on the indigo branches on github. Why did you use fuerte ?

If you supply ROS arguments to the deployer in the launch file, don't
forget to add '--'
as extra argument before the ROS arguments, or it may be confused by these
parameters.

You can just run the deployer-xenomai from the commandline as well to check
if it starts.

>
> Some infos about my platform: ROS desktop-full fuerte orocos fuerte, patch
> with rtt-xenomai-3.patch & ocl-xenomai-3.patch following xenomai-3-next most
> recent commit, patch with xenomai-3-extras.patch

It would be good if the version 3 changes in the code are guarded with a
#if ...#else... #endif version check statements.

>
> Thanks for spend your time to read this :)

Peter
-- 
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev