bosdyn-scout 4.0.3__py3-none-any.whl → 4.1.1__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.
- bosdyn/scout/client.py +9 -6
- {bosdyn_scout-4.0.3.dist-info → bosdyn_scout-4.1.1.dist-info}/METADATA +2 -2
- {bosdyn_scout-4.0.3.dist-info → bosdyn_scout-4.1.1.dist-info}/RECORD +5 -5
- {bosdyn_scout-4.0.3.dist-info → bosdyn_scout-4.1.1.dist-info}/WHEEL +0 -0
- {bosdyn_scout-4.0.3.dist-info → bosdyn_scout-4.1.1.dist-info}/top_level.txt +0 -0
bosdyn/scout/client.py
CHANGED
|
@@ -494,7 +494,8 @@ class ScoutClient():
|
|
|
494
494
|
Returns:
|
|
495
495
|
requests.Response: the response associated with the post request
|
|
496
496
|
"""
|
|
497
|
-
return self.post_resource(f'site_walks/export_as_walk
|
|
497
|
+
return self.post_resource(f'site_walks/export_as_walk',
|
|
498
|
+
json={"siteWalkUuid": site_walk_uuid}, **kwargs)
|
|
498
499
|
|
|
499
500
|
def post_import_from_walk(self, **kwargs) -> requests.Response:
|
|
500
501
|
""" Given a walk data, imports it to the specified scout instance
|
|
@@ -731,7 +732,7 @@ class ScoutClient():
|
|
|
731
732
|
|
|
732
733
|
def post_dispatch_mission_to_robot(self, robot_nickname: str, driver_id: str, mission_uuid: str,
|
|
733
734
|
delete_mission: bool, force_acquire_estop: bool,
|
|
734
|
-
**kwargs) -> requests.Response:
|
|
735
|
+
skip_initialization: bool, **kwargs) -> requests.Response:
|
|
735
736
|
""" Dispatch the robot to a mission given a mission uuid
|
|
736
737
|
|
|
737
738
|
Args:
|
|
@@ -740,10 +741,11 @@ class ScoutClient():
|
|
|
740
741
|
mission_uuid: uuid of the mission(also known as Site Walk) to dispatch
|
|
741
742
|
delete_mission: whether to delete the mission after playback
|
|
742
743
|
force_acquire_estop: whether to force acquire E-stop from the previous client
|
|
744
|
+
skip_initialization: whether to skip initialization when starting the return to dock mission
|
|
743
745
|
kwargs(**): a variable number of keyword arguments for the post request
|
|
744
746
|
Raises:
|
|
745
747
|
RequestExceptions: exceptions thrown by the Requests library
|
|
746
|
-
|
|
748
|
+
UnauthenticatedClientError: indicates that the client is not authenticated properly
|
|
747
749
|
Returns:
|
|
748
750
|
requests.Response: the response associated with the post request
|
|
749
751
|
"""
|
|
@@ -768,10 +770,11 @@ class ScoutClient():
|
|
|
768
770
|
"missionId": mission_uuid,
|
|
769
771
|
"forceAcquireEstop": force_acquire_estop,
|
|
770
772
|
"deleteMission": delete_mission,
|
|
771
|
-
"requireDocked": False
|
|
773
|
+
"requireDocked": False,
|
|
774
|
+
"skipInitialization": skip_initialization
|
|
772
775
|
},
|
|
773
776
|
"eventMetadata": {
|
|
774
|
-
"name": "
|
|
777
|
+
"name": "API Triggered Mission"
|
|
775
778
|
}
|
|
776
779
|
}
|
|
777
780
|
return self.post_resource(
|
|
@@ -848,7 +851,7 @@ def create_scout_client(options: 'argparse.Namespace') -> 'bosdyn.scout.client.S
|
|
|
848
851
|
verify = options.verify == "True"
|
|
849
852
|
else:
|
|
850
853
|
print(
|
|
851
|
-
"The provided value for the argument verify [
|
|
854
|
+
"The provided value for the argument verify [{}] is not either 'True' or 'False'. Assuming verify is set to 'path/to/CA bundle'"
|
|
852
855
|
.format(options.verify))
|
|
853
856
|
verify = options.verify
|
|
854
857
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: bosdyn-scout
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.1.1
|
|
4
4
|
Summary: Boston Dynamics API Scout Client
|
|
5
5
|
Home-page: https://dev.bostondynamics.com/docs/scout/
|
|
6
6
|
Author: Boston Dynamics
|
|
@@ -18,7 +18,7 @@ Requires-Python: >=3.6
|
|
|
18
18
|
Description-Content-Type: text/markdown
|
|
19
19
|
Requires-Dist: requests
|
|
20
20
|
Requires-Dist: Deprecated (~=1.2.10)
|
|
21
|
-
Requires-Dist: bosdyn-orbit (==4.
|
|
21
|
+
Requires-Dist: bosdyn-orbit (==4.1.1)
|
|
22
22
|
|
|
23
23
|
<!--
|
|
24
24
|
Copyright (c) 2023 Boston Dynamics, Inc. All rights reserved.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
bosdyn/__init__.py,sha256=CMQioQKK1NlMk3kZuY49b_Aw-JyvDeOtuqOCAul1I0s,330
|
|
2
2
|
bosdyn/scout/__init__.py,sha256=1qUAbnMKYlERYZvxtGz4ThjYef7Tx-ZBclLoVE_ecjU,265
|
|
3
|
-
bosdyn/scout/client.py,sha256=
|
|
3
|
+
bosdyn/scout/client.py,sha256=PGjboyv8TIC7p0UASCFtklnGlmlXYmVvB0R1hNAS_gk,42958
|
|
4
4
|
bosdyn/scout/exceptions.py,sha256=1qCD8Nz6xDZAnVf0rSBNLBvQwzxY-ruF-wJA9WqCVkE,518
|
|
5
5
|
bosdyn/scout/utils.py,sha256=ZwP9Z9qcEMnilCqG-2wHO743lpP4qUt89u3d7PU0FUE,12283
|
|
6
|
-
bosdyn_scout-4.
|
|
7
|
-
bosdyn_scout-4.
|
|
8
|
-
bosdyn_scout-4.
|
|
9
|
-
bosdyn_scout-4.
|
|
6
|
+
bosdyn_scout-4.1.1.dist-info/METADATA,sha256=N_CxsEug8PNDiYQvK3cTOGgdZusVUi_4nx7JqZp9z6w,1932
|
|
7
|
+
bosdyn_scout-4.1.1.dist-info/WHEEL,sha256=AtBG6SXL3KF_v0NxLf0ehyVOh0cold-JbJYXNGorC6Q,92
|
|
8
|
+
bosdyn_scout-4.1.1.dist-info/top_level.txt,sha256=an2OWgx1ej2jFjmBjPWNQ68ZglvUfKhmXWW-WhTtDmA,7
|
|
9
|
+
bosdyn_scout-4.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|