Skip to content

Commit

Permalink
[jsk_fetch_startup] Use :before-func to delete description and image
Browse files Browse the repository at this point in the history
  • Loading branch information
tkmtnt7000 committed Oct 20, 2022
1 parent 85d1c0a commit 1e4ddad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 5 additions & 1 deletion jsk_fetch_robot/jsk_fetch_startup/euslisp/go-to-kitchen.l
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@
(success-go-to-kitchen . nil)
(success-go-to-trashcan . nil)
(success-auto-dock . nil))
:hz 2.0)))
:hz 2.0
:before-hook-func
'(lambda ()
(set-alist 'description "" mydata)
(set-alist 'image "" mydata)))))
(send result-state :name)))


Expand Down
2 changes: 0 additions & 2 deletions jsk_fetch_robot/jsk_fetch_startup/euslisp/navigation-utils.l
Original file line number Diff line number Diff line change
Expand Up @@ -768,8 +768,6 @@ Args:
(:report-light-on
'(lambda (userdata)
(report-light-on)
(set-alist 'description "" userdata)
(set-alist 'image "" userdata)
t))
(:room-light-on
'(lambda (userdata)
Expand Down

0 comments on commit 1e4ddad

Please sign in to comment.