Wednesday 3 August 2016

Tests on RTT

There has been a lot of delay between this post and the last one.It is mostly because I don't have enough results to showcase. The patches for the updated scripts can be found in my github repository

https://github.com/Sambeet161616/Rock-Port_ana

By my last post I hoped to complete tests on RTT. For the purpose of this I created a hello world component.However the major problem with RTT is, RTT  is too complex to be used by itself,so it uses various code generators like Orogen,which should be ported at a later stage.The Rock porting should take place as per the dependency order rtt,typelib,then orogen followed by base packages (base/orogen,base/cmake,base/types).

I am in the very preliminary stage of Rock porting i.e RTT. Testing is what caused a lot of problems for me.The patches in RTT to enable static building caused linking errors which could not be resolved till now.

Presently I am focused on creating RSB recipes for all the builds which I created.

To start working on this port:
1) Run the following bash scripts boost_cross_compiler.sh, eigen_cross_compiler.sh, env.sh, libxml.sh, OmniORB_cross_compiler.sh, prepare_rtems_mod.sh,xerces_c_cross_compiler.sh (don't run prepare_rock.sh,it is not yet ready).

2) Now you will be ready to port RTT to RTEMS. Clone the following
https://github.com/orocos-toolchain/rtt and apply the patches from

https://github.com/Sambeet161616/Rock-Port_ana/tree/master/files/rock/UpdatedPatches

Patch RTT and write a HelloWorld component to test RTT such as the given

https://github.com/Sambeet161616/Rock-Port_ana/tree/master/Tests

If it works RTT is successfully ported.However this is where I am facing Linking failures.

I am still in the process of debugging.Still it is the general method upto now.I will make updates as required.

No comments:

Post a Comment