The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
csg-robomaster [中文] [English]
[OpenCSG Community] [github] [wechat] [Twitter]
OpenCSG stands for Converged resources, Software refinement, and Generative LM. The 'C' represents Converged resources, indicating the integration and full utilization of hybrid resources. The 'S' stands for Software refinement, signifying software that is refined by large models. The 'G' represents Generative LM, which denotes widespread, inclusive, and democratized generative large models.The vision of OpenCSG is to empower every industry, every company, and every individual to own their models. We adhere to the principles of openness and open source, making the large model software stack of OpenCSG available to the community. We welcome everyone to use, send feedback, and contribute collaboratively.
Getting Started
Create a new python environment for robomaster and dora-rs
conda create -n robomaster python=3.8
pip install robomaster dora-rs==0.3.4
pip install -r requirements_robot.txt
Robomaster Jailbreak
Installation of the Robomaster S1 Hack
This guide is an updated version of the original Robomaster S1 SDK Hack Guide and is intended for use on a Windows 11 system.
Prerequisites
Before you get started, you'll need the following:
- Robomaster S1 (do not update it to the latest version, as it may block the hack).
- Robomaster App.
- Android SDK Platform-Tools. Simply unzip it and keep the path handy.
- A micro USB cable. If this guide doesn't work, there might be an issue with the cable, and you may need to replace it with one that supports data transfer.
Instructions
Start the Robomaster App and connect the Robomaster S1 using one of the two options provided (via router or via Wi-Fi).
While connected, use a micro USB cable to connect the robot to the computer's USB port. You should hear a beep sound, similar to when you connect any device. (Please note that no other Android device should be connected via USB during this process).
In the Lab section of the app, create a new Python application and paste the following code:
def root_me(module): __import__ = rm_define.__dict__['__builtins__']['__import__'] return __import__(module, globals(), locals(), [], 0) builtins = root_me('builtins') subprocess = root_me('subprocess') proc = subprocess.Popen('/system/bin/adb_en.sh', shell=True, executable='/system/bin/sh', stdout=subprocess.PIPE, stderr=subprocess.PIPE)
Run the code; there should be no errors, and the console should display Execution Complete
Without closing the app, navigate to the folder containing the Android SDK Platform-Tools and open a terminal inside it.
Run the ADP command
.\adb.exe devices
. If everything is working correctly, you should see output similar to this:Execute the upload.sh script located in the folder
s1_SDK
.Once everything has been executed, restart the S1 by turning it off and then back on. While it's booting up, you should hear two chimes instead of the usual single chime, indicating that the hack has been successful.
Robomaster Connection
Make sure to be connected using the wifi hotspot of the robomaster which is the most stable one.
The default password for the hotpsot is: 12341234
You might need to have a second wifi card if you want to be able to run the demo with internet on.
Post-Installation test
Please try running model operators and robomaster with:
conda activate robomaster
cd examples/hf-operator
python test_sta.py
Running the demo
# This requires dora==0.3.4
# cargo install dora-cli
dora up
dora start graphs/dataflow_robot_vlm.yml --attach --hot-reload
Kill process in case of failure
Due to a Python GIL issue, we currently meed to kill processes manually. You can use the following command to do so:
pkill -f 'import dora;'
LICENSE
Apache-2.0
OpenCSG介绍
[OpenCSG 社区] [github] [微信] [推特]
OpenCSG中 Open是开源开放;C 代表 Converged resources,整合和充分利用的混合异构资源优势,算力降本增效;S 代表 Software refined,重新定义软件的交付方式,通过大模型驱动软件开发,人力降本增效;G 代表 Generative LM,大众化、普惠化和民主化的可商用的开源生成式大模型。OpenCSG的愿景是让每个行业、每个公司、每个人都拥有自己的模型。 我们坚持开源开放的原则,将OpenCSG的大模型软件栈开源到社区,欢迎使用、反馈和参与共建,欢迎关注。
快速开始
为了在RoboMaster S1上部署小型语言模型,需要进行一些基础部署工作。首先,通过以下命令下载相关项目代码: git clone https://opencsg.com/codes/csg-robomaster 接下来,创建项目的环境,使用以下命令: conda create -n robomaster python=3.8 pip install robomaster dora-rs==0.3.4 pip install -r requirements_robot.txt 接着,需要进行RoboMaster S1的破解工作。具体步骤如下:
启动RoboMaster应用程序,并选择通过路由器或通过WLAN的方式连接RoboMaster S1。
连接成功后,使用微型USB电缆将RoboMaster S1连接到计算机的USB端口。连接成功时会听到一声“哔”的声音,类似于连接任何设备时的声音。(请注意,在此过程中不得通过USB连接其他安卓设备)
在应用程序的“实验室”部分,创建一个新的Python应用程序,并粘贴以下代码:
def root_me(module): __import__ = rm_define.__dict__['__builtins__']['__import__'] return __import__(module, globals(), locals(), [], 0) builtins = root_me('builtins') subprocess = root_me('subprocess') proc = subprocess.Popen('/system/bin/adb_en.sh', shell=True, executable='/system/bin/sh', stdout=subprocess.PIPE, stderr=subprocess.PIPE)
运行代码,如果没有出现错误,控制台应显示“执行完毕”的结果。
在不关闭应用程序的情况下,导航至包含Android SDK Platform-Tools文件夹的位置,并在其中打开终端。
运行 ADP 命令 .\adb.exe devices 。 如果一切正常,应该会看到类似下面的输出:
- 执行位于 s1_SDK 文件夹中的 upload.sh 脚本。
- 当所有步骤执行完毕后,关闭RoboMaster S1并重新启动。在启动过程中,您应该会听到两声鸣叫,而不是通常的一声鸣叫,这表明破解操作已成功。 完成基础部署后,就可以进行RoboMaster S1的连接与测试。具体步骤如下:
- 确保使用稳定的RoboMaster无线热点连接,无线热点的默认密码是12341234。如果想在联网的情况下运行演示程序,可能需要使用第二张无线网卡。
- 尝试使用以下命令测试与RoboMaster S1的连接:
conda activate robomaster
cd examples/hf-operator
python test_sta.py
也可以直接在命令行中运行测试文件中的代码。如果通信成功,控制台将显示类似下面的输出:
成功连接并测试后,就可以运行具身智能机器人的演示程序了。在命令行中使用以下命令:
# This requires dora==0.3.4
# cargo install dora-cli
dora up
dora start graphs/dataflow_robot_vlm.yml --attach --hot-reload
目前,互动方式是在笔记本电脑上按下向上箭头键,将信息录制并发送到机器人的视觉语言模型(Visual Language Model,VLM)。这一基础部署工作为RoboMaster S1上的具身智能机器人开发奠定了坚实的基础。通过结合小型语言模型和具身智能的人性化交互设计,具身智能机器人不仅将广泛应用于家庭、教育和医疗等行业,提供个性化的服务,还将推动智能技术在更广泛的场景中的普及。
- Downloads last month
- 421