vlcSim 0.6.2__tar.gz → 0.6.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {vlcsim-0.6.2 → vlcsim-0.6.3}/PKG-INFO +1 -1
- {vlcsim-0.6.2 → vlcsim-0.6.3}/pyproject.toml +1 -1
- {vlcsim-0.6.2 → vlcsim-0.6.3}/vlcsim/__init__.py +1 -1
- {vlcsim-0.6.2 → vlcsim-0.6.3}/vlcsim/controller/controller.py +1 -1
- {vlcsim-0.6.2 → vlcsim-0.6.3}/vlcsim/simulator.py +0 -3
- {vlcsim-0.6.2 → vlcsim-0.6.3}/LICENSE.md +0 -0
- {vlcsim-0.6.2 → vlcsim-0.6.3}/README.md +0 -0
- {vlcsim-0.6.2 → vlcsim-0.6.3}/vlcsim/controller/__init__.py +0 -0
- {vlcsim-0.6.2 → vlcsim-0.6.3}/vlcsim/controller/connection.py +0 -0
- {vlcsim-0.6.2 → vlcsim-0.6.3}/vlcsim/scene/__init__.py +0 -0
- {vlcsim-0.6.2 → vlcsim-0.6.3}/vlcsim/scene/access_point.py +0 -0
- {vlcsim-0.6.2 → vlcsim-0.6.3}/vlcsim/scene/receiver.py +0 -0
- {vlcsim-0.6.2 → vlcsim-0.6.3}/vlcsim/scene/rf.py +0 -0
- {vlcsim-0.6.2 → vlcsim-0.6.3}/vlcsim/scene/scenario.py +0 -0
- {vlcsim-0.6.2 → vlcsim-0.6.3}/vlcsim/scene/vled.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "vlcSim"
|
|
3
|
-
version = "0.6.
|
|
3
|
+
version = "0.6.3" # Placeholder, will be replaced by dynamic versioning
|
|
4
4
|
description = "Python Package of Event-Oriented Simulation for visible light communication"
|
|
5
5
|
authors = ["Danilo Bórquez-Paredes <danilo.borquez.p@uai.cl>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -30,7 +30,7 @@ See Also:
|
|
|
30
30
|
For detailed documentation, visit the project repository or build the Sphinx docs.
|
|
31
31
|
"""
|
|
32
32
|
|
|
33
|
-
__version__ = "0.6.
|
|
33
|
+
__version__ = "0.6.3" # placeholder for poetry-dynamic-versioning
|
|
34
34
|
|
|
35
35
|
from .scene import *
|
|
36
36
|
from .controller import *
|
|
@@ -360,7 +360,7 @@ class Controller:
|
|
|
360
360
|
raise ValueError(
|
|
361
361
|
"Receiver must have goalTime set before resuming connection."
|
|
362
362
|
)
|
|
363
|
-
if receiver.goalTime
|
|
363
|
+
if receiver.goalTime <= receiver.timeActive + connection.AP.sliceTime:
|
|
364
364
|
return (
|
|
365
365
|
Controller.nextStatus.FINISH,
|
|
366
366
|
time + receiver.goalTime - receiver.timeActive,
|
|
@@ -900,9 +900,6 @@ class Simulator:
|
|
|
900
900
|
next_status == Controller.nextStatus.RESUME
|
|
901
901
|
or next_status == Controller.nextStatus.PAUSE
|
|
902
902
|
):
|
|
903
|
-
connection.receiver.goalTime = self.__departure_variable.exponential(
|
|
904
|
-
self.__mu
|
|
905
|
-
)
|
|
906
903
|
connection.allocated = True
|
|
907
904
|
if next_status == Controller.nextStatus.RESUME:
|
|
908
905
|
for pos in range(len(self.__events) - 1, -1, -1):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|