isar 1.16.1__py3-none-any.whl → 1.16.3__py3-none-any.whl

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.

Potentially problematic release.


This version of isar might be problematic. Click here for more details.

@@ -292,12 +292,6 @@ class StateMachine(object):
292
292
  )
293
293
  self.log_step_overview(mission=self.current_mission)
294
294
 
295
- # This is a workaround to enable the Flotilla repository to write the mission to
296
- # its database before the publishing from ISAR starts. This is not a permanent
297
- # solution and should be further addressed in the following issue.
298
- # https://github.com/equinor/flotilla/issues/226
299
- time.sleep(2)
300
-
301
295
  self.current_mission.status = MissionStatus.InProgress
302
296
  self.publish_mission_status()
303
297
  self.current_task = self.task_selector.next_task()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: isar
3
- Version: 1.16.1
3
+ Version: 1.16.3
4
4
  Summary: Integration and Supervisory control of Autonomous Robots
5
5
  Home-page: https://github.com/equinor/isar
6
6
  Author: Equinor ASA
@@ -30,7 +30,7 @@ Requires-Dist: opencensus-ext-requests
30
30
  Requires-Dist: opencensus-ext-azure
31
31
  Requires-Dist: numpy
32
32
  Requires-Dist: paho-mqtt
33
- Requires-Dist: pydantic
33
+ Requires-Dist: pydantic (==1.10.11)
34
34
  Requires-Dist: PyJWT
35
35
  Requires-Dist: python-dotenv
36
36
  Requires-Dist: PyYAML
