-
Notifications
You must be signed in to change notification settings - Fork 254
Testing Strategy
2024-04-24: The content on this has been preserved while we work to revise the content
For up-to-date information about the meta-ros layer please visit the main page: https://github.com/ros/meta-ros
For simplified instructions on how to get started please refer to these build instructions: https://github.com/ros/meta-ros/blob/build/kas/README.md
To chat about meta-ros, come find us on the OSRF Discord #cwg-openembedded channel.
You are also welcome to join our biweekly meetings. Catch up on our meeting minutes here: ROS OpenEmbedded Working Group Minutes - Google Docs
For the release, we should check that the test-all.sh script runs
Do testing build for the target architectures:
- "qemuarm"
- "qemumips"
- "qemuppc"
- "qemux86"
- "qemux86-64"
DESCRIPTION = "A small image to test all examples"
IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}"
IMAGE_LINGUAS = " "
LICENSE = "MIT"
inherit core-image
IMAGE_ROOTFS_SIZE = "8192"
# remove not needed ipkg informations
ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files"
IMAGE_INSTALL += "roslaunch rostopic roscpp-tutorials rospy-tutorials \
nodelet-tutorial-math pluginlib-tutorials chatter-sender chatter-receiver"
TODO
roscore
roscpp_tutorials:
rospy_tutorials:
roslaunch rospy_tutorials talker_listener.launch
Expected Output: (repeating)
[INFO] [WallTime: ...] /listenerI heard hello world ...
[INFO] [WallTime: ...] hello world ...
nodelet_tutorials:
(in a screen): roslaunch nodelet_tutorial_math plus.launch
Expected Output:
process[standalone_nodelet-2]: started with pid [...]
[ INFO] [...]: Initializing nodelet with 1 worker thread.
process[Plus-3]: started with pid [...]
[ INFO] [...]: Loading nodelet /Plus of type nodelet_tutorial_math/Plus of type nodelet_tutorial_math/Plus to manager standalone_nodelet with the following remappings:
[ INFO] [...]: /Plus/out -> /remapped_output
process[Plus2-4]: started with pid [...]
[ INFO] [...]: Loading nodelet /Plus2 of type nodelet_tutorial_math/Plus of type nodelet_tutorial_math/Plus to manager standalone_nodelet with the following remappings:
process[Plus3-5]: started with pid [...]
type is nodelet_tutorial_math/Plus
(in another screen): rostopic list
Expected Output:
/Plus/in
/Plus2/in
/Plus2/out
/Plus3/out
/remapped_output
/rosout
/rosout_agg
/standalone_nodelet/bond
pluginlib_tutorials:
/usr/lib/pluginlib_tutorials/polygon_loader
Expected Output:
[ INFO] [...]: Triangle area: 43.30
[ INFO] [...]: Square area: 100.00
chatter:
roslaunch chatter_receiver sender_receiver.launch
Expected Output:
TODO complete chatter examples