Commit Graph

1834 Commits

Author SHA1 Message Date
Herb Kuta 34296db5ec DRAFT core-image-ros-world: Add ROS inherit-s 2019-07-03 14:25:00 -07:00
Herb Kuta c639b957ac -- TEMP UNTAG 2019-07-03 14:25:00 -07:00
Herb Kuta 1cf62ea1ac -- TEMP TAG core-image-ros-roscore builds successfully and works 2019-07-03 14:25:00 -07:00
Herb Kuta 4be7b9c0a9 DRAFT core-image-ros-roscore.bb: Append appropriate package to IMAGE_INSTALL for ROS 2 2019-07-03 14:25:00 -07:00
Herb Kuta 9d02d464df DRAFT {crystal} libyaml-vendor: PROVIDE/RPROVIDE libyaml 2019-07-03 14:24:59 -07:00
Herb Kuta 200e618a4c DRAFT libyaml-vendor: FILES, SYSROOT 2019-07-03 14:24:59 -07:00
JeongBong Seo 40d65c087b WIP ros2cli-0.6.3.inc: Append to RDEPENDS (add more testing for MS2)
On the target, it fails to execute ros2 commands because of missing
python3 packages.

After installing these packages, I tested some ros2 commands:
$ ros2 topic list/echo/pub/hz/info
$ ros2 service list
$ ros2 node list/info
$ ros2 launch *** (topic/service tested after installing demo-nodes-cpp)
$ ros2 pkg list (after export AMENT_PREFIX_PATH="/usr")
2019-07-03 14:24:59 -07:00
Andre Rosa bdac36b8cf DRAFT ros2cli-0.6.3.inc: Add required runtime dependencies
* ros2 command line utility works well on emulator:

root@qemux86:~# ros2 topic list
/parameter_events
/rosout

root@qemux86:~# ros2 topic pub /chatter std_msgs/String "data: Hello world"
publisher: beginning loop
publishing #1: std_msgs.msg.String(data='Hello world')

publishing #2: std_msgs.msg.String(data='Hello world')
^C

root@qemux86:~# ros2 topic echo /chatter
data: Hello world

data: Hello world
^C

* Version-specific because it might be fixed in a new version.
2019-07-03 14:24:59 -07:00
Andre Rosa afed2fbcc2 DRAFT launch-0.7.4.inc: Append to ROS_EXEC_DEPENDS
Version-specific because it might be fixed in a new version.
2019-07-03 14:24:59 -07:00
Herb Kuta ce4a4d4a72 DRAFT poco-vendor.inc: Correct LICENSE
superflore maps "Boost Software License 1.0" to "Boost-1.0", which is
what Gentoo expects, but OE expects the SPDX standard name: "BSL-1.0".
2019-07-03 14:24:59 -07:00
Herb Kuta 5b16f1ca67 DRAFT poco-vendor.inc: ALLOW_EMPTY 2019-07-03 14:24:59 -07:00
Herb Kuta 9f72a0c77f DRAFT {crystal} rclcpp-0.4.3.inc: Append to ROS_BUILDTOOL_DEPENDS 2019-07-03 14:24:58 -07:00
Herb Kuta 13a4cc1fe2 TEMP console-bridge: Provide v0.4.2 for crystal, bionic v0.4.0 for melodic, bouncy
crystal console-bridge-vendor builds v0.4.1 if version is earlier, but
its console-bridge.pc has Version: 0.4.0 => fixed in v0.4.2 .

Eventually fix console-bridge-vendor.pc not to have a bad path and
revert this commit.
2019-07-03 14:24:58 -07:00
Herb Kuta 1971d963ae DRAFT console-bridge_0.4.0.bb: Now creates versioned .so-s => drop inherit faulty-solibs 2019-07-03 14:24:58 -07:00
Herb Kuta ab612835e8 DRAFT {crystal} console-bridge_0.4.0.bb: cmake subdir under libdir not datadir 2019-07-03 14:24:58 -07:00
Herb Kuta 045e6ad770 DRAFT {crystal} std-srvs-0.6.1.inc: Append target rosidl-typesupport-* to ROS_BUILD_DEPENDS
Without the target rosidl-typesupport-{c,cpp}, ament finds the native
packages and then fails to link (error: incompatible target) => append them
to ROS_BUILD_DEPENDS.

