jsk-ros-pkg / jsk_control

jsk control ros packages
http://github.com/jsk-ros-pkg/jsk_control
13 stars 51 forks source link

[jsk_control]add queue_size #735

Closed Naoki-Hiraoka closed 3 years ago

Naoki-Hiraoka commented 4 years ago

以下のようなwariningを出ないようにするために、引数queue_sizeを追加しました。 queue_sizeはHydroで追加された引数です。

/home/hrpuser/ros/kinetic/src/jsk-ros-pkg/jsk_control/jsk_footstep_controller/scripts/footstep_visualizer.py:274: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
  pub = rospy.Publisher("~output", Image)
/home/hrpuser/ros/kinetic/src/jsk-ros-pkg/jsk_control/jsk_footstep_controller/scripts/stabilizer_watcher.py:83: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
  g_odom_init_trigger_pub = rospy.Publisher("/odom_init_trigger", Empty)
/home/hrpuser/ros/kinetic/src/jsk-ros-pkg/jsk_control/jsk_footstep_controller/scripts/stabilizer_watcher.py:84: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
  g_robotsound_pub = rospy.Publisher("/robotsound", SoundRequest)