Skip to content

Commit a47abc2

Browse files
committed
[ltl_synthesizer] Fix slugs call options
1 parent 3ddf7b0 commit a47abc2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

vigir_ltl_synthesizer/src/vigir_ltl_synthesizer/ltl_synthesis_server.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,12 @@ def call_slugs_synthesizer(name):
8686
Handles potential failures, such as the specification being unrealizable.
8787
'''
8888

89-
options = ["--jsonOutput"] # Do we need the '--sysInitRoboticsSemantics' option?
89+
options = ["--explicitStrategy",
90+
"--jsonOutput",
91+
"--sysInitRoboticsSemantics"]
9092
slugs_cmd = ['slugs'] + options + [name + ".slugsin", name + ".json"]
9193
slugs_cmd = ' '.join(slugs_cmd) # convert to string for use with the commands module
94+
rospy.loginfo("[vigir_ltl_synthesizer] Calling SLUGS: \n\t%s", slugs_cmd)
9295

9396
(status, slugs_output) = commands.getstatusoutput(slugs_cmd)
9497

0 commit comments

Comments
 (0)