You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some properties should hold only for some locations; for example, the following function (taken from the spacecraft model, see this repo) checks whether the secnd location of the hybrid flowpipe in sol is contained in the given cone.
function line_of_sight(sol, cone)
all_idx = findall(x -> x == 2, location.(sol)) # attempt
for idx in all_idx
verif = all(set(R) ⊆ cone for R in sol[idx])
!verif && return false
end
return true
end
It would be convenient to introduce some syntax for this type of check, such as
sol(location=2) ⊆ cone
or similar.
The text was updated successfully, but these errors were encountered:
Some properties should hold only for some locations; for example, the following function (taken from the spacecraft model, see this repo) checks whether the secnd location of the hybrid flowpipe in
sol
is contained in the given cone.It would be convenient to introduce some syntax for this type of check, such as
or similar.
The text was updated successfully, but these errors were encountered: