|
||
Hey everyone, I'm adding ros-meta to a Yocto/OpenEmbedded build of a Linux distribution for a custom Xilinx Zynq based camera board and it looks like I'm running into some runtime dependency issues when running roscore. I'm using the experimental kinetic distribution of ros-meta at:
My bblayers.conf file looks as follows:
Added the following line to by core-image.bb file:
Used the following command to create my own image.
Build completed without any errors. Created an SD card including the kernel On the booted Xilinx Zynq based system running the Linux environment I just built, I'm configuring ROS Kinetic with the
I have the following problems running roscore.
From what I can find on ROS Answers, it looks like defusedxml was as a fairly recent dependency added to ROS Kinetic. I assume this dependency probably didn't make it into the meta-ros dependencies. Any suggestions on how I go about adding it to the Yocto/OpenEmbedded build of the system? Thanks, Mike |
Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here.
|
||
Hey Mike, Nice to hear that the "custom Xilinx Zynq based board" is still going Defusedxml is a python package that was added to facilitate adding security to ROS, as it provides protection against a bunch of different XML attacks. This is part of the SROS effort to add some security and hardening to ROS. Anyway to get roscore to run, have you tried adding I have only done some looking around at OpenEmbeded stuff, and never got around to actually using it so I am not sure if this is the 'right' way to fix this, or if it would even work. Out of curiosity what is the size of the image that comes out the build process? I would think it would quite small relative to a Ubuntu image. Rohan |
|
||
Hey Rohan, I resolved this issue by adding the following recipe for defusedxml to:
The contents of the recipe is:
Then adding a dependency to roslaunch_1.12.2.bb for this python module. The following commit is a complete fix. Added python-defusedxml recipe to fix runtime dependency.
changed 3 files
with 63 additions
and 0 deletions.
The resulting image file for the entire Linux OS including roscore is about 47MB in size which is considerably smaller than an Ubuntu image. However, this is for the absolute minimum user tools and ROS install. Mike |
|
||
Hi Mike, I am interested in doing something similar using a Microzed, but honestly don't know where to even start, can you point me to some good resources, so I might be able to do the same? Thanks! |
|
||
Hi Qnetjoe, I would propose that you start as follows:
Here some further advice:
I hope this helps. Lukas |