orocos_toolchain, support for Xenomai 3

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.

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

Thanks for spend your time to read this :)

AttachmentSize
ocl-xenomai-3.patch6.78 KB
rtt-xenomai-3.patch11.87 KB
xenomai-3-extras.patch1 KB

orocos_toolchain, support for Xenomai 3

Hi Huy Cong,

On Fri, Feb 27, 2015 at 3:24 PM, Huy Cong Vu <huy-cong [dot] vu [..] ...> 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_toolchain, support for Xenomai 3

El Dimecres, 4 de març de 2015, a les 09:25:03, Peter Soetens va escriure:
[...]
> > 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.

If we made these changes, would you consider to merge it in 2.8?

Leo

orocos_toolchain, support for Xenomai 3