-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(meta-user): add AMD Kria ROS2 Perception example
- Loading branch information
1 parent
fce613f
commit be2a5f3
Showing
6 changed files
with
131 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
project/yocto/layers/meta-user/recipes-apps/kria-ros-perception/files/kria_ros_perception
Submodule kria_ros_perception
added at
71a2d4
77 changes: 77 additions & 0 deletions
77
project/yocto/layers/meta-user/recipes-apps/kria-ros-perception/perception-2nodes_git.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
inherit ros_distro_humble | ||
inherit ros_superflore_generated | ||
|
||
SUMMARY = "ROS2 Perception Nodes" | ||
DESCRIPTION = "${SUMMARY}" | ||
LICENSE = "MIT" | ||
LIC_FILES_CHKSUM = "file://../../LICENSE;md5=aaa7729bf8823a5d00dc80db2da0f9db" | ||
|
||
S = "${WORKDIR}/kria_ros_perception/src/perception_2nodes" | ||
|
||
SRC_URI = "\ | ||
file://kria_ros_perception/ \ | ||
" | ||
|
||
ROS_BUILD_TYPE = "ament_python" | ||
|
||
ROS_BUILDTOOL_DEPENDS = "" | ||
|
||
ROS_BUILD_DEPENDS = " \ | ||
image-proc \ | ||
python3-numpy \ | ||
python3-numpy-native \ | ||
" | ||
|
||
ROS_EXEC_DEPENDS = "\ | ||
rclpy \ | ||
std-msgs \ | ||
python3-numpy \ | ||
gazebo-ros-pkgs \ | ||
image-pipeline \ | ||
ros2trace \ | ||
tracetools \ | ||
tracetools-launch \ | ||
tracetools-trace \ | ||
lttng-modules \ | ||
lttng-tools \ | ||
lttng-ust \ | ||
" | ||
|
||
ROS_EXPORT_DEPENDS = "" | ||
|
||
# Currently informational only -- see http://www.ros.org/reps/rep-0149.html#dependency-tags. | ||
ROS_TEST_DEPENDS = " \ | ||
ament-copyright \ | ||
ament-flake8 \ | ||
ament-pep257 \ | ||
python3-pytest \ | ||
python3-numpy \ | ||
" | ||
|
||
ROS_BUILDTOOL_EXPORT_DEPENDS = "" | ||
|
||
DEPENDS = "${ROS_BUILD_DEPENDS} ${ROS_BUILDTOOL_DEPENDS}" | ||
DEPENDS += "${ROS_EXPORT_DEPENDS} ${ROS_BUILDTOOL_EXPORT_DEPENDS}" | ||
RDEPENDS:${PN} += "${ROS_EXEC_DEPENDS}" | ||
|
||
inherit ros_${ROS_BUILD_TYPE} | ||
|
||
FILES:${PN}:append = " \ | ||
/usr/share/perception_2nodes \ | ||
/usr/share/perception_2nodes/package.xml \ | ||
/usr/share/perception_2nodes/launch \ | ||
/usr/share/perception_2nodes/models \ | ||
/usr/share/perception_2nodes/worlds \ | ||
/usr/share/perception_2nodes/launch/simulation.launch.py \ | ||
/usr/share/perception_2nodes/launch/trace_rectify_resize.launch.py \ | ||
/usr/share/perception_2nodes/launch/trace_rectify_resize_fpga_streamlined.launch.py \ | ||
/usr/share/perception_2nodes/models/camera-plugin \ | ||
/usr/share/perception_2nodes/models/camera-plugin/model.config \ | ||
/usr/share/perception_2nodes/models/camera-plugin/model_distorted.sdf \ | ||
/usr/share/perception_2nodes/models/camera-plugin/model_undistorted.sdf \ | ||
/usr/share/perception_2nodes/worlds/camera.world \ | ||
/usr/share/perception_2nodes/worlds/camera_dynamic.world \ | ||
/usr/share/perception_2nodes/worlds/camera_dynamic_hd.world \ | ||
/usr/share/perception_2nodes/worlds/camera_dynamic_undistorted.world \ | ||
/usr/share/perception_2nodes/worlds/camera_simple.world \ | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters