index.ros.org/doc/ros2/Concepts/About-ROS-Interfaces/
https://github.com/ros2/example_interfaces
https://github.com/ros2/common_interfaces
You can use other msg’s type for your service, too.
ros2 pkg create hexa_robot_interfaces
cd hexa_robot_interfaces
rm -rf include/
rm -rf src/
mkdir msg
In package.xml, add 3 lines (functionality to build and use your interfaces)