Hello,
did anyone run Orocos RTT succesfully on RTAI 3.8.1.
On the FAQ
(http://people.mech.kuleuven.be/~orocos/pub/stable/documentation/rtt/v2.6...)
there is just RTAI 3.4 as a working version.
I would like to use Orocos for communication between a real time task
(generated from Simulink and using the OrocosRTT Simulink blocks) and
ROS (that has integrated Orocos Support as well).
Does anyone have any suggestions if this setup can/will work?
best wishes
Johannes Mayr
Orocos RTT on RTAI 3.8
Hi Johannes,
On Fri, Mar 15, 2013 at 9:09 AM, Johannes Mayr <joh [dot] mayr [..] ...> wrote:
> Hello,
> did anyone run Orocos RTT succesfully on RTAI 3.8.1.
> On the FAQ
> (http://people.mech.kuleuven.be/~orocos/pub/stable/documentation/rtt/v2.6...)
> there is just RTAI 3.4 as a working version.
> I would like to use Orocos for communication between a real time task
> (generated from Simulink and using the OrocosRTT Simulink blocks) and
> ROS (that has integrated Orocos Support as well).
> Does anyone have any suggestions if this setup can/will work?
The last known tested version I know of is 3.6. We'll gladly accept
any patches for 3.8.1 :-)
I'm running a test virtual machine for Xenomai we can do the same for
RTAI. If you can point us to setting up an RTAI kernel with Debian
packages for Ubuntu or Debian, we can at least confirm which parts are
working and which don't.
Peter
Orocos RTT on RTAI 3.8
Hi,
thanks for your reply!
I guess the fastest way to set up a running RTAI will be (at least to my
knowledge) to intall realtime-suite
(https://docs.google.com/viewer?a=v&pid=sites&srcid=ZGVmYXVsdGRvbWFpbnxyd...).
There is also a LiveCD called RTXI, maybe this can work as well for
testing (http://www.rtxi.org/install/live-cd/).
Would be nice to figure out if it is worth to start working with RTT for
my setup. Thank you very much in advance for your efforts!
Best Wishes
Johannes Mayr
Am 17.03.2013 15:39, schrieb Peter Soetens:
> Hi Johannes,
>
> On Fri, Mar 15, 2013 at 9:09 AM, Johannes Mayr <joh [dot] mayr [..] ...> wrote:
>> Hello,
>> did anyone run Orocos RTT succesfully on RTAI 3.8.1.
>> On the FAQ
>> (http://people.mech.kuleuven.be/~orocos/pub/stable/documentation/rtt/v2.6...)
>> there is just RTAI 3.4 as a working version.
>> I would like to use Orocos for communication between a real time task
>> (generated from Simulink and using the OrocosRTT Simulink blocks) and
>> ROS (that has integrated Orocos Support as well).
>> Does anyone have any suggestions if this setup can/will work?
> The last known tested version I know of is 3.6. We'll gladly accept
> any patches for 3.8.1 :-)
>
> I'm running a test virtual machine for Xenomai we can do the same for
> RTAI. If you can point us to setting up an RTAI kernel with Debian
> packages for Ubuntu or Debian, we can at least confirm which parts are
> working and which don't.
>
> Peter
Orocos RTT on RTAI 3.8
I run Orocos RTT succesfully on RTAI 3.9 but it it has been necessary to insert, in "Thread.cpp", the line rtos_sem_init (&sem, 1); before the line rtos_sem_wait( &sem ); to avoid the system hangs after the creation of first activity. The file is in orocos-toolchain/rtt/rtt/os/ and you must remake rtt. I don't know if it is a stable solution.
orocos RTT RTAI 3.9.1
Hi all, I am still fighting against Orocos-RTT and RTAI 3.9.1. The line rtos_sem_init (&sem, 1) mentioned above does not seeem to solve the problem (thus, I removed it). I patched Logger.hpp/cpp with the patch at http://bugs.orocos.org/attachment.cgi?id=712 as described at
In addition, I set-DOS_RT_MALLOC_MMAP=-DOS_RT_MALLOC_SBRK=OFF, -DENABLE_TESTS=ON, and than I run make check in rtt/build directory. I get the messages at the end of the message. The check blocks on task-test. The output of the gdb command for task-test is also below.Did any of you encounter and solve the same problem? Also a solution for RTT+Rtai 3.8 would be fine.
Please, help me.
Diego G.
OUTPUT OF MAKE CHECK
test 1
1: Test command: /home/laboratorio/rock/tools/rtt/build/tests/main-test 1: Test timeout computed to be: 2500 test 2 2: Test command: /home/laboratorio/rock/tools/rtt/build/tests/list-test 2: Test timeout computed to be: 2500 2: Running 2 test cases... 2: 2: *** No errors detected test 3 3: Test command: /home/laboratorio/rock/tools/rtt/build/tests/core-test 3: Test timeout computed to be: 2500 3: Running 11 test cases... 3: 3: *** No errors detected test 4 4: Test command: /home/laboratorio/rock/tools/rtt/build/tests/task-test4: Test timeout computed to be: 2500
4: task-test: /usr/include/boost/thread/pthread/mutex.hpp:136: bool boost::timed_mutex::try_lock(): Assertion `!res || res==16' failed.
4: Running 19 test cases...
4: unknown location(0): fatal error in "testSequential": signal: SIGABRT (application abort requeste
4: /home/laboratorio/rock/tools/rtt/tests/taskthread_test.cpp(383): last checkpoint
4: /home/laboratorio/rock/tools/rtt/tests/taskthread_test.cpp(506): error in "testThreadConfig": check tt->getScheduler() == 0 failed
4: /home/laboratorio/rock/tools/rtt/tests/taskthread_test.cpp(519): error in "testThreadConfig": check tt->stop() failed
4: /home/laboratorio/rock/tools/rtt/tests/taskthread_test.cpp(524): error in "testThreadConfig": check tt->start() failed
4: /home/laboratorio/rock/tools/rtt/tests/taskthread_test.cpp(525): error in "testThreadConfig": check tt->stop() failed
4: /home/laboratorio/rock/tools/rtt/tests/taskthread_test.cpp(526): error in "testThreadConfig": check tt->start() failed
GDB OF TASK-TEST