isar 1.25.8__py3-none-any.whl → 1.25.9__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.

@@ -29,7 +29,6 @@ from isar.state_machine.states.paused import Paused
29
29
  from isar.state_machine.states.stop import Stop
30
30
  from isar.state_machine.states_enum import States
31
31
  from robot_interface.models.exceptions.robot_exceptions import ErrorMessage
32
- from robot_interface.models.initialize.initialize_params import InitializeParams
33
32
  from robot_interface.models.mission.mission import Mission
34
33
  from robot_interface.models.mission.status import MissionStatus, RobotStatus, TaskStatus
35
34
  from robot_interface.models.mission.task import TASKS
@@ -389,9 +388,6 @@ class StateMachine(object):
389
388
 
390
389
  self.task_selector.initialize(tasks=self.current_mission.tasks)
391
390
 
392
- def get_initialize_params(self):
393
- return InitializeParams(initial_pose=self.initial_pose)
394
-
395
391
  def should_start_mission(self) -> Optional[StartMissionMessage]:
396
392
  try:
397
393
  return self.queues.start_mission.input.get(block=False)
@@ -45,8 +45,7 @@ class Initialize(State):
45
45
  self.state_machine.robot.initialize
46
46
  )
47
47
  self.initialize_thread.start_thread(
48
- self.state_machine.get_initialize_params(),
49
- name="State Machine Initialize Robot",
48
+ name="State Machine Initialize Robot"
50
49
  )
51
50
 
52
51
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: isar
3
- Version: 1.25.8
3
+ Version: 1.25.9
4
4
  Summary: Integration and Supervisory control of Autonomous Robots
5
5
  Author-email: Equinor ASA <fg_robots_dev@equinor.com>
6
6
  License: Eclipse Public License version 2.0
@@ -65,12 +65,12 @@ isar/services/utilities/robot_utilities.py,sha256=4-ob4kcIiRN_GXFDBMwBadfbwpYqKE
65
65
  isar/services/utilities/scheduling_utilities.py,sha256=xQ1UqxxTRk2VpTVj7mL_ux9xqoaiSd45W7VAPmpXSfU,8509
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=fv2IWDqWmlJyid6o2s_8sK3ADW7LZIWXs9HSc0WhmCA,20110
68
+ isar/state_machine/state_machine.py,sha256=448eXXqgcFCVIRbWPQE615-0BF8SaPiRCBmsnwLr8f0,19927
69
69
  isar/state_machine/states_enum.py,sha256=GrX2dzVXsyI9vXxIgd7DpOP8V1nhXQS4Jym5z69acHY,332
70
70
  isar/state_machine/states/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
71
71
  isar/state_machine/states/blocked_protective_stop.py,sha256=FNOarwHzkUfRllyxltXSu7W_nXAxpqDhz9PIo6wxE1o,2259
72
72
  isar/state_machine/states/idle.py,sha256=96CZCpBBPAZE_szF0UoPh6tBRsDn3FYII8bZ_cBFGuw,3815
73
- isar/state_machine/states/initialize.py,sha256=TVXV5Ps3N4_flM88j9pQiX88kZgLzLwzlJy_6hPbgcA,2359
73
+ isar/state_machine/states/initialize.py,sha256=YFFA5D3IdhuMBjFYai5f-Z2DexyrFs9wg6AxjqHdu28,2294
74
74
  isar/state_machine/states/initiate.py,sha256=xtKopnU5Ug_0PAV3yFm0v8O7DCa5CwGE4vN_7qahA0A,4139
75
75
  isar/state_machine/states/monitor.py,sha256=5BpEO-yzVE_yJc6POdvcECOXyQDXMiijVry4C0s6tIw,9759
76
76
  isar/state_machine/states/off.py,sha256=jjqN_oJMpBtWuY7hP-c9f0w3p2CYCfe-NpmYHHPnmyI,544
@@ -85,13 +85,12 @@ isar/storage/storage_interface.py,sha256=DYDry4I7aZpDHJhsBF6s8zrgokFAc7fdKJKfA8A
85
85
  isar/storage/uploader.py,sha256=LrbGlAGoqspWtSjmZcfvbRL3_khCnLWwa64XhqUrsr4,6543
86
86
  isar/storage/utilities.py,sha256=fitsdQ1ox5gr9fk9VuSk_iTBiEAIS8NZAnHabUZORh0,3173
87
87
  robot_interface/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
88
- robot_interface/robot_interface.py,sha256=iNDjvmJALhffyMdxMKqmpIkfoVI_f5mauj9ghz-2Poc,8965
88
+ robot_interface/robot_interface.py,sha256=Bkk-joyIzRHxv8iZt7FLPFnlE8chlJad9vgjwc-fDkw,8786
89
89
  robot_interface/test_robot_interface.py,sha256=FV1urn7SbsMyWBIcTKjsBwAG4IsXeZ6pLHE0mA9EGGs,692
90
90
  robot_interface/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
91
91
  robot_interface/models/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
92
- robot_interface/models/exceptions/robot_exceptions.py,sha256=DvhH0FxW_7HSLZc43rlF34_lZnb5AY8hx3k9ZkPq7WM,10432
92
+ robot_interface/models/exceptions/robot_exceptions.py,sha256=u0vK1ny5UTX6767n0xeFLdLGL0ZbqiiBYuo6WgvVrnY,9436
93
93
  robot_interface/models/initialize/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
