Skip to content

Commit

Permalink
make task time more reasonable + improve output
Browse files Browse the repository at this point in the history
  • Loading branch information
marinagmoreira committed Mar 6, 2024
1 parent b140228 commit 77c4079
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion astrobee/survey/survey_manager/pddl/domain_survey.pddl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@

(:durative-action dock
:parameters (?robot - robot ?from ?to - location) ;; from bay7 to berth1 or berth2
:duration (= ?duration 30)
:duration (= ?duration 90)
:condition
(and
;; Check robot mutex
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,10 @@ def thread_read_input(self, process):
loginfo(f"reader exiting on exception: {e}")

def send_command(self, command):
loginfo(f"send_command: {command}")
formatted_command = " ".join(
f'"{arg}"' if " " in arg else arg for arg in command
)
loginfo(f"send_command: {formatted_command}")
return_code = 1

try:
Expand Down Expand Up @@ -385,8 +388,6 @@ def send_command(self, command):
return return_code

def send_command_recursive(self, command):
loginfo(f"Sending recursive command: {command}")

exit_code = self.send_command(command)
loginfo("send_command exit code " + str(exit_code))

Expand Down

0 comments on commit 77c4079

Please sign in to comment.