updated docs
This commit is contained in:
parent
a6af166fd1
commit
e277a83c5f
1 changed files with 3 additions and 2 deletions
|
@ -84,9 +84,9 @@ class Seeding:
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_cargo(color: str) -> Tuple[Dict, int]:
|
def get_cargo(color: str) -> Tuple[Dict, int]:
|
||||||
"""Makes the /api/listCargo call to the api.
|
"""Makes the /api/getCargo call to the api.
|
||||||
|
|
||||||
:param color: Color parameter which specifies which cargo should be taken. (A string which is either "green", "red", "yellow" or "blue"
|
:param color: Color parameter which specifies which cargo should be taken. (A string which is either "green", "red", "yellow" or "blue") The function only picks up one package.
|
||||||
:return: Json Object and status code as returned by the api.
|
:return: Json Object and status code as returned by the api.
|
||||||
:rtype: Tuple[Dict, int]
|
:rtype: Tuple[Dict, int]
|
||||||
"""
|
"""
|
||||||
|
@ -102,6 +102,7 @@ class Seeding:
|
||||||
Logging.get_logger().debug(f"Seeding.get_robot_state {result}, status code = {res.status_code}")
|
Logging.get_logger().debug(f"Seeding.get_robot_state {result}, status code = {res.status_code}")
|
||||||
return result, res.status_code
|
return result, res.status_code
|
||||||
|
|
||||||
|
|
||||||
class Position:
|
class Position:
|
||||||
"""Datastructure for holding a position
|
"""Datastructure for holding a position
|
||||||
"""
|
"""
|
||||||
|
|
Reference in a new issue