pycram.ros.ros2.ros_tools#
Exceptions#
Common base class for all non-exit exceptions. |
|
Common base class for all non-exit exceptions. |
Functions#
|
Get the names of all nodes in the ROS system. |
|
|
|
|
|
|
|
|
|
Sleep for a given duration. |
|
|
|
Module Contents#
- pycram.ros.ros2.ros_tools.get_node_names(namespace=None)#
Get the names of all nodes in the ROS system.
- Parameters:
namespace – The namespace to search for nodes.
- Returns:
A list of node names.
- pycram.ros.ros2.ros_tools.create_ros_pack(ros_paths=None)#
- pycram.ros.ros2.ros_tools.get_ros_package_path(package_name)#
- pycram.ros.ros2.ros_tools.get_parameter(name)#
- pycram.ros.ros2.ros_tools.wait_for_message(topic_name, msg_type)#
- pycram.ros.ros2.ros_tools.is_master_online()#
- pycram.ros.ros2.ros_tools.sleep(duration)#
Sleep for a given duration.
- Parameters:
duration – The duration to sleep in seconds.
- pycram.ros.ros2.ros_tools.get_time()#
- pycram.ros.ros2.ros_tools.create_timer(duration, callback, oneshot=False)#
- exception pycram.ros.ros2.ros_tools.ResourceNotFound(*args, **kwargs)#
Bases:
ExceptionCommon base class for all non-exit exceptions.
- exception pycram.ros.ros2.ros_tools.ServiceException(*args, **kwargs)#
Bases:
ExceptionCommon base class for all non-exit exceptions.