藍芽的部份,則是相容於Android M API. 我方並未作任何的客製化。
建議可上"stack overfolow"查看看其它開發者是否有解法
Posts made by tsai.leo
TTS 合成是由二個不同的音庫所支援,若要全"小丹"聲音,字串裡不能有"英文"字。
只要字串中含"英文字",就會該部份念出"女聲"
Actually local TTS use "3rd party solution", and it didn't provide the feature.
You have a good eye ^_^
It's a 20*20 rectangle to indicate robot in "wake/listen/none mode".
You must have a developer version ROM, please contact our PM for have a normal release APK or ROM.
The API set of 0.37 SDK is almost equal to 0.36 SDK.
The major difference is added more information SDK PDF.
Please check the system log for reason.
Ex: below log pattern showing successful to playback motion "666_IM_Bird"
10-17 14:28:09.933 9688 9716 D xxx_NuwaCoreObj: +loadMotion:666_IM_Bird
10-17 14:28:09.933 9688 9716 D xxx_NuwaCoreObj: -loadMotion:666_IM_Bird [0]
10-17 14:28:09.934 9688 9716 D xxx_NuwaCoreObj: dur:4.0833335
10-17 14:28:09.934 9688 9716 D xxx_NuwaCoreObj: +play
10-17 14:28:09.934 9688 9716 D xxx_NuwaCoreObj: onStartOfMotionPlay
10-17 14:28:09.934 9688 9716 D xxx_NuwaCoreObj: -play
10-17 14:28:09.934 9688 9716 D xxx_BaseService: send2OneAgent:test_app_1, CMD:[motion, play_start, 666_IM_Bird]
10-17 14:28:09.934 9688 9716 D xxx_KiwiService: --motionStart:666_IM_Bird
10-17 14:28:09.934 9688 9716 D xxx_DispatchService2: -task:motion_start, t:2
10-17 14:28:09.934 9688 9703 D xxx_BaseService: post send2OneAgent:[motion, play_start, 666_IM_Bird], clientid=test_app_1, data=null
10-17 14:28:09.935 14539 14565 D xxx_BaseAgent: proxy Svr cmd:[motion, play_start, 666_IM_Bird], data=null
10-17 14:28:09.935 14539 14565 D xxx_BaseAgent: send2User:[motion, play_start, 666_IM_Bird], data=null
10-17 14:28:09.935 14539 14553 D xxx_KiwiAgent: internalHandleEvent:[motion, play_start, 666_IM_Bird]
10-17 14:28:09.935 14539 14553 D xxx_KiwiAgent: >>>
10-17 14:28:09.935 14539 14553 D xxx_KiwiAgent: >>>
10-17 14:28:09.935 14539 14553 D xxx_KiwiAgent: >>> 666_IM_Bird
10-17 14:28:09.935 14539 14553 D xxx_KiwiAgent: >>>
10-17 14:28:09.935 14539 14553 D xxx_KiwiAgent: >>>
Ex: below log pattern showing fail to playback motion "001_P4_Tutorial010"
10-17 14:26:15.654 9688 9716 D xxx_NuwaCoreObj: +loadMotion:001_P4_Tutorial010
10-17 14:26:15.782 9688 9688 D xxx_OverlapWindowObj: KiWiService msg=6001
10-17 14:26:16.367 9688 9716 D xxx_NuwaCoreObj: -loadMotion:fail !!!!!!!! 001_P4_Tutorial010
10-17 14:26:16.368 9688 9716 E xxx_KiwiService: --motionStart(001_P4_Tutorial010) error!, mRobotController:com.nuwarobotics.service.NuwaCoreObj@108a224
10-17 14:26:16.368 9688 9716 D xxx_BaseService: send2OneAgent:test_app_1, CMD:[motion, motion_error, 001_P4_Tutorial010, path:default]
10-17 14:26:16.368 9688 9716 D xxx_DispatchService2: -task:motion_start_fadein, t:815
10-17 14:26:16.368 9688 9703 D xxx_BaseService: post send2OneAgent:[motion, motion_error, 001_P4_Tutorial010, path:default], clientid=test_app_1, data=null
10-17 14:26:16.368 14539 14565 D xxx_BaseAgent: proxy Svr cmd:[motion, motion_error, 001_P4_Tutorial010, path:default], data=null
10-17 14:26:16.369 14539 14565 D xxx_BaseAgent: send2User:[motion, motion_error, 001_P4_Tutorial010, path:default], data=null
10-17 14:26:16.369 14539 14553 D xxx_KiwiAgent: internalHandleEvent:[motion, motion_error, 001_P4_Tutorial010, path:default]
10-17 14:26:16.369 14539 14553 D xxx_KiwiAgent: !!!
10-17 14:26:16.369 14539 14553 D xxx_KiwiAgent: !!!
10-17 14:26:16.369 14539 14553 D xxx_KiwiAgent: !!! 001_P4_Tutorial010, path:default
10-17 14:26:16.369 14539 14553 D xxx_KiwiAgent: !!!
10-17 14:26:16.369 14539 14553 D xxx_KiwiAgent: !!!
If log shows pattern like "loadMotion:fail !!!!!!!! 001_P4_Tutorial010", it means the motion resource is not existed in the device for sure.
"Robot emulator" is only for the customer who signed the NDA w/ NUWA. If a customer needs the feature, please contact our PM for further information.
若是你手上的機器人是小丹,你可以用
1。startSpeech2Text(false), 取得colud回傳的字串,回傳的字串是簡體。
2。也可以呼叫startLocalCommand(),若辯識成功,則可以取得ifly local 辯識的結果, 內容是jsont格式的字串