ros2 / tutorials

Apache License 2.0
31 stars 11 forks source link

ROS 2 IDL tutorial #1

Open mikaelarguedas opened 7 years ago

mikaelarguedas commented 7 years ago

Context: ROS 2 interface definition has more features than the ROS 1 one. A tutorial showing all the possibilities of this new interface doesn’t exist yet.

Task:

Pointers: The message files used for testing here and here can be used as a starter and extended accordingly

dhood commented 7 years ago

additionally: highlight builtin_interfaces (see the "Unify duration and time types" of http://design.ros2.org/articles/changes.html )

casmer commented 5 years ago

This idl turtorial doesnt compile under dashing for me. it says its missing the member of group tag, but once i add it i get this: The manifest of package "rosidl_tutorials_msgs" (with format version 2) must not contain the following tags: member_of_group CMake Error at /mnt/rpiroot/opt/ros/dashing/share/ament_cmake_core/cmake/core/ament_package_xml.cmake:94 (message): execute_process(/usr/bin/python3 /mnt/rpiroot/opt/ros/dashing/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py /home/casmer/harvey_robot_ws/src/idltutorials/rosidl_tutorials/rosidl_tutorials_msgs/package.xml /home/casmer/harvey_robot_ws/build/rosidl_tutorials_msgs/ament_cmake_core/package.cmake) returned error code 1 Call Stack (most recent call first): /mnt/rpiroot/opt/ros/dashing/share/ament_cmake_core/cmake/core/ament_package_xml.cmake:49 (_ament_package_xml) /mnt/rpiroot/opt/ros/dashing/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:226 (ament_package_xml) CMakeLists.txt:24 (rosidl_generate_interfaces)

ZhenshengLee commented 3 months ago

close?