BallAerospace / COSMOS

Ball Aerospace COSMOS
https://ballaerospace.github.io/cosmos-website/
Other
360 stars 129 forks source link

How to run multiple commands from a button #1709

Closed jmbell1989 closed 2 years ago

jmbell1989 commented 2 years ago

In Cosmos 4 you could separate each cmd using a semicolon but that is not the case anymore. In the commanding.txt example, the 'Start Collect' button has a comment

All COSMOS commands (api.cmd) must be separated by newlines '\n'. All code separated by semicolons is evaluated together.

but that doesn't seem to work as intended. Thoughts?

jmthomas commented 2 years ago

I agree. I'm going to change this to double semicolons ';;' to separate commands and single semicolons to evaluate togther.

jmthomas commented 2 years ago

closed by #1704