Version-specific because might be fixed in new version.
2019-07-03 14:24:58 -07:00
Herb Kuta b9c47d6b4b DRAFT {crystal} builtin-interfaces-0.6.3.inc: Add rosidl-default-runtime to ROS_EXPORT_DEPENDS
usr/share/builtin_interfaces/cmake/ament_cmake_export_dependencies-extras.cmake contains:

    set(_exported_dependencies "rosidl_default_runtime")
2019-07-03 14:24:58 -07:00
Herb Kuta 7463dc0488 DRAFT {crystal} unique-identifier-msgs-2.0.0_common.inc: Append target rosidl-typesupport-* to ROS_BUILD_DEPENDS
Without the target rosidl-typesupport-{c,cpp}, ament finds the native
packages and then fails to link (error: incompatible target) => append them
to ROS_BUILD_DEPENDS.

Version-specific because might be fixed in new version.
2019-07-03 14:24:58 -07:00
Herb Kuta 02afa834ee DRAFT {crystal} rosidl-typesupport-fastrtps-c-0.6.1.inc: Append target rosidl-typesupport-fastrtps-cpp to ROS_BUILD_DEPENDS
Without the target rosidl-typesupprt-fastrtps-cpp, ament finds the native
packages and then fails to link (error: incompatible target) => append them
to ROS_BUILD_DEPENDS.

Version-specific because might be fixed in new version.
2019-07-03 14:24:58 -07:00
Herb Kuta 2d9a74684b DRAFT {crystal} rcl-interfaces-0.6.3_common.inc: Append target rosidl-typesupport-* to ROS_BUILD_DEPENDS
Without the target rosidl-typesupport-{c,cpp}, ament finds the native
packages and then fails to link (error: incompatible target) => append them
to ROS_BUILD_DEPENDS.

