31 lines
600 B
Python
31 lines
600 B
Python
"""
|
|
" service name
|
|
"""
|
|
LOCO_SERVICE_NAME = "loco"
|
|
|
|
|
|
"""
|
|
" service api version
|
|
"""
|
|
LOCO_API_VERSION = "2.0.0.0"
|
|
|
|
|
|
"""
|
|
" api id
|
|
"""
|
|
ROBOT_API_ID_LOCO_GET_FSM_ID = 8001
|
|
ROBOT_API_ID_LOCO_GET_FSM_MODE = 8002
|
|
ROBOT_API_ID_LOCO_GET_BALANCE_MODE = 8003
|
|
ROBOT_API_ID_LOCO_GET_SWING_HEIGHT = 8004
|
|
ROBOT_API_ID_LOCO_GET_STAND_HEIGHT = 8005
|
|
ROBOT_API_ID_LOCO_GET_PHASE = 8006 # deprecated
|
|
|
|
ROBOT_API_ID_LOCO_SET_FSM_ID = 8101
|
|
ROBOT_API_ID_LOCO_SET_BALANCE_MODE = 8102
|
|
ROBOT_API_ID_LOCO_SET_SWING_HEIGHT = 8103
|
|
ROBOT_API_ID_LOCO_SET_STAND_HEIGHT = 8104
|
|
ROBOT_API_ID_LOCO_SET_VELOCITY = 8105
|
|
|
|
"""
|
|
" error code
|
|
""" |