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

April tagが見えていなくてBelkaがDockに失敗する #122

Open
tkmtnt7000 opened this issue Jan 11, 2022 · 4 comments
Open

April tagが見えていなくてBelkaがDockに失敗する #122

tkmtnt7000 opened this issue Jan 11, 2022 · 4 comments
Labels
bug Something isn't working spot

Comments

@tkmtnt7000
Copy link
Collaborator

P1給電用器具の一部がカメラの端に一部かかっている可能性がある

Dock失敗後にfiducialがきちんと見える位置に移動させた後にserviceを叩いたときに発生したエラー
STATUS_OLDERが怪しそう

[http://10.42.0.1:11311][10.42.0.1] spot@BelKa:~$ rosservice call /spot/dock "dock_id: 520" 
success: False
message: "bosdyn.api.docking.DockingCommandResponse (ResponseError): Code: 5 (STATUS_ERROR_DOCK_NOT_FOUND)"
[http://10.42.0.1:11311][10.42.0.1] spot@BelKa:~$ rosservice call /spot/dock "dock_id: 520" 
success: False
message: "bosdyn.api.docking.DockingCommandFeedbackResponse (LeaseUseError): Lease failed\n\
  status: STATUS_OLDER\nowner {\n  client_name: \"ros_spotBelKa:spot_ros-20363\"\n\
  }\nattempted_lease {\n  resource: \"mobility\"\n  epoch: \"OiKChMpTDFRsgGre\"\n\
  \  sequence: 148\n  sequence: 1434\n  sequence: 1\n  client_names: \"root\"\n  client_names:\
  \ \"ros_spot\"\n  client_names: \"docking\"\n}\nprevious_lease {\n  resource: \"\
  mobility\"\n  epoch: \"OiKChMpTDFRsgGre\"\n  sequence: 148\n  sequence: 1435\n \
  \ client_names: \"root\"\n  client_names: \"ros_spot\"\n}\nlatest_known_lease {\n\
  \  resource: \"mobility\"\n  epoch: \"OiKChMpTDFRsgGre\"\n  sequence: 148\n  sequence:\
  \ 1435\n  client_names: \"root\"\n  client_names: \"ros_spot\"\n}\nlatest_resources\
  \ {\n  resource: \"mobility\"\n  epoch: \"OiKChMpTDFRsgGre\"\n  sequence: 148\n\
  \  sequence: 1435\n  client_names: \"root\"\n  client_names: \"ros_spot\"\n}\n"

@tkmtnt7000 tkmtnt7000 added bug Something isn't working spot labels Jan 11, 2022
@sktometometo
Copy link
Owner

P1給電用器具の一部がカメラの端に一部かかっている可能性がある

給電用器具を外すとDockできたということ?

@tkmtnt7000
Copy link
Collaborator Author

tkmtnt7000 commented Jan 11, 2022 via email

@tkmtnt7000 tkmtnt7000 changed the title BelkaがDockできない April tagが見えていなくてBelkaがDockに失敗する Jan 11, 2022
@sktometometo
Copy link
Owner

Dockが見えない場所へ連れて行ってDockしようとすると、以下のようなエラーが出ます。

[http://10.42.0.1:11311][10.42.0.1] spot@BelKa:~$ rosservice call /spot/dock "dock_id: 520"
success: False
message: "bosdyn.api.docking.DockingCommandResponse (ResponseError): Code: 5 (STATUS_ERROR_DOCK_NOT_FOUND)"

また、本体からコネクタを外して dock しようとしてももともとのエラーが表示されます。

Screenshot from 2022-01-11 23-43-16

バグ報告の際は, 実際に起きているバグの報告(Dockへの失敗)と、その原因について試したこと・考察は分けて報告しましょう。

@sktometometo
Copy link
Owner

sktometometo commented Jan 11, 2022

Dockの際のエラーはエラーメッセージを見る限り、Leaseに関するspot_driverの実装の問題の可能性を疑っています。

今のところ、以下のA,B及びに他のエラーの3通りのエラーを確認しています。
Aのエラーの場合は対症療法ですが、sitした後にstandしてdockするとdockできることを確認しています。
場合によってはdockできずBのエラーや他のエラーが表示され、dockできないです。この際には一度sit->power_off->release->claim->power_on->standするとdockできました。

  • A
[http://10.42.0.1:11311][10.42.0.1] spot@BelKa:~$ rosservice call /spot/dock "dock_id: 520"
success: False
message: "bosdyn.api.docking.DockingCommandFeedbackResponse (LeaseUseError): Lease failed\n\
  status: STATUS_OLDER\nowner {\n  client_name: \"ros_spotBelKa:spot_ros-3386\"\n\
  }\nattempted_lease {\n  resource: \"mobility\"\n  epoch: \"OiKChMpTDFRsgGre\"\n\
  \  sequence: 164\n  sequence: 4411\n  sequence: 1\n  client_names: \"root\"\n  client_names:\
  \ \"ros_spot\"\n  client_names: \"docking\"\n}\nprevious_lease {\n  resource: \"\
  mobility\"\n  epoch: \"OiKChMpTDFRsgGre\"\n  sequence: 164\n  sequence: 4412\n \
  \ client_names: \"root\"\n  client_names: \"ros_spot\"\n}\nlatest_known_lease {\n\
  \  resource: \"mobility\"\n  epoch: \"OiKChMpTDFRsgGre\"\n  sequence: 164\n  sequence:\
  \ 4412\n  client_names: \"root\"\n  client_names: \"ros_spot\"\n}\nlatest_resources\
  \ {\n  resource: \"mobility\"\n  epoch: \"OiKChMpTDFRsgGre\"\n  sequence: 164\n\
  \  sequence: 4412\n  client_names: \"root\"\n  client_names: \"ros_spot\"\n}\n"
  • B
[http://10.42.0.1:11311][10.42.0.1] spot@BelKa:~$ rosservice call /spot/dock "dock_id: 520"
success: False
message: "Docking Failed, status: 'STATUS_ERROR_LEASE'"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working spot
Projects
None yet
Development

No branches or pull requests

2 participants