ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There is a lot of overhead for starting and stopping command line programs. They have to start up, join the communication network do their work and finish. You should probably write a simple rospy script which will call both services, or as @Murilo F. M. suggests consider restructuring your command datatype to allow more atomic operations.