Skip to content

ros_misc: ROS 2 declarations

Direct rclpy publisher/subscriber arguments use type, name, callback/QoS ordering. Compatibility wrapper calls include the node as their first argument. Service arguments identify the service type and name. Namespace/remapping and computed names must be resolved from the active launch configuration.

nodes/arms.py

Source: head-ros-nodes/ros/ros_misc/nodes/arms.py

Kind Arguments in source order Line
Publisher SetAnimation, '/hr/animation/set_arm_animation', topic_qos(2) 78

nodes/arms_control.py

Source: head-ros-nodes/ros/ros_misc/nodes/arms_control.py

Kind Arguments in source order Line
Service client SetActuatorsControl, '/hr/actuators/set_control' 50
Service client MotorValuesBool, '/hr/actuators/set_torque_enable' 51
Publisher SetAnimation, '/hr/animation/set_arm_animation', topic_qos(2) 53

nodes/lang_detector.py

Source: head-ros-nodes/ros/ros_misc/nodes/lang_detector.py

Kind Arguments in source order Line
Service server StringTrigger, DETECT_SERVICE, runtime.detect_service 25

nodes/realsense_transform_publisher.py

Source: head-ros-nodes/ros/ros_misc/nodes/realsense_transform_publisher.py

Kind Arguments in source order Line
Publisher TargetPosture, '/hr/actuators/pose', topic_qos(1) 35
Subscription Imu, '/hr/sensors/vision/realsense/camera/imu', self.imu_callback, sensor_or_stream_qos(10) 42
ROS parameter 'motor_name', default 59

nodes/ws_streamer.py

Source: head-ros-nodes/ros/ros_misc/nodes/ws_streamer.py

Kind Arguments in source order Line
Subscription Pau, topic, pau_cb, latched_state_qos() 261