rosbridge_library.internal.ros_loader module

exception rosbridge_library.internal.ros_loader.InvalidClassException(modname: str, subname: str, classname: str, original_exception: Exception)

Bases: Exception

exception rosbridge_library.internal.ros_loader.InvalidModuleException(modname: str, subname: str, original_exception: Exception)

Bases: Exception

exception rosbridge_library.internal.ros_loader.InvalidTypeStringException(typestring: str)

Bases: Exception

rosbridge_library.internal.ros_loader.get_action_class(typestring: str) Any

Load the action type specified.

Throws exceptions on failure.

Returns:

the loaded class

rosbridge_library.internal.ros_loader.get_action_feedback_instance(typestring: str) Any
rosbridge_library.internal.ros_loader.get_action_goal_instance(typestring: str) Any
rosbridge_library.internal.ros_loader.get_action_result_instance(typestring: str) Any
rosbridge_library.internal.ros_loader.get_message_class(typestring: str) Any

Load the message type specified.

Throws exceptions on failure.

Returns:

The loaded class

rosbridge_library.internal.ros_loader.get_message_instance(typestring: str) Any

If not loaded, load the specified type and return an instance of it.

Throws exceptions on failure.

Returns:

The instance of the message class.

rosbridge_library.internal.ros_loader.get_service_class(typestring: str) Any

Load the service type specified.

Throws exceptions on failure.

Returns:

The loaded class

rosbridge_library.internal.ros_loader.get_service_request_instance(typestring: str) Any
rosbridge_library.internal.ros_loader.get_service_response_instance(typestring: str) Any