Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ plugins:
- /head_camera/depth_registered/throttled/camera_info
- /head_camera/rgb/throttled/image_rect_color/compressed
- /head_camera/depth_registered/throttled/image_rect/compressedDepth
- /photo_taken
- /server_name/smach/container_init
- /server_name/smach/container_status
- /server_name/smach/container_structure
- /audio
- /rviz/throttled/image/compressed
- name: result_recorder_plugin
Expand Down
14 changes: 13 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 @@ -4,16 +4,28 @@
(load "package://jsk_fetch_startup/euslisp/navigation-utils.l")


(defun main (&key (tweet t) (n-dock-trial 3) (n-kitchen-trial 3) (n-trashcan-trial 3) (control-switchbot :api))
(defun main (&key (tweet t) (n-dock-trial 3) (n-kitchen-trial 3) (n-trashcan-trial 3) (n-dock-front-trial 3) (n-tv-front-trial 3) (n-tv-desk-trial 3) (n-desk-back-trial 3) (n-desk-front-trial 3) (n-kitchen-door-front-trial 3) (control-switchbot :api))
(when (not (boundp '*sm*))
(go-to-kitchen-state-machine))
(let ((result-state
(exec-state-machine *sm* `((tweet . ,tweet)
(n-kitchen-trial . ,n-kitchen-trial)
(n-trashcan-trial . ,n-trashcan-trial)
(n-dock-trial . ,n-dock-trial)
(n-dock-front-trial . ,n-dock-front-trial)
(n-tv-front-trial . ,n-tv-front-trial)
(n-tv-desk-trial . ,n-tv-desk-trial)
(n-desk-back-trial . ,n-desk-back-trial)
(n-desk-front-trial . ,n-desk-front-trial)
(n-kitchen-door-front-trial . ,n-kitchen-door-front-trial)
(control-switchbot . ,control-switchbot)
(initial-light-on . nil)
(success-go-to-dock-front . nil)
(success-go-to-tv-front . nil)
(success-go-to-tv-desk . nil)
(success-go-to-desk-back . nil)
(success-go-to-desk-front . nil)
(success-go-to-tv-desk . nil)
(success-go-to-kitchen . nil)
(success-go-to-trashcan . nil)
(success-auto-dock . nil))
Expand Down
Loading