Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send *ri* :state :potentio-vector が時々遅い #119

Open
k-okada opened this issue Mar 16, 2015 · 1 comment
Open

send *ri* :state :potentio-vector が時々遅い #119

k-okada opened this issue Mar 16, 2015 · 1 comment

Comments

@k-okada
Copy link
Member

k-okada commented Mar 16, 2015

send ri :state :potentio-vector が時々遅い気がします。

いろいろ状況証拠を集めてみると、久しぶりに

send *ri* :spin-once

すると数秒かかり、あとは定期的にsend *ri* :spin-onceするとすぐに帰ってきます。

つまり、

(ros:spin)

で終わらずに、

(setq r (ros::rate 10))
(do-until-key (ros::ok)
  (send *ri* :spin-once) ;; (ros::spin-once "baxter_interface")                 
  (ros::spin-once)
  (ros::sleep))

とするとそこそこ改善されますが、根本的な原因がどこかにありそうです。

@garaemon
Copy link
Member

これですが、hrp2だと早くてpr2だと遅い気がしています。
/joint_statesで複数のpublisherに対応する、みたいなのでこの問題が発生している気がしています

aginika pushed a commit to aginika/jsk_pr2eus that referenced this issue May 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants