Commit Graph

10 Commits

Author SHA1 Message Date
Herb Kuta 059591a520 DRAFT Move recipes-ros1/urdfdom{,-headers} recipes-ros2 (these are ROS 2 components) 2019-07-03 14:24:47 -07:00
Herb Kuta d976bd36ec DRAFT Move recipes-ros2/packagegroups/* -> recipes-core/packagegroups/ 2019-07-03 14:24:37 -07:00
Martin Jansa ea2f01acd4 ament-cmake-core: Fix the dependency on ${PYTHON_PN}-pyparsing
* it actually needs ${PYTHON_PN}-pyparsing-native as shown in
  do_configure failure:

| DEBUG: Executing shell function do_configure
| -- Found PythonInterp: ament-cmake-core/git-r0/recipe-sysroot-native/usr/bin/python3-native/python3 (found suitable version "3.5.2", minimum required is "3")
| -- Using PYTHON_EXECUTABLE: ament-cmake-core/git-r0/recipe-sysroot-native/usr/bin/python3-native/python3
| Error parsing 'ament-cmake-core/git-r0/git/ament_cmake_core/package.xml':
| Traceback (most recent call last):
|   File "ament-cmake-core/git-r0/git/ament_cmake_core/cmake/core/package_xml_2_cmake.py", line 145, in <module>
|     main()
|   File "ament-cmake-core/git-r0/git/ament_cmake_core/cmake/core/package_xml_2_cmake.py", line 56, in main
|     raise e
|   File "ament-cmake-core/git-r0/git/ament_cmake_core/cmake/core/package_xml_2_cmake.py", line 53, in main
|     package = parse_package_string(args.package_xml.read())
|   File "ament-cmake-core/git-r0/recipe-sysroot-native/usr/lib/python3.5/site-packages/ament_package/__init__.py", line 173, in parse_package_string
|     pkg.build_depends = _get_dependencies(root, 'build_depend')
|   File "ament-cmake-core/git-r0/recipe-sysroot-native/usr/lib/python3.5/site-packages/ament_package/__init__.py", line 364, in _get_dependencies
|     from .dependency import Dependency
|   File "ament-cmake-core/git-r0/recipe-sysroot-native/usr/lib/python3.5/site-packages/ament_package/dependency.py", line 15, in <module>
|     from ament_package.condition import evaluate_condition
|   File "ament-cmake-core/git-r0/recipe-sysroot-native/usr/lib/python3.5/site-packages/ament_package/condition.py", line 17, in <module>
|     import pyparsing
| ImportError: No module named 'pyparsing'
| CMake Error at cmake/core/ament_package_xml.cmake:94 (message):

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-10-01 14:27:58 +00:00
Eunmin Lim dbf49d6805 ros2cli: add new recipes
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-10-01 14:27:58 +00:00
Andrey Kozhanov e7faf583d3 ros2-launch: add runtime dependency on ${PYTHON_PN}-asyncio
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-10-01 14:27:58 +00:00
Andrey Kozhanov 3f4b9ff102 ros2msg,ros2topic: move msg files to the main package + add ros2-topic
* web-bridge needs msg to generate js bindings on the fly

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-10-01 14:27:58 +00:00
Andrey Kozhanov df0187f255 ros2: Update to the latest stable release (release-ardent-20180307)
* Update ROS2 to the latest stable release
  https://github.com/ros2/ros2/blob/release-ardent-20180307/ros2.repos

* Note: some existing ROS1 packages were not updated
  as these could break something in ROS1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-10-01 14:27:58 +00:00
Andre Goddard Rosa ebacf5e5c6 ros2cli, rosidl-generator-c: Add runtime dependencies on few more python packages
Fixes rosidl:
  ImportError: No module named 'json'
  ImportError: No module named 'em'

Fixes ros2:
  ImportError: No module named 'xmlrpc'
  ImportError: No module named 'pydoc'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-10-01 14:27:58 +00:00
Martin Jansa 6c7ac74f52 fastrtps: fix tinyxml2 library search
* fixes rmw-fastrtps-cpp failure:
  http://errors.yoctoproject.org/Errors/Details/174717/

  DEBUG: Executing shell function do_compile
  NOTE: VERBOSE=1 cmake --build TOPDIR/tmp-glibc/work/aarch64-oe-linux/rmw-fastrtps-cpp/git-r0/build --target all -- -j 9
  ninja: error: 'TOPDIR/tmp-glibc/work/aarch64-oe-linux/fastrtps/git-r0/recipe-sysroot/usr/lib/libtinyxml2.so', needed by 'librmw_fastrtps_cpp.so', missing and no known rule to make it
  WARNING: TOPDIR/tmp-glibc/work/aarch64-oe-linux/rmw-fastrtps-cpp/git-r0/temp/run.do_compile.13110:1 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build 'TOPDIR/tmp-glibc/work/aarch64-oe-linux/rmw-fastrtps-cpp/git-r0/build' "$@" -- -j 9'
  ERROR: Function failed: do_compile (log file is located at TOPDIR/tmp-glibc/work/aarch64-oe-linux/rmw-fastrtps-cpp/git-r0/temp/log.do_compile.13110)

* it was caused by fastrtps's /usr/lib/fastrtps/cmake/fastrtpsTargets.cmake
  containing the full path to libtinyxml2.so inside fastrtps's WORKDIR
  which might be already removed by rm_work by the time when
  rmw-fastrtps-cpp is being built

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-10-01 14:27:58 +00:00
Dmitry Rozhkov 1de025778a ros2: add initial recipes
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-10-01 14:27:58 +00:00