pycram.ros.no_ros.service#

Functions#

get_service_proxy(→ None)

Get a service proxy for a given topic name and service message type.

wait_for_service(→ None)

Wait for a service to become available.

Module Contents#

pycram.ros.no_ros.service.get_service_proxy(topic_name: str, service_message) None#

Get a service proxy for a given topic name and service message type.

Parameters:
  • topic_name – The name of the service.

  • service_message – The type of the service message.

Returns:

A service proxy for the specified topic and message type.

pycram.ros.no_ros.service.wait_for_service(topic_name: str) None#

Wait for a service to become available.

Parameters:

topic_name – The name of the service.