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

Fix confirmation on warningp #395

Merged
merged 1 commit into from Nov 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pr2eus/robot-interface.l
Expand Up @@ -722,7 +722,7 @@ Return value is a list of interpolatingp for all controllers, so (null (some #'i
(when (send self :simulation-modep)
(return-from :send-ros-controller nil))
(if (and warningp
(yes-or-no-p (format nil "~C[3~CmAre you sure to move the real robot? (~A) ~C[0m" #x1b 49 (send action :name) #x1b)))
(not (yes-or-no-p (format nil "~C[3~CmAre you sure to move the real robot? (~A) ~C[0m" #x1b 49 (send action :name) #x1b))))
(return-from :send-ros-controller nil))
(let* ((goal (send action :make-goal-instance))
(goal-points nil)
Expand Down