rosservice package for ros2
Hi. Sorry for all mistakes, English is not my native language. I'm in procces of migrating my project to ROS2 Foxy. In my ROS1 project I have following launch file:
<?xml version="1.0"?>
<launch>
<arg name="enable" default="true"/>
<node pkg="rosservice" type="rosservice" name="enable_limiter" args="call --wait /minicar/control/enable_limiter $(arg enable)" />
</launch>
How can I use rosservice in such way in ROS2? I found ros2service package in /opt/ros/foxy/lib/python3.8/site-packages/ros2service path, but, strangely, couldn't find executable for it so I'm not sure, how this launch file should look in ROS2. Appreciate any help.