ros2 / examples

Example packages for ROS 2
Apache License 2.0
681 stars 308 forks source link

ROS2 SERVICE CALL MULTIPLE SERVOMOTORES #343

Closed ghost closed 2 years ago

ghost commented 2 years ago

Hello, I have a question about the ros2 service call. I could call the servomotors degrees from a code line i have 4 servomotors and i want all servomotors to be called from one line this is what I use now!

ros2 service call /SERVOMOTOR4 licenta/srv/SetServo '{"grade": -90}'

I want to make a service that sets all 4 motors instead of creating one service per motor