94
- robot_interface/models/initialize/initialize_params.py,sha256=2eG5Aq5bDKU6tVkaUMAoc46GERBgyaKkqv6yLupdRLc,164
95
94
  robot_interface/models/inspection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
96
95
  robot_interface/models/inspection/inspection.py,sha256=Q8vyiTMV2Ws1B4N10kQ3C1AZkck0Mh5pwOyWux7OQms,2318
97
96
  robot_interface/models/mission/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -108,9 +107,9 @@ robot_interface/telemetry/payloads.py,sha256=_Ph2f1M5f18fTJ7Jrd3JCeXhfZzg6i3THlF
108
107
  robot_interface/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
109
108
  robot_interface/utilities/json_service.py,sha256=nU2Q_3P9Fq9hs6F_wtUjWtHfl_g1Siy-yDhXXSKwHwg,1018
110
109
  robot_interface/utilities/uuid_string_factory.py,sha256=_NQIbBQ56w0qqO0MUDP6aPpHbxW7ATRhK8HnQiBSLkc,76
111
- isar-1.25.8.dist-info/LICENSE,sha256=3fc2-ebLwHWwzfQbulGNRdcNob3SBQeCfEVUDYxsuqw,14058
112
- isar-1.25.8.dist-info/METADATA,sha256=qfIwJDLO6pRE6TM3V9DhRj-4E1QBeTKx4E3eZyRI_0s,30578
113
- isar-1.25.8.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
114
- isar-1.25.8.dist-info/entry_points.txt,sha256=TFam7uNNw7J0iiDYzsH2gfG0u1eV1wh3JTw_HkhgKLk,49
115
- isar-1.25.8.dist-info/top_level.txt,sha256=UwIML2RtuQKCyJJkatcSnyp6-ldDjboB9k9JgKipO-U,21
116
- isar-1.25.8.dist-info/RECORD,,
110
+ isar-1.25.9.dist-info/LICENSE,sha256=3fc2-ebLwHWwzfQbulGNRdcNob3SBQeCfEVUDYxsuqw,14058
111
+ isar-1.25.9.dist-info/METADATA,sha256=MCqYfN39-BbsF6lb9IGHXkQPX2gwf_CvIAh3rnHupjw,30578
112
+ isar-1.25.9.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
113
+ isar-1.25.9.dist-info/entry_points.txt,sha256=TFam7uNNw7J0iiDYzsH2gfG0u1eV1wh3JTw_HkhgKLk,49
114
+ isar-1.25.9.dist-info/top_level.txt,sha256=UwIML2RtuQKCyJJkatcSnyp6-ldDjboB9k9JgKipO-U,21
115
+ isar-1.25.9.dist-info/RECORD,,
@@ -22,8 +22,6 @@ class ErrorReason(str, Enum):
22
22
  RobotTransformException = "robot_transform_exception"
23
23
  RobotUnknownErrorException = "robot_unknown_error_exception"
24
24
  RobotDisconnectedException = "robot_disconnected_exception"
25
- RobotMissionNotSupportedException = "robot_mission_not_supported_exception"
26
- RobotMissionMissingStartPoseException = "robot_mission_missing_start_pose_exception"
27
25
 
28
26
 
29
27
  @dataclass
@@ -259,25 +257,3 @@ class RobotDisconnectedException(RobotException):
259
257
  )
260
258
 
261
259
  pass
262
-
263
-
264
- # An exception which should be thrown by the robot package if the robot is given a mission type it cannot run, such as a localisation mission
265
- class RobotMissionNotSupportedException(RobotException):
266
- def __init__(self, error_description: str) -> None:
267
- super().__init__(
268
- error_reason=ErrorReason.RobotMissionNotSupportedException,
269
- error_description=error_description,
270
- )
271
-
272
- pass
273
-
274
-
275
- # An exception which should be thrown by the robot package if the mission is missing start pose and it needed it
276
- class RobotMissionMissingStartPoseException(RobotException):
277
- def __init__(self, error_description: str) -> None:
278
- super().__init__(
279
- error_reason=ErrorReason.RobotMissionMissingStartPoseException,
280
- error_description=error_description,
281
- )
282
-
283
- pass
@@ -3,7 +3,6 @@ from queue import Queue
3
3
  from threading import Thread
4
4
  from typing import Callable, List, Optional
5
5
 
6
- from robot_interface.models.initialize.initialize_params import InitializeParams
7
6
  from robot_interface.models.inspection.inspection import Inspection
8
7
  from robot_interface.models.mission.mission import Mission
9
8
  from robot_interface.models.mission.status import RobotStatus, TaskStatus
@@ -186,15 +185,11 @@ class RobotInterface(metaclass=ABCMeta):
186
185
  raise NotImplementedError
187
186
 
188
187
  @abstractmethod
189
- def initialize(self, params: InitializeParams) -> None:
188
+ def initialize(self) -> None:
190
189
  """Initializes the robot. The initialization needed is robot dependent and the
191
190
  function can be a simple return statement if no initialization is needed for the
192
191
  robot.
193
192
 
194
- Parameters
195
- ----------
196
- params: InitializeParams
197
-
198
193
  Returns
199
194
  -------
200
195
  None
@@ -1,9 +0,0 @@
1
- from dataclasses import dataclass
2
- from typing import Optional
3
-
4
- from alitra import Pose
5
-
6
-
7
- @dataclass
8
- class InitializeParams:
9
- initial_pose: Optional[Pose] = None
File without changes
File without changes