Skip to content

Commit 7a5f15d

Browse files
committed
rename to stlpy
1 parent c66b080 commit 7a5f15d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+61
-61
lines changed

docs/source/benchmarks.rst

+13-13

docs/source/conf.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
# -- Project information
44

5-
project = 'PySTL'
5+
project = 'stlpy'
66
copyright = '2022, Vince Kurtz'
77
author = 'Vince Kurtz'
88

9-
release = '0.2'
10-
version = '0.2.0'
9+
release = '0.1.0'
10+
version = '0.1.0'
1111

1212
# -- General configuration
1313

docs/source/getting_started.rst

+5-5

docs/source/index.rst

+2-2

docs/source/overview.rst

+1-1

docs/source/solvers.rst

+6-6

docs/source/stl.rst

+3-3

docs/source/systems.rst

+4-4

examples/door_puzzle.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
import numpy as np
1212
import matplotlib.pyplot as plt
13-
from pySTL.benchmarks import DoorPuzzle
14-
from pySTL.solvers import *
13+
from stlpy.benchmarks import DoorPuzzle
14+
from stlpy.solvers import *
1515

1616
# Specification Parameters
1717
T = 25

examples/either_or.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010

1111
import numpy as np
1212
import matplotlib.pyplot as plt
13-
from pySTL.benchmarks import EitherOr
14-
from pySTL.solvers import *
13+
from stlpy.benchmarks import EitherOr
14+
from stlpy.solvers import *
1515

1616
# Specification Parameters
1717
goal = (7,8,8,9) # (xmin, xmax, ymin, ymax)
1818
target_one = (1,2,6,7)
1919
target_two = (7,8,4.5,5.5)
2020
obstacle = (3,5,4,6)
21-
T = 25
21+
T = 20
2222
dwell_time = 5
2323

2424
# Create the specification

examples/multitarget.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
import numpy as np
1212
import matplotlib.pyplot as plt
13-
from pySTL.benchmarks import RandomMultitarget
14-
from pySTL.solvers import *
13+
from stlpy.benchmarks import RandomMultitarget
14+
from stlpy.solvers import *
1515

1616
# Specification Parameters
1717
num_obstacles = 1

examples/narrow_passage.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
import numpy as np
1212
import matplotlib.pyplot as plt
13-
from pySTL.benchmarks import NarrowPassage
14-
from pySTL.solvers import *
13+
from stlpy.benchmarks import NarrowPassage
14+
from stlpy.solvers import *
1515

1616
# Specification Parameters
1717
T = 25
@@ -32,8 +32,8 @@
3232

3333
# Specify a solution method
3434
#solver = GurobiMICPSolver(spec, sys, x0, T, robustness_cost=True)
35-
#solver = DrakeMICPSolver(spec, sys, x0, T, robustness_cost=True)
36-
solver = DrakeSos1Solver(spec, sys, x0, T, robustness_cost=True)
35+
solver = DrakeMICPSolver(spec, sys, x0, T, robustness_cost=True, presolve=False)
36+
#solver = DrakeSos1Solver(spec, sys, x0, T, robustness_cost=True)
3737

3838
# Set bounds on state and control variables
3939
u_min = np.array([-0.5,-0.5])

examples/nonlinear_reach_avoid.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
import numpy as np
1313
import matplotlib.pyplot as plt
1414

15-
from pySTL.benchmarks import NonlinearReachAvoid
16-
from pySTL.solvers import *
15+
from stlpy.benchmarks import NonlinearReachAvoid
16+
from stlpy.solvers import *
1717

1818
# Specification Parameters
1919
goal = (7.5, 8.5) # goal center and radius

examples/reach_avoid.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
import numpy as np
1313
import matplotlib.pyplot as plt
1414

15-
from pySTL.benchmarks import ReachAvoid
16-
from pySTL.solvers import *
15+
from stlpy.benchmarks import ReachAvoid
16+
from stlpy.solvers import *
1717

1818
# Specification Parameters
1919
goal_bounds = (7,8,8,9) # (xmin, xmax, ymin, ymax)

examples/stepping_stones.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
import numpy as np
1212
import matplotlib.pyplot as plt
13-
from pySTL.benchmarks import SteppingStones
14-
from pySTL.solvers import *
13+
from stlpy.benchmarks import SteppingStones
14+
from stlpy.solvers import *
1515

1616
# Specification Parameters
1717
num_stones = 15

examples/towers_of_hanoi.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
import matplotlib.pyplot as plt
1414
from matplotlib.animation import FuncAnimation
1515

16-
from pySTL.STL import STLFormula, LinearPredicate
17-
from pySTL.systems import LinearSystem
18-
from pySTL.solvers import DrakeMICPSolver, DrakeSos1Solver
16+
from stlpy.STL import STLFormula, LinearPredicate
17+
from stlpy.systems import LinearSystem
18+
from stlpy.solvers import DrakeMICPSolver, DrakeSos1Solver
1919

2020
######################################
2121
# System definition

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from setuptools import setup, find_packages
22

3-
setup(name='pySTL',
4-
version='0.2',
3+
setup(name='stlpy',
4+
version='0.1.0',
55
description='A Python library for Signal Temporal Logic',
6-
url='http://github.com/vincekurtz/pySTL',
6+
url='http://github.com/vincekurtz/stlpy',
77
author='Vince Kurtz',
88
author_email='vjkurtz@gmail.com',
99
license='MIT',
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

pySTL/benchmarks/common.py renamed to stlpy/benchmarks/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
##
66

77
import numpy as np
8-
from pySTL.STL import LinearPredicate, NonlinearPredicate
8+
from stlpy.STL import LinearPredicate, NonlinearPredicate
99
from matplotlib.patches import Rectangle, Circle
1010

1111
def inside_circle_formula(center, radius, y1_index, y2_index, d, name=None):
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)