pycram.ros.ros1#
Submodules#
Classes#
Functions#
|
Wrapper for rospy.Time to create a Time object. |
|
Wrapper for rospy.Duration to create a Duration object. |
|
Wrapper for rospy.Rate to create a Rate object. |
|
|
|
Creates a RosPack instance to search for resources of ros packages. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Package Contents#
- pycram.ros.ros1.is_master_online()#
- pycram.ros.ros1.Time(time: int = 0.0, nsecs: int = 0) rospy.Time#
Wrapper for rospy.Time to create a Time object.
- Parameters:
time – Time in seconds
nsecs – Time in nanoseconds
- Returns:
Rospy Time object representing the given time
- pycram.ros.ros1.Duration(duration: float = 0.0) rospy.Duration#
Wrapper for rospy.Duration to create a Duration object.
- Parameters:
duration – Duration in seconds
- Returns:
A rospy Duration object representing the given duration
- pycram.ros.ros1.Rate(rate: float) rospy.Rate#
Wrapper for rospy.Rate to create a Rate object.
- Parameters:
rate – Rate in Hz
- Returns:
A rospy Rate object representing the given rate
- pycram.ros.ros1.get_node_names(namespace=None)#
- pycram.ros.ros1.create_ros_pack(ros_paths: typing_extensions.Any = None) rospkg.RosPack#
Creates a RosPack instance to search for resources of ros packages.
- Parameters:
ros_paths – An ordered list of paths to search for resources.
- Returns:
An instance of RosPack
- pycram.ros.ros1.get_ros_package_path(package_name: str) str#
- pycram.ros.ros1.get_parameter(name: str) typing_extensions.Any#
- pycram.ros.ros1.wait_for_message(topic_name: str, msg_type: typing_extensions.Any)#
- pycram.ros.ros1.is_master_online()#
- pycram.ros.ros1.sleep(duration: float)#
- pycram.ros.ros1.get_time()#
- pycram.ros.ros1.create_timer(duration: rospy.Duration, callback, oneshot=False)#
- pycram.ros.ros1.create_action_client(topic_name: str, action_message) actionlib.SimpleActionClient#
- pycram.ros.ros1.get_service_proxy(topic_name: str, service_message) rospy.ServiceProxy#
- pycram.ros.ros1.wait_for_service(topic_name: str)#
- pycram.ros.ros1.create_publisher(topic, msg_type, queue_size=10, latch: bool = False) rospy.Publisher#
- pycram.ros.ros1.create_subscriber(topic, msg_type, callback, queue_size=10) rospy.Subscriber#
- class pycram.ros.ros1.VizMarkerPublisher#