Ask Your Question

sephalon's profile - activity

2019-05-22 02:49:58 -0500 received badge  Good Question (source)
2016-05-17 11:39:03 -0500 received badge  Famous Question (source)
2016-03-09 08:19:09 -0500 received badge  Nice Question (source)
2016-03-09 08:19:04 -0500 received badge  Notable Question (source)
2016-02-05 08:39:33 -0500 received badge  Student (source)
2016-02-05 08:39:20 -0500 received badge  Popular Question (source)
2016-01-24 02:35:15 -0500 received badge  Enthusiast
2016-01-20 05:10:37 -0500 asked a question Cross compiling catkin project using Yocto ADT with meta-ros

Hi there!

Does somebody have experience in using a Yocto Application Development Toolkit (built with the meta-ros layer) for cross compiling a catkin project for an embedded target? I basically would like to offload the compile process to my workstation and deploy the project by mounting the catkin install folder using SSHFS from my embedded system.

What I tried so far: I built my own ADT, installed it on my workstation and wrote a toolchain.cmake file pointing to the cross compiler. Then I ran catkin like that:

catkin build -DCMAKE_TOOLCHAIN_PATH=toolchain.cmake -DCMAKE_PREFIX_PATH=/path/to/my/arm/sysroot

The compiler is detected nicely, but lots of stuff required by catkin like EmPy and the nosetests binary are missing in the x86 sysroot. Has somebody done this already and could guide me through the necessary steps of setup? I'd be also glad for any other hints on how to cross compile a ROS project for an embedded target.

Kind regards,

Sephalon