This video shows step by step how to build your own custom ROS service message, and how to use it in your own service.
For this example we will create a service that measures the amount of distance that the BB8 robot has moved. The service that we will provide is able to measure the amount of distance moved and provide that data either in meters or in miles, depending on how the request is done.
[ROS Courses used BB-8 Gazebo Simulator]
– ROS BASICS IN 5 DAYS (Python) For Beginners: https://www.theconstructsim.com/construct-learn-develop-robots-using-ros/robotigniteacademy_learnros/ros-courses-library/ros-basics-in-5-days/
– ROS BASICS IN 5 DAYS (C++) For Beginners: https://www.theconstructsim.com/construct-learn-develop-robots-using-ros/robotigniteacademy_learnros/ros-courses-library/ros-courses-ros-basics-in-5-days-c/