How to build meta-ros for jetson-TX1 ?

244 views
Skip to first unread message

Pierre-Alexis robin

unread,
Oct 11, 2016, 4:13:28 AM10/11/16
to Mailing List of ROS Layer for OpenEmbedded Linux

Hi, I'm beginner. I already built an image for jetson-tx1 with yocto projet with core-image-sato and with meta-tegra layer.

Now I want to add ROS in jetson-tx1. So I've follow http://wiki.ros.org/hydro/Installatio... but there are several errors.


What I've to add in DISTRO?="" in conf/local.conf because by default I have DISTRO?="poky" ?


If I put DISTRO? in comment, I have this errors :

ERROR: Nothing PROVIDES 'catkin-runtime-native' (but virtual:native:/home/Guz/poky/meta-ros/recipes-ros/catkin/catkin_0.5.90.bb DEPENDS on or otherwise requires it).

Close matches: catkin-runtime catkin-native gtk-icon-utils-native NOTE: Runtime target 'roslaunch' is unbuildable, removing...

Missing or unbuildable dependency chain was: ['roslaunch', 'catkin-native', 'catkin-runtime-native']

ERROR: Required build target 'core-image-ros-roscore' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-ros-roscore', 'roslaunch', 'catkin-native', 'catkin-runtime-native']


Summary: There were 2 ERROR messages shown, returning a non-zero exit code.


Thank you.

Lukas Bulwahn

unread,
Oct 13, 2016, 2:50:33 AM10/13/16
to Mailing List of ROS Layer for OpenEmbedded Linux
Dear Pierre-Alexis,

the documentation on the ROS wiki [1] describes the common steps for various build configurations (the poky distro and the `nameless` OpenEmbedded-Core setup) and various release versions of ROS (hydro, indigo and kinetic). 

At the release of meta-ros version 0.2 (for hydro), I tested it with the mainly-used build configurations at that time (OpenEmbedded-Core master branch and Poky dizzy). The current head of the meta-ros git repository provides indigo for the current master of OpenEmbedded-Core, and the Poky distro versions jethro and krogoth.

Can you tell us which Build Configuration you currently use?
(The build configuration is shown at the beginning of every bitbake run.)

Which ROS distro version would you like to use?
If you do not have hard constraints on the distro version, I suggest to go for the indigo release and use the HEAD from the current git repository.
That version for meta-ros should work with the current master of OpenEmbedded-Core, and the poky distros jethro and krogoth.

If you come across any further issues, please report them here.

Best regards,

Lukas

Pierre-Alexis robin

unread,
Oct 13, 2016, 3:32:17 AM10/13/16
to Mailing List of ROS Layer for OpenEmbedded Linux
I don't have hard constraints on the distro version.

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-16.04"
TARGET_SYS        = "aarch64-poky-linux"
MACHINE           = "jetson-tx1"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1.1"
TUNE_FEATURES     = "aarch64"
TARGET_FPU        = ""
meta             
meta-poky        
meta-yocto-bsp    = "krogoth:204b2bae4a5958735fdd19c63a69f4ed3780bba7"
meta-oe          
meta-python      
meta-multimedia   = "master:f604ee6826654ae2f12a375f8a6a96c9433a20cb"
meta-tegra        = "krogoth-l4t-r24.2:c5494deee41d2ec1165e2490339117b7f771a731"
meta-ros          = "master:35cb79a0a1cd4ec6e92a197ec1d4f5d26ea8ae29"


Pierre-Alexis robin

unread,
Oct 13, 2016, 4:39:43 AM10/13/16
to Mailing List of ROS Layer for OpenEmbedded Linux
Sorry, the errors in my first comment was for version 0.2.

Now with the master branch, I've this error :

ERROR: Task 1692 (/home/Guz/poky/meta-openembedded/meta-python/recipes-devtools/python/python-dbus_1.2.4.bb, do_compile) failed with exit code '1'

Lukas Bulwahn

unread,
Oct 13, 2016, 5:01:11 AM10/13/16
to Mailing List of ROS Layer for OpenEmbedded Linux

Dear Pierre-Alexis,


ERROR: Task 1692 (/home/Guz/poky/meta-openembedded/meta-python/recipes-devtools/python/python-dbus_1.2.4.bb, do_compile) failed with exit code '1'

A failure in python-dbus in not related to any setup in meta-ros. It is probable due to the fact that you use Poky krogoth with the master branch of meta-openembedded whereas you would be better using the krogoth branch of meta-openembedded. Probably then the failure disappears.

Best regards,

Lukas

Pierre-Alexis robin

unread,
Oct 13, 2016, 8:12:17 AM10/13/16
to Mailing List of ROS Layer for OpenEmbedded Linux
Yes, it works thank you !
Reply all
Reply to author
Forward
0 new messages