|
55 | 55 | from bosdyn.client.time_sync import TimeSyncEndpoint
|
56 | 56 | from bosdyn.client.world_object import WorldObjectClient
|
57 | 57 | from bosdyn.geometry import EulerZXY
|
58 |
| -from bosdyn.mission.client import MissionClient |
59 | 58 | from google.protobuf.timestamp_pb2 import Timestamp
|
60 | 59 |
|
61 | 60 | from .spot_arm import SpotArm
|
|
65 | 64 | from .spot_eap import SpotEAP
|
66 | 65 | from .spot_graph_nav import SpotGraphNav
|
67 | 66 | from .spot_images import SpotImages
|
68 |
| -from .spot_mission_wrapper import SpotMission |
69 | 67 | from .spot_world_objects import SpotWorldObjects
|
70 | 68 | from .wrapper_helpers import ClaimAndPowerDecorator, RobotCommandData, RobotState
|
71 | 69 |
|
@@ -394,9 +392,7 @@ def __init__(
|
394 | 392 | self._command_data = RobotCommandData()
|
395 | 393 |
|
396 | 394 | try:
|
397 |
| - self._sdk = create_standard_sdk( |
398 |
| - SPOT_CLIENT_NAME, service_clients=[MissionClient], cert_resource_glob=cert_resource_glob |
399 |
| - ) |
| 395 | + self._sdk = create_standard_sdk(SPOT_CLIENT_NAME, cert_resource_glob=cert_resource_glob) |
400 | 396 | except Exception as e:
|
401 | 397 | self._logger.error("Error creating SDK object: %s", e)
|
402 | 398 | self._valid = False
|
@@ -441,7 +437,6 @@ def __init__(
|
441 | 437 | self._estop_client = self._robot.ensure_client(EstopClient.default_service_name)
|
442 | 438 | self._docking_client = self._robot.ensure_client(DockingClient.default_service_name)
|
443 | 439 | self._spot_check_client = self._robot.ensure_client(SpotCheckClient.default_service_name)
|
444 |
| - self._mission_client = self._robot.ensure_client(MissionClient.default_service_name) |
445 | 440 | self._license_client = self._robot.ensure_client(LicenseClient.default_service_name)
|
446 | 441 | if self._robot.has_arm():
|
447 | 442 | self._gripper_cam_param_client = self._robot.ensure_client(
|
@@ -526,15 +521,6 @@ def __init__(
|
526 | 521 | self._lease_client,
|
527 | 522 | )
|
528 | 523 |
|
529 |
| - self._spot_mission = SpotMission( |
530 |
| - self._robot, |
531 |
| - self._logger, |
532 |
| - self._state, |
533 |
| - self._mission_client, |
534 |
| - self._robot_command_client, |
535 |
| - self._lease_client, |
536 |
| - ) |
537 |
| - |
538 | 524 | if self._robot.has_arm():
|
539 | 525 | self._spot_arm = SpotArm(
|
540 | 526 | self._robot,
|
@@ -740,11 +726,6 @@ def spot_check(self) -> SpotCheck:
|
740 | 726 | """Return SpotCheck instance"""
|
741 | 727 | return self._spot_check
|
742 | 728 |
|
743 |
| - @property |
744 |
| - def spot_mission(self) -> SpotMission: |
745 |
| - """Return SpotMission instance""" |
746 |
| - return self._spot_mission |
747 |
| - |
748 | 729 | @property
|
749 | 730 | def spot_eap_lidar(self) -> typing.Optional[SpotEAP]:
|
750 | 731 | """Return SpotEAP instance"""
|
|
0 commit comments