1 root s1
使用robomaster app,打开实验室,新建python文件,输入如下代码:
def root_me(module):
__import__=rm_define.__dict__['__builtins__']['__import__']
return __import__(module,globals(),locals(),[],0)
builtins=root_me('builtins')
subrocess=root_me('subpro'+'cess')
proc=subrocess.Popen('/system/bin/adb_en.sh',shell=True,executable='/system/bin/sh',stdout=subrocess.PIPE,stderr=subrocess.PIPE)
运行即可
然后用micdjiro-usb链接到智能中控的接口,是在连接模式(AP热点/路由器)旁边的接口。如图:
连接接口8
随后打开终端,将bin、sdk复制到主目录。执行命令文件(批处理)