大疆社区

标题: 【新固件更新】支持播放自定义语音,解锁全新玩法 [打印本页]

作者: RoboMaster S1    时间: 2020-5-21
标题: 【新固件更新】支持播放自定义语音,解锁全新玩法
[{"nameindex":"_3_1","type":3,"imgsrc":"static/image/video.jpg","url":"//player.bilibili.com/player.html?f=p&bvid=BV1eV411C7bQ","desc":"废话不多说 直接上教程"},{"nameindex":"_1_1","type":1,"imgsrc":"static/image/text.jpg","url":"","desc":"不知不觉我们RoboMaster App版本已经更新到1.1.2了,固件版本也已经升级到00.06.0100了。经历过前面几次的更新,S1又丰富拓展了其他新功能。\r\n \r\n这里给大家科普一下之前错过的亮点更新:\r\nV1.0.6版本,新增了音频播放功能,能够支持音符播放,开始能够自己编写曲目啦~\r\nV1.0.8版本,新增了对讲机功能和征服模式比赛。\r\nV1.1.0 版本,新增了编程接口,多机通讯接口,可以脱离云台单独运行。\r\n\r\n本次V1.1.2版本:\r\n1. 增加了自定义音频播放接口:现在我们可以在程序中播放对讲机里的音频啦\r\n2. 增加了电量获取接口和底盘旋转接口\r\n3. 增加了block的折叠展开功能:努力帮助大家更方便地查看block代码\r\n4. 增加了block的位置保存功能:可以记住上次保存程序时的block位置\r\n\r\n有了这个自定义音频新功能,我们就可以随意发挥我们的创造力啦!\r\n \r\n这里给大家举一个简单的例子:有了自定义播放语音功能,S1就可以变身家庭小管家。\r\n\r\n我们需要调用S1的行人识别功能模块,以此来作为自定义语音播放的出发条件。如下图:\r\n\r\n"},{"nameindex":"_2_634920","type":2,"imgsrc":"202005/21/201541mm44z8wklljggw4w.png","multi_size":{"small":"202005/21/201541mm44z8wklljggw4w.png@!550","large":"202005/21/201541mm44z8wklljggw4w.png@!1920","extra_large":"202005/21/201541mm44z8wklljggw4w.png@!2560","wide_450_360":"202005/21/201541mm44z8wklljggw4w.png@!450x360","medium":"202005/21/201541mm44z8wklljggw4w.png@!1200","square_360_360":"202005/21/201541mm44z8wklljggw4w.png@!360x360","standard_640_360":"202005/21/201541mm44z8wklljggw4w.png@!640x360"},"url":"202005/21/201541mm44z8wklljggw4w.png","desc":""},{"nameindex":"_1_2","type":1,"imgsrc":"static/image/text.jpg","url":"","desc":"通过行人识别模块,识别到行人来调用多媒体的播放自定义语音模块。\r\n\r\n自定语音的录制需要在单机驾驶中的对讲机功能提前录制后,方可在我的程序中进行导入语音。"},{"nameindex":"_2_634925","type":2,"imgsrc":"202005/21/202122uagfupzz9iuooopm.png","multi_size":{"small":"202005/21/202122uagfupzz9iuooopm.png@!550","large":"202005/21/202122uagfupzz9iuooopm.png@!1920","extra_large":"202005/21/202122uagfupzz9iuooopm.png@!2560","wide_450_360":"202005/21/202122uagfupzz9iuooopm.png@!450x360","medium":"202005/21/202122uagfupzz9iuooopm.png@!1200","square_360_360":"202005/21/202122uagfupzz9iuooopm.png@!360x360","standard_640_360":"202005/21/202122uagfupzz9iuooopm.png@!640x360"},"url":"202005/21/202122uagfupzz9iuooopm.png","desc":"进入单机驾驶"},{"nameindex":"_2_634928","type":2,"imgsrc":"202005/21/202147fm7zow7m5w71o57u.png","multi_size":{"small":"202005/21/202147fm7zow7m5w71o57u.png@!550","large":"202005/21/202147fm7zow7m5w71o57u.png@!1920","extra_large":"202005/21/202147fm7zow7m5w71o57u.png@!2560","wide_450_360":"202005/21/202147fm7zow7m5w71o57u.png@!450x360","medium":"202005/21/202147fm7zow7m5w71o57u.png@!1200","square_360_360":"202005/21/202147fm7zow7m5w71o57u.png@!360x360","standard_640_360":"202005/21/202147fm7zow7m5w71o57u.png@!640x360"},"url":"202005/21/202147fm7zow7m5w71o57u.png","desc":"在对讲机中录入自己想要播放的自定义语音"},{"nameindex":"_2_634929","type":2,"imgsrc":"202005/21/202208c6z6qeu66872ez24.png","multi_size":{"small":"202005/21/202208c6z6qeu66872ez24.png@!550","large":"202005/21/202208c6z6qeu66872ez24.png@!1920","extra_large":"202005/21/202208c6z6qeu66872ez24.png@!2560","wide_450_360":"202005/21/202208c6z6qeu66872ez24.png@!450x360","medium":"202005/21/202208c6z6qeu66872ez24.png@!1200","square_360_360":"202005/21/202208c6z6qeu66872ez24.png@!360x360","standard_640_360":"202005/21/202208c6z6qeu66872ez24.png@!640x360"},"url":"202005/21/202208c6z6qeu66872ez24.png","desc":"录入语音后海支持改名噢"},{"nameindex":"_2_634930","type":2,"imgsrc":"202005/21/202238r6jzs6651es63yee.png","multi_size":{"small":"202005/21/202238r6jzs6651es63yee.png@!550","large":"202005/21/202238r6jzs6651es63yee.png@!1920","extra_large":"202005/21/202238r6jzs6651es63yee.png@!2560","wide_450_360":"202005/21/202238r6jzs6651es63yee.png@!450x360","medium":"202005/21/202238r6jzs6651es63yee.png@!1200","square_360_360":"202005/21/202238r6jzs6651es63yee.png@!360x360","standard_640_360":"202005/21/202238r6jzs6651es63yee.png@!640x360"},"url":"202005/21/202238r6jzs6651es63yee.png","desc":""},{"nameindex":"_2_634933","type":2,"imgsrc":"202005/21/202528khr9jw1mr4fhhwgj.png","multi_size":{"small":"202005/21/202528khr9jw1mr4fhhwgj.png@!550","large":"202005/21/202528khr9jw1mr4fhhwgj.png@!1920","extra_large":"202005/21/202528khr9jw1mr4fhhwgj.png@!2560","wide_450_360":"202005/21/202528khr9jw1mr4fhhwgj.png@!450x360","medium":"202005/21/202528khr9jw1mr4fhhwgj.png@!1200","square_360_360":"202005/21/202528khr9jw1mr4fhhwgj.png@!360x360","standard_640_360":"202005/21/202528khr9jw1mr4fhhwgj.png@!640x360"},"url":"202005/21/202528khr9jw1mr4fhhwgj.png","desc":"*增加了block的位置保存功能:可以记住上次保存程序时的block位置\r\n"},{"nameindex":"_2_634932","type":2,"imgsrc":"202005/21/202443ehetjht2tyx4jhsp.png","multi_size":{"small":"202005/21/202443ehetjht2tyx4jhsp.png@!550","large":"202005/21/202443ehetjht2tyx4jhsp.png@!1920","extra_large":"202005/21/202443ehetjht2tyx4jhsp.png@!2560","wide_450_360":"202005/21/202443ehetjht2tyx4jhsp.png@!450x360","medium":"202005/21/202443ehetjht2tyx4jhsp.png@!1200","square_360_360":"202005/21/202443ehetjht2tyx4jhsp.png@!360x360","standard_640_360":"202005/21/202443ehetjht2tyx4jhsp.png@!640x360"},"url":"202005/21/202443ehetjht2tyx4jhsp.png","desc":"*增加了block的折叠展开功能:努力帮助大家更方便地查看block代码"},{"nameindex":"_1_3","type":1,"imgsrc":"static/image/text.jpg","url":"","desc":"导入自定义语音之后我们的S1小管家就基本完成了!它能够在识别到行人的时候发出提前录制好的语音,例如:“你好,欢迎回家!”\r\n \r\n这里小S再介绍一下刺激一点的玩法:攒够经验后,还可以将S1小管家升级成为家庭卫士,在你出远门的时候守卫家园。"},{"nameindex":"_2_634931","type":2,"imgsrc":"202005/21/202309pv3bsarpvbp3asn3.png","multi_size":{"small":"202005/21/202309pv3bsarpvbp3asn3.png@!550","large":"202005/21/202309pv3bsarpvbp3asn3.png@!1920","extra_large":"202005/21/202309pv3bsarpvbp3asn3.png@!2560","wide_450_360":"202005/21/202309pv3bsarpvbp3asn3.png@!450x360","medium":"202005/21/202309pv3bsarpvbp3asn3.png@!1200","square_360_360":"202005/21/202309pv3bsarpvbp3asn3.png@!360x360","standard_640_360":"202005/21/202309pv3bsarpvbp3asn3.png@!640x360"},"url":"202005/21/202309pv3bsarpvbp3asn3.png","desc":"*加入水弹射击模式,同时播放警告声音,在有人闯入的时候自动触发警报。"},{"nameindex":"_1_4","type":1,"imgsrc":"static/image/text.jpg","url":"","desc":"这样你的家就很安全啦!\r\n\r\n另外,在这里在介绍另外两个小细节优化。\r\n\r\n现在你可以通过长按block模块,实现模块折叠,让你的程序界面更加简洁一目十行!\r\n\r\n同时现在也不会自动归位独立的block模块,当我们再次打开的时候block模块还是会在那里乖乖地等着我们。\r\n"},{"nameindex":"_1_5","type":1,"imgsrc":"static/image/text.jpg","url":"","desc":"我们程序员小哥哥每天都在辛勤地掉头发给我们亲爱的S1玩家们创造更好的体验哦!大家记得更新app和固件哦!这是对我们程序员小哥哥发际线的最大鼓舞!\r\n \r\n下期玩法再见!"}]
作者: PilotX    时间: 2020-5-21
不考虑电量吗,十几分钟怎么守护家园?
作者: 无邪7    时间: 2020-5-21
要是能无线充电,在家里待机状态一直保持充电就好了。24小时在线。
作者: RoboMaster S1    时间: 2020-5-22
PilotX5-21 21:10
不考虑电量吗,十几分钟怎么守护家园?
出门买菜要那么久吗
作者: RoboMaster S1    时间: 2020-5-22
无邪75-21 23:33
要是能无线充电,在家里待机状态一直保持充电就好了。24小时在线。
实不相瞒 你可以改一个长期供电系统
作者: aniok    时间: 2022-5-25

作者: ygy    时间: 2023-3-7
ep新固件在py编程的时候time模块被ban了,快修一下求求了




欢迎光临 大疆社区 (https://bbs.dji.com/) Powered by Discuz! X3.2