Skip to content

Commit

Permalink
adding nice to python script
Browse files Browse the repository at this point in the history
  • Loading branch information
marinagmoreira committed Jul 4, 2024
1 parent 41696d6 commit a4f6501
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
yaml_action_from_pddl,
)

os.nice(15)
# Constants
MAX_COUNTER = 10
CHUNK_SIZE = 1024
Expand Down Expand Up @@ -609,6 +610,7 @@ def wait_plan(self):
# got message
if self.plan_status_needed is False:
return 0
rospy.sleep(1)
return 1


Expand Down

0 comments on commit a4f6501

Please sign in to comment.