Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

timed temporal operators #2

Open
yuanzhou-yzhou opened this issue Mar 1, 2021 · 3 comments
Open

timed temporal operators #2

yuanzhou-yzhou opened this issue Mar 1, 2021 · 3 comments

Comments

@yuanzhou-yzhou
Copy link

Does the project support timed temporal operators, such as Eventually0, 3, where a = stl.Predicate("a") > 0 ?
Thanks!

@anand-bala
Copy link
Owner

anand-bala commented Mar 1, 2021

Hey @yuanzhou-yzhou, I think it should (but I haven't tested the python binding for the interval argument yet). You would essentially do

phi = stl.Eventually(a, (0,3))

Where (0,3) is a closed interval.

Let me know if this works 😄 .

P.S. I am currently working on a 0.2.0 version of the library with better internals and bindings, so I will try to make the support a little better there.

@yuanzhou-yzhou
Copy link
Author

Hi @anand-bala, thank you for your reply. I tried it, but unfortunately, the program is crashed with the error "Segmentation fault (core dumped)".

@anand-bala
Copy link
Owner

Ah. I had an inkling this would happen. I've been a little busy lately, but I will try pushing a patch within a few days.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants