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

pr2-interface.l: add :go-pos-unsafe, :go-pos-unsafe-no-wait, :go-pos-unsafe-wait #164

Merged
merged 3 commits into from
Aug 11, 2015

Conversation

k-okada
Copy link
Member

@k-okada k-okada commented Aug 10, 2015

please check this on real robot @h-kamada

k-okada added a commit that referenced this pull request Aug 11, 2015
pr2-interface.l: add :go-pos-unsafe, :go-pos-unsafe-no-wait, :go-pos-unsafe-wait
@k-okada k-okada merged commit 6a62a4c into jsk-ros-pkg:master Aug 11, 2015
@k-okada k-okada deleted the add_unsafe_wait branch August 11, 2015 13:19
@furushchev
Copy link
Member

Did you check on real robot?
I suspect pr2 always returns nil from :go-pos-unsafe.
This behavior breaks attention-observation work.

@k-okada
Copy link
Member Author

k-okada commented Sep 12, 2015

Oh, I didn't know specification/convention of return value.
please update document section of https://github.com/jsk-ros-pkg/jsk_pr2eus/pull/163/files, then we'll fix the pr2-interface.l program

(/= counter 0)) ;; try at least 1 time
(progn
(setq go-pos-unsafe-goal-msg nil) ;; go-pos-unsafe-wait has been called
(return-from :go-pos-unsafe-wait nil))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why returns nil? I assume t here
If you agree, I create PR to fix.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I think so too.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@h-kamada Thanks for review. Created another PR.

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

Successfully merging this pull request may close these issues.

3 participants