@@ -116,6 +116,9 @@ can be found in [this repository](https://github.com/equinor/isar-robot). Instal
116
116
  pip install isar-robot
117
117
  ```
118
118
 
119
+ NB: isar-robot has not been published to PyPi for some time, and needs to be downloaded directly
120
+ from git to work.
121
+
119
122
  Then, ensure the `ISAR_ROBOT_PACKAGE` variable in [settings.env](./src/isar/config/settings.env)
120
123
  is set to the name of the package you installed. `isar_robot` is set by default. See the section
121
124
  for [configuration](#configuration) for overwriting configuration.
@@ -65,7 +65,7 @@ isar/services/utilities/queue_utilities.py,sha256=Pw3hehSwkXJNeDv-bDVDfs58VOwtt3
65
65
  isar/services/utilities/scheduling_utilities.py,sha256=LFimEmacML3J9q-FNLfKPhcAr-R3f2rkYkbsoro0Gyo,8434
66
66
  isar/services/utilities/threaded_request.py,sha256=py4G-_RjnIdHljmKFAcQ6ddqMmp-ZYV39Ece-dqRqjs,1874
67
67
  isar/state_machine/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
68
- isar/state_machine/state_machine.py,sha256=XYgUuuOLoU6Ay0NfKKaBbe-qxfhY4m6xOablVIA_PMY,23401
68
+ isar/state_machine/state_machine.py,sha256=an7CgufCGhAsuqKxgDUYhHZl3h44cJPRiCuUvLX42LM,23070
69
69
  isar/state_machine/states_enum.py,sha256=ks1A8gO7DOpLbSe6Vzq4-BfTCU78IsQZyoEJwQ9Wg4M,254
70
70
  isar/state_machine/states/__init__.py,sha256=gUikQDu-O-lmunwzwcN9gN6VaEmlCFlqqgdNfFAfXBc,189
71
71
  isar/state_machine/states/idle.py,sha256=_0MtK8Wb305agTg4J9t2x-eUq3cnXg3KSP6J6HOM3ps,1229
@@ -87,7 +87,7 @@ robot_interface/robot_interface.py,sha256=i2qw1V9mLO-ljtS7LiRliQ7XNmmBJIwD4NG8mD
87
87
  robot_interface/test_robot_interface.py,sha256=FV1urn7SbsMyWBIcTKjsBwAG4IsXeZ6pLHE0mA9EGGs,692
88
88
  robot_interface/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
89
89
  robot_interface/models/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
90
- robot_interface/models/exceptions/robot_exceptions.py,sha256=2rzxi3sQaPbfxgVcTmdipZyqJVb-AMFbFMSLs4n2Huo,7587
90
+ robot_interface/models/exceptions/robot_exceptions.py,sha256=Ux0MQG9hP_tk5tTTgebAtMinjFm3-xbV8G-MOJRcrgU,8026
91
91
  robot_interface/models/initialize/__init__.py,sha256=rz5neEDr59GDbzzI_FF0DId-C-I-50l113P-h-C_QBY,48
92
92
  robot_interface/models/initialize/initialize_params.py,sha256=2eG5Aq5bDKU6tVkaUMAoc46GERBgyaKkqv6yLupdRLc,164
93
93
  robot_interface/models/inspection/__init__.py,sha256=14wfuj4XZazrigKD7fL98khFKz-eckIpEgPcYRj40Kg,227
@@ -105,8 +105,8 @@ robot_interface/telemetry/payloads.py,sha256=BiLS50TDgRXZ1DSTl8aaHG1mPa8R4KnWjai
105
105
  robot_interface/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
106
106
  robot_interface/utilities/json_service.py,sha256=nU2Q_3P9Fq9hs6F_wtUjWtHfl_g1Siy-yDhXXSKwHwg,1018
107
107
  robot_interface/utilities/uuid_string_factory.py,sha256=_NQIbBQ56w0qqO0MUDP6aPpHbxW7ATRhK8HnQiBSLkc,76
108
- isar-1.16.1.dist-info/LICENSE,sha256=3fc2-ebLwHWwzfQbulGNRdcNob3SBQeCfEVUDYxsuqw,14058
109
- isar-1.16.1.dist-info/METADATA,sha256=h7XMM1e6rzjRrcMbNbvw_jj9__Gye0z2EZcmNr1zgkU,14430
110
- isar-1.16.1.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
111
- isar-1.16.1.dist-info/top_level.txt,sha256=UwIML2RtuQKCyJJkatcSnyp6-ldDjboB9k9JgKipO-U,21
112
- isar-1.16.1.dist-info/RECORD,,
108
+ isar-1.16.3.dist-info/LICENSE,sha256=3fc2-ebLwHWwzfQbulGNRdcNob3SBQeCfEVUDYxsuqw,14058
109
+ isar-1.16.3.dist-info/METADATA,sha256=SbWRJiStptEc41LwilNg5cDrVrgZVIdclSDvfSlg3us,14558
110
+ isar-1.16.3.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
111
+ isar-1.16.3.dist-info/top_level.txt,sha256=UwIML2RtuQKCyJJkatcSnyp6-ldDjboB9k9JgKipO-U,21
112
+ isar-1.16.3.dist-info/RECORD,,
@@ -18,6 +18,7 @@ class ErrorReason(str, Enum):
18
18
  RobotMapException: str = "robot_map_exception"
19
19
  RobotTransformException: str = "robot_transform_exception"
20
20
  RobotUnknownErrorException: str = "robot_unknown_error_exception"
21
+ RobotDisconnectedException: str = "robot_disconnected_exception"
21
22
 
22
23
 
23
24
  @dataclass
@@ -207,3 +208,14 @@ class RobotUnknownErrorException(RobotException):
207
208
  )
208
209
 
209
210
  pass
211
+
212
+
213
+ # An exception which should be thrown by the robot package if the robot is not connected to the cloud
214
+ class RobotDisconnectedException(RobotException):
215
+ def __init__(self, error_description: str) -> None:
216
+ super().__init__(
217
+ error_reason=ErrorReason.RobotDisconnectedException,
218
+ error_description=error_description,
219
+ )
220
+
221
+ pass
File without changes
File without changes