pyzenbo.modules.zenbo_command module¶
-
pyzenbo.modules.zenbo_command.
CANCEL
= 0¶ Robot command cancel.
-
pyzenbo.modules.zenbo_command.
MOVE_HEAD
= 6¶ Ask robot to turn its head.
-
pyzenbo.modules.zenbo_command.
BACK_TO_BACKGROUND
= 25¶ Application back to background.
-
pyzenbo.modules.zenbo_command.
QUERY_EXPRESSION_STATUS
= 30¶ Query current robot expression status.
-
pyzenbo.modules.zenbo_command.
SET_EXPRESSION
= 31¶ Make robot expression and speak.
-
pyzenbo.modules.zenbo_command.
PLAY_EMOTIONAL_ACTION
= 32¶ Perform robot expression and predefined action.
-
pyzenbo.modules.zenbo_command.
SPEAK
= 33¶ Start speaking.
-
pyzenbo.modules.zenbo_command.
STOP_SPEAK
= 34¶ Stop speaking.
-
pyzenbo.modules.zenbo_command.
MOTION_MOVE_BODY
= 39¶ Move a relative distance in Cartesian coordinate.
-
pyzenbo.modules.zenbo_command.
MOTION_PLAY_ACTION
= 42¶ Do specific action for neck and wheel.
-
pyzenbo.modules.zenbo_command.
MOTION_REMOTE_CONTROL_BODY
= 44¶ Motion remote control.
-
pyzenbo.modules.zenbo_command.
MOTION_STOP
= 45¶ Stop all motion action.
-
pyzenbo.modules.zenbo_command.
WHEEL_LIGHTS_SET_BRIGHT
= 47¶ The led will light up by the bright value with the default color or the color set by the setColor command.
-
pyzenbo.modules.zenbo_command.
WHEEL_LIGHTS_SET_COLOR
= 48¶ The color will be stored on HAL and wait the setBright command to trigger the light.
-
pyzenbo.modules.zenbo_command.
WHEEL_LIGHTS_SET_PATTERN
= 50¶ Start the lights pattern action.
-
pyzenbo.modules.zenbo_command.
WHEEL_LIGHTS_STOP_PATTEN
= 51¶ Stop the lights pattern set by startPattern.
-
pyzenbo.modules.zenbo_command.
DS_SERVICE_CONNECT
= 61¶ Connect to DS service.
-
pyzenbo.modules.zenbo_command.
DS_SERVICE_RELEASE
= 62¶ Release DS service.
-
pyzenbo.modules.zenbo_command.
DS_VOICE_TRIGGER
= 67¶ Set DS voice trigger enable/disable.
-
pyzenbo.modules.zenbo_command.
RELEASE
= 78¶ Release all robot API resource.
-
pyzenbo.modules.zenbo_command.
MOTION_REMOTE_CONTROL_HEAD
= 83¶ Motion remote control neck.
-
pyzenbo.modules.zenbo_command.
VISION_REQUEST_DETECT_PERSON
= 65540¶ Request detect person.
-
pyzenbo.modules.zenbo_command.
VISION_CANCEL_DETECT_PERSON
= 65541¶ Cancel detect person.
-
pyzenbo.modules.zenbo_command.
VISION_REQUEST_RECOGNIZE_PERSON
= 65542¶ Request recognize person.
-
pyzenbo.modules.zenbo_command.
VISION_CANCEL_RECOGNIZE_PERSON
= 65543¶ Cancel recognize person.
-
pyzenbo.modules.zenbo_command.
VISION_REQUEST_DETECT_FACE
= 65550¶ Request detect face. It support multiple face.
-
pyzenbo.modules.zenbo_command.
VISION_CANCEL_DETECT_FACE
= 65551¶ Cancel detect face.
-
pyzenbo.modules.zenbo_command.
DS_REGISTER_LISTEN_CALLBACK
= 131073¶ Connect to DS service.
-
pyzenbo.modules.zenbo_command.
DS_UNREGISTER_LISTEN_CALLBACK
= 131074¶ Release DS service.
-
pyzenbo.modules.zenbo_command.
DS_SPEAK_AND_LISTEN
= 131075¶ Start CSR from DS service.
-
pyzenbo.modules.zenbo_command.
DS_STOP_SPEAK_AND_LISTEN
= 131076¶ Start SLU query for domain change.
-
pyzenbo.modules.zenbo_command.
DS_CLEAR_APP_CONTEXT
= 131077¶ Stop TTS from DS service.
-
pyzenbo.modules.zenbo_command.
DS_DYNAMIC_EDIT_INSTANCE
= 131078¶ Config auto CSR/SLU after trigger word.
-
pyzenbo.modules.zenbo_command.
DS_JUMP_TO_PLAN
= 131079¶ Stop CSR from DS service.
-
pyzenbo.modules.zenbo_command.
DS_RESUME_SPEAK
= 131085¶ Resume speak.
-
pyzenbo.modules.zenbo_command.
DS_SET_BACKGROUND_CONTEXT
= 131090¶ Set background context.
-
pyzenbo.modules.zenbo_command.
DS_CLEAR_BACKGROUND_CONTEXT
= 131091¶ Clear background context.
-
pyzenbo.modules.zenbo_command.
MOTION_REMOTE_CONTROL_BODY_STOP
= 196621¶ Motion remote control stop.
-
pyzenbo.modules.zenbo_command.
MOTION_REMOTE_CONTROL_HEAD_STOP
= 196624¶ Motion remote control neck stop.
-
pyzenbo.modules.zenbo_command.
UTILITY_SEND_INFO
= 262146¶ Send information to plug-in.
-
pyzenbo.modules.zenbo_command.
UTILITY_LOOK_AT_USER
= 262155¶ Ask robot to look at user.
-
pyzenbo.modules.zenbo_command.
UTILITY_FIND_PERSON_NEARBY
= 262156¶ Ask robot to find specified person nearby.
-
pyzenbo.modules.zenbo_command.
UTILITY_TRACK_FACE
= 262167¶ Ask robot to track/follow face.
-
pyzenbo.modules.zenbo_command.
UTILITY_WALKING
= 262168¶ Ask robot to walk around.
-
pyzenbo.modules.zenbo_command.
UTILITY_LINE_FOLLOWER_COLOR_IDENTIFICATION
= 262169¶ Line follower’s color identification.
-
pyzenbo.modules.zenbo_command.
UTILITY_LINE_FOLLOWER
= 262170¶ Line follower.
-
pyzenbo.modules.zenbo_command.
UTILITY_FOLLOW_OBJECT
= 262171¶ Ask robot to follow object.
-
pyzenbo.modules.zenbo_command.
UTILITY_SIMPLE_LINE_FOLLOWER
= 262172¶ Ask robot to follow line by motion service algorithm.
-
pyzenbo.modules.zenbo_command.
UTILITY_LINE_FOLLOWER_COLOR_CALIBRATE
= 262173¶ Ask line follower to do color calibrate.
-
pyzenbo.modules.zenbo_command.
UTILITY_DEMO_LINE_FOLLOWER
= 262174¶ Ask robot to demo follow line.
-
pyzenbo.modules.zenbo_command.
VISION_PROXY_BAIDU_DETECT_FACE_FROM_PHOTO
= 589825¶ Use Baidu AI to detect face from photo.
-
pyzenbo.modules.zenbo_command.
VISION_PROXY_BAIDU_RECOGNIZE_FACE_FROM_PHOTO
= 589826¶ Use Baidu AI to recognize face from photo.
-
pyzenbo.modules.zenbo_command.
VISION_PROXY_BAIDU_RECOGNIZE_TEXT_FROM_PHOTO
= 589827¶ Use Baidu AI to recognize text from photo.
-
pyzenbo.modules.zenbo_command.
SENSOR_CAPACITY_TOUCH_EVENT_REGISTER
= 655364¶ Register capacity touch sensor event callback.
-
pyzenbo.modules.zenbo_command.
SENSOR_CAPACITY_TOUCH_EVENT_UNREGISTER
= 655365¶ Unregister capacity touch sensor event callback.
-
pyzenbo.modules.zenbo_command.
SENSOR_SONAR_GET
= 655371¶ Get sonar sensor value.
-
pyzenbo.modules.zenbo_command.
SENSOR_SONAR_REGISTER
= 655372¶ Register sonar sensor value callback.
-
pyzenbo.modules.zenbo_command.
SENSOR_SONAR_UNREGISTER
= 655373¶ Unregister sonar sensor value callback.
-
pyzenbo.modules.zenbo_command.
SENSOR_SONAR_EVENT_REGISTER
= 655374¶ Register sonar sensor event callback.
-
pyzenbo.modules.zenbo_command.
SENSOR_SONAR_EVENT_UNREGISTER
= 655375¶ Unregister sonar sensor event callback.
-
pyzenbo.modules.zenbo_command.
SENSOR_NECK_ENCODER_GET
= 655381¶ Get neck encoder sensor value.
-
pyzenbo.modules.zenbo_command.
SENSOR_NECK_ENCODER_REGISTER
= 655382¶ Register neck encoder sensor value callback.
-
pyzenbo.modules.zenbo_command.
SENSOR_NECK_ENCODER_UNREGISTER
= 655383¶ Unregister neck encoder sensor value callback.
-
pyzenbo.modules.zenbo_command.
SENSOR_NECK_ENCODER_EVENT_REGISTER
= 655384¶ Register neck encoder sensor event callback.
-
pyzenbo.modules.zenbo_command.
SENSOR_NECK_ENCODER_EVENT_UNREGISTER
= 655385¶ Unregister neck encoder sensor event callback.
-
pyzenbo.modules.zenbo_command.
SENSOR_TRIGGER_KEY_EVENT_REGISTER
= 655394¶ Register trigger key event callback.
-
pyzenbo.modules.zenbo_command.
SENSOR_TRIGGER_KEY_EVENT_UNREGISTER
= 655395¶ Unregister trigger key event callback.
-
pyzenbo.modules.zenbo_command.
SENSOR_VOLUME_UP_KEY_EVENT_REGISTER
= 655404¶ Register volume up key event callback.
-
pyzenbo.modules.zenbo_command.
SENSOR_VOLUME_UP_KEY_EVENT_UNREGISTER
= 655405¶ Unregister volume up key event callback.
-
pyzenbo.modules.zenbo_command.
SENSOR_VOLUME_DOWN_KEY_EVENT_REGISTER
= 655414¶ Register volume down key event callback.
-
pyzenbo.modules.zenbo_command.
SENSOR_VOLUME_DOWN_KEY_EVENT_UNREGISTER
= 655415¶ Unregister volume down key event callback.
-
pyzenbo.modules.zenbo_command.
SYSTEM_AC_PLUG_STATUS_GET
= 720897¶ Get AC-plug status.
-
pyzenbo.modules.zenbo_command.
SYSTEM_AC_PLUG_STATUS_REGISTER
= 720898¶ Register AC-plug status callback.
-
pyzenbo.modules.zenbo_command.
SYSTEM_AC_PLUG_STATUS_UNREGISTER
= 720899¶ Unregister AC-plug status callback.
-
pyzenbo.modules.zenbo_command.
SYSTEM_BATTERY_STATUS_GET
= 720907¶ Get battery status.
-
pyzenbo.modules.zenbo_command.
SYSTEM_BATTERY_STATUS_REGISTER
= 720908¶ Register battery status callback.
-
pyzenbo.modules.zenbo_command.
SYSTEM_BATTERY_STATUS_UNREGISTER
= 720909¶ Unregister battery status callback.
-
pyzenbo.modules.zenbo_command.
SYSTEM_BATTERY_STATUS_EVENT_REGISTER
= 720910¶ Register battery event callback.
-
pyzenbo.modules.zenbo_command.
SYSTEM_BATTERY_STATUS_EVENT_UNREGISTER
= 720911¶ Unregister battery event callback.
-
pyzenbo.modules.zenbo_command.
SYSTEM_MEDIA_VOLUME_GET
= 720917¶ Get media volume level.
-
pyzenbo.modules.zenbo_command.
SYSTEM_MEDIA_VOLUME_SET
= 720918¶ Set media volume level.
-
pyzenbo.modules.zenbo_command.
SYSTEM_TTS_VOLUME_GET
= 720927¶ Get text to speech volume level.
-
pyzenbo.modules.zenbo_command.
SYSTEM_TTS_VOLUME_SET
= 720928¶ Set text to speech volume level.
-
pyzenbo.modules.zenbo_command.
SYSTEM_SCREEN_TOUCH_EVENT_REGISTER
= 720940¶ Register monitor screen touch event.
-
pyzenbo.modules.zenbo_command.
SYSTEM_SCREEN_TOUCH_EVENT_UNREGISTER
= 720941¶ Unregister monitor screen touch event.
-
pyzenbo.modules.zenbo_command.
MEDIA_TAKE_PICTURE
= 786433¶ Take picture.
-
pyzenbo.modules.zenbo_command.
MEDIA_RECORD_VIDEO
= 786434¶ Record video.
-
pyzenbo.modules.zenbo_command.
MEDIA_RECORD_AUDIO
= 786435¶ Record audio.
-
pyzenbo.modules.zenbo_command.
MEDIA_PLAY_MEDIA
= 786436¶ Play media.
-
pyzenbo.modules.zenbo_command.
MEDIA_STOP_MEDIA
= 786437¶ Stop play media.
-
pyzenbo.modules.zenbo_command.
MEDIA_GET_FILE_LIST
= 786438¶ Get media file list.
-
pyzenbo.modules.zenbo_command.
MEDIA_STOP_RECORD_VIDEO
= 786439¶ Stop record video.
-
pyzenbo.modules.zenbo_command.
MEDIA_STOP_RECORD_AUDIO
= 786440¶ Stop record audio.