Version-specific because might be fixed in new version.
2019-07-03 14:24:57 -07:00
Herb Kuta 3148d23176 DRAFT {crystal} rmw-fastrtps-shared-cpp-0.6.2.inc: Append to ROS_BUILD_DEPENDS
Version-dependent because it might be fixed in a newer version.
2019-07-03 14:24:57 -07:00
Herb Kuta 4fe52d1fe5 DRAFT {crystal} rosidl-typesupport-fastrtps-cpp-0.6.1.inc: Append to ROS_BUILD_DEPENDS
Version-dependent because it might be fixed in a newer version.
2019-07-03 14:24:57 -07:00
Herb Kuta 9317b44487 DRAFT {crystal} rosidl-typesupport-fastrtps-c-0.6.1.inc: Append to ROS_BUILD_DEPENDS
Version-dependent because it might be fixed in a newer version.
2019-07-03 14:24:57 -07:00
Herb Kuta f2b9c41047 DRAFT {crystal} unique-identifier-msgs-2.0.0.inc: Append to ROS_BUILD_DEPENDS
Version-dependent because it might be fixed in a newer version.
2019-07-03 14:24:57 -07:00
Herb Kuta 13513b37fe DRAFT {crystal} lifecycle-msgs-0.6.3.inc: Append to ROS_BUILD_DEPENDS
Version-dependent because it might be fixed in a newer version.
2019-07-03 14:24:57 -07:00
Herb Kuta a014244d1b DRAFT {crystal} builtin-interfaces-0.6.3.inc: Append to ROS_BUILD_DEPENDS
Version-dependent because it might be fixed in a newer version.
2019-07-03 14:24:57 -07:00
Herb Kuta a5b59a2eaa DRAFT {crystal} ament-cmake-0.6.1.inc: Append to ROS_BUILDTOOL_DEPENDS
Version-dependent because it might be fixed in a newer version.
2019-07-03 14:24:56 -07:00
Herb Kuta ff60221c98 DRAFT {crystal} std-srvs-0.6.1.inc: Append to ROS_BUILD_DEPENDS
Version-dependent because it might be fixed in a newer version.
2019-07-03 14:24:56 -07:00
Herb Kuta e3abceacf2 DRAFT {crystal} rosidl-adapter-0.6.3.inc: Fix dependencies
Version-specific because it might be fixed in a new version.
2019-07-03 14:24:56 -07:00
Herb Kuta 78c06cd660 DRAFT {crystal} rosidl-0.6.3_common.inc: Force incorrectly classified ROS_EXEC_DEPENDS to be build dependencies
Version-dependent because it might be fixed in a newer version.
2019-07-03 14:24:56 -07:00
Herb Kuta 17acfea6d2 DRAFT {crystal} Blacklist and remove dependencies on OpenSplice packages 2019-07-03 14:24:56 -07:00
Herb Kuta 680550b67f DRAFT {crystal} Blacklist and remove dependencies on Connext packages 2019-07-03 14:24:56 -07:00
Herb Kuta 58e594ae2b DRAFT crystal/ros-distro.inc: Append to ROS_SUPERFLORE_GENERATED_BUILDTOOLS
Since superflore doesn't know when its generating a recipe that it will
be for a buildtool, it can't know that what's in ROS_EXEC_DEPEND are also
buildtools.
2019-07-03 14:24:56 -07:00
Herb Kuta 42dc2f1244 -- TEMP UNTAG 2019-07-03 14:24:56 -07:00
Herb Kuta ece8a6fcdb -- TEMP TAG BEGIN crystal-specific (additions to includes-ros[12]) 2019-07-03 14:24:55 -07:00
Herb Kuta a9008d6cdb DRAFT ament-cmake_common.inc: Correct ROS_BUILT_TYPE
ROS_DISTRO-cache.yaml has <build_type> as ament_cmake
2019-07-03 14:24:55 -07:00
Herb Kuta 4bd03abaf1 DRAFT python-catkin-pkg.inc: Add dependency on pyparsing 2019-07-03 14:24:55 -07:00
Herb Kuta 610114396f DRAFT asio_%.bbappend: BBCLASSEXTEND = "native" 2019-07-03 14:24:55 -07:00
Herb Kuta 37642bcadb DRAFT packagegroup-ros-world.bb: Get RDEPENDS from ROS_SUPERFLORE_GENERATED_WORLD_PACKAGES, etc. 2019-07-03 14:24:55 -07:00
Herb Kuta 772a318126 DRAFT ament.bbclass: Don't remove local_setup.*, environment from what's installed 2019-07-03 14:24:55 -07:00
JeongBong Seo f8463aaa78 DRAFT ament.bbclass: Use ros2_distro.bbclass settings for FILES, FILES-dev 2019-07-03 14:24:55 -07:00
Andre Rosa 192d384233 DRAFT ament.bbclass: Fix PYTHON_SOABI
* Make it conditional on the configured MACHINE. Otherwise needs to be
    reworked to avoid getting the SOABI from python3-native.

  * See:
    4b6bb78633
    https://github.com/ros2/rosidl_python/blob/master/python_cmake_module/cmake/Modules/FindPythonExtra.cmake
    https://discourse.ros.org/t/import-error-no-module-named-rclpy-rclpy-cross-compiling/2463/

  * With the patch ros2 cli works well for all listed MACHINE(s):

    root@qemuarm64:~# ros2 topic list
    /parameter_events
    /rosout

     root@qemuarm64:~# ros2 topic pub /chatter std_msgs/String "data: Hello world"
     publisher: beginning loop
     publishing #1: std_msgs.msg.String(data='Hello world')

     publishing #2: std_msgs.msg.String(data='Hello world')

     ...

     root@qemuarm64:~# ros2 topic echo /chatter
     data: Hello world

     data: Hello world

     ...
2019-07-03 14:24:54 -07:00
Herb Kuta ed9f19161e DRAFT ament.bbclass: Dependencies are correctly generated 2019-07-03 14:24:54 -07:00
Herb Kuta 8b1d06cf7e DRAFT pythonpath-insane.bbclass: Drop: no longer need to use target path for native Python 2019-07-03 14:24:54 -07:00
Herb Kuta 7c1287611b DRAFT *.bbclass: Drop extraneous wildcards in FILES_* assignements 2019-07-03 14:24:54 -07:00
Herb Kuta 5811e63b7b DRAFT ament-python.bbclass: Remove hardcoded /usr/share from FILES_${PN} 2019-07-03 14:24:54 -07:00
Herb Kuta 725360fc75 DRAFT ament.bbclass: Add comment about AMENT_PREFIX_PATH 2019-07-03 14:24:54 -07:00
Herb Kuta 6518b78bc7 DRAFT *.bbclass: Drop assignments of S (generated recipes set it correctly) 2019-07-03 14:24:54 -07:00
Herb Kuta 8da23051a3 DRAFT Add ros_ament_python.bbclass 2019-07-03 14:24:54 -07:00
Herb Kuta 8b63da7621 DRAFT Add ros_cmake.bbclass 2019-07-03 14:24:53 -07:00