Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
677951d
feat: update catalogue (#286)
Woodii1998 Apr 28, 2025
8a4ceb6
Add Translations for Custom Panels and some broken links fix (#288)
yujingz May 12, 2025
5670794
Fix/broken links (#289)
yujingz May 12, 2025
d3d380b
New user-case: online-simulation-test (#291)
Fredzengfafa May 21, 2025
e6a2caf
Data Record Solution (#293)
Fredzengfafa May 26, 2025
aaddba0
renaming for beterr linuix support
yujingz May 26, 2025
70c7c83
Update embodied intelligence data collection solution documentation a…
yujingz May 26, 2025
a161dfd
Heterogeneous Robot Data Factory Docs 1.0 (#296)
Fredzengfafa Jun 3, 2025
3fa0afc
Better Links (#297)
yujingz Jun 3, 2025
0b6c126
Faster Builds (#298)
yujingz Jun 12, 2025
3787142
update changelog
heqi Jun 13, 2025
caec679
fix changelog
heqi Jun 13, 2025
2707ccd
updated changelog,device,rules (#299)
xiranyu01 Jun 13, 2025
9ec465f
enable device and homepage catalogue (#301)
heqi Jun 13, 2025
1ad61ec
Merge branch 'master' into dev
heqi Jun 13, 2025
98cba5c
Merge branch 'master' into dev
heqi Jun 19, 2025
93c3129
新增设备采集器文档中的模板语法使用部分,详细介绍了模板语法的概述、基本语法、支持的变量及时间格式化选项,提升了文档的可读性和实用性。 (#…
Woodii1998 Jun 19, 2025
cfe97f1
Add simulation translation (#305)
yujingz Jun 23, 2025
6cbf9a6
Merge branch 'master' into dev
yujingz Jun 27, 2025
406d760
Doc: update device config info (#308)
renyijiu Jun 27, 2025
44543c7
Feat/project resource (#307)
yujingz Jun 28, 2025
7c5c282
merge upstream changes
yujingz Jul 4, 2025
335653d
Feat/add token runtime info (#313)
yujingz Jul 8, 2025
755de86
add view client information hashtag (#315)
heqi Jul 8, 2025
aad3baf
colistener collect (#312)
heqi Jul 8, 2025
1a29b46
Changelog (#316)
xiranyu01 Jul 9, 2025
15b99a0
merge upstream
yujingz Jul 15, 2025
5d9e479
Update coCLI latest changes (#319)
yujingz Jul 24, 2025
84829f2
Create records by convention in Action (#321)
yujingz Jul 24, 2025
5d2f0b0
feat: add cocli category
heqi Jul 29, 2025
f260fd7
updated devcie & collect & some pages (#323)
xiranyu01 Jul 30, 2025
1a0396f
update catalogue; uninstall device command (#324)
heqi Jul 31, 2025
f5d4d5e
25.31 changelog (#325)
xiranyu01 Jul 31, 2025
fca4cc5
Update: Open API link in docusaurus.config.js to fix to new S3 storag…
Woodii1998 Aug 11, 2025
63bbde8
Merge branch 'master' into dev
heqi Aug 11, 2025
f3f3967
Feat/data collection (#331)
xiranyu01 Aug 19, 2025
d45bb57
Feat/changelog (#332)
xiranyu01 Aug 19, 2025
f359228
Merge branch 'master' into dev
heqi Aug 19, 2025
58d9ff7
add information of service definition. (#318)
Fredzengfafa Sep 2, 2025
d9d3528
fix: openapi url (#336)
heqi Sep 6, 2025
191b7bf
Merge branch 'master' into dev
heqi Sep 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/deploy-to-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@ jobs:
- name: Build website with English locale
run: |
# Temporarily modify the default locale to English
sed -i 's/defaultLocale: '\''zh'\''/defaultLocale: '\''en'\''/' docusaurus.config.js

# Uncomment and update Algolia search path for GitHub Pages deployment
sed -i '/{ type: '\''localeDropdown'\'', position: '\''right'\'' }/d' docusaurus.config.js
sed -i -e "s/defaultLocale: 'zh'/defaultLocale: 'en'/" -e "s/locales: \['zh', 'en'\]/locales: \['en'\]/" -e 's|coscene.cn|coscene.io|g' docusaurus.config.js
sed -i -e "s/defaultLocale: 'zh'/defaultLocale: 'en'/" -e "s/locales: \['zh', 'en'\]/locales: \['en'\]/" -e 's|download.coscene.cn|coscene-download.s3.us-east-1.amazonaws.com|g' -e 's|coscene.cn|coscene.io|g' docusaurus.config.js

find docs blog src i18n -type f \( -name "*.md" -o -name "*.mdx" -o -name "*.js" -o -name "*.ts" -name "*.tsx" -o -name "*.json" \) -exec sed -i -e 's|https://coscene.cn|https://portal.coscene.io|g' {} +
find docs blog src i18n -type f \( -name "*.md" -o -name "*.mdx" -o -name "*.js" -o -name "*.ts" -name "*.tsx" -o -name "*.json" \) -exec sed -i -e 's|coscene.cn|coscene.io|g' {} +

Expand Down
77 changes: 76 additions & 1 deletion docs/use-case/5-heterogeneous-robot-data-factory.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,82 @@ sidebar_position: 5
## 准备与启动 ROS node

- 机器人本体上需要有可以提供 **service** 的**数据录制节点**,并且提供 **开始录制** (如/start_record), **取消录制** (如/cancel_record), **结束录制** (如/stop_record)之类的服务供刻行时空调用。
-- **注意:**: 目前只支持**service** 类型的消息。
-- **注意:**
1. /start_record service

e.g.:
```C++
# request
string record_opt
---
# response
bool success
string message
```
start_record request 无任何要求,可以在此处添加一些例如 `saving directory` 等字段, 供`数据录制节点`使用。

start_record response 必须需包含 `success` 和 `message` 字段, 用于通知 web 端是否已经成功开启了录制功能。

2. /cancel_record service

e.g.:
```C++
# request
bool auto_remove # remove bags that are recorded
---
# response
bool success
string message
```
cancel_record request 无任何要求,可以在此处添加一些例如 `auto_remove` 等字段, 供`数据录制节点`使用。

cancel_record response 必须需包含 `success` 和 `message` 字段, 用于通知 web 端是否已经成功取消了录制功能。

3. /stop_record service

e.g.:
```C++
# request
---
# response
bool success
string type
string message
string record_name
string[] tags
string[] files
```
stop_record request 无任何要求,可以在此处添加一些字段, 供`数据录制节点`使用。

stop_record response 必须需包含示例中的所有字段。

| 字段 | 含义 | 备注 |
|-------------|--------------------------------------|--------------------------------------------------------------------------------------------------|
| success | 停止录制是否成功 | 不可为空 |
| type | 是否需要上传录制的包 | 不可为空,type 的值为以下之一:<br/> "NORMAL": 需要把生成的bag上传<br/>"SKIP_CAPTURE":采集出现问题(e.g.: 未能通过bag质量检测),不需要上传 |
| message | success 为 false时, 用于返回 error message | 可以为空 |
| record_name | 指定平台记录的名称 | 如果record_name=="", 则使用默认 record 名称 "deviceSN-startTime" |
| tags | 对 record 添加的 tag | 可以为空 |
| files | 需要上传的文件列表 | 不可为空 |

**response示例:**
```json
{
"success": true,
"type": "NORMAL",
"message": "采集成功",
"record_name": "",
"tags": ["01", "02"],
"files": [
"/home/cos/bags/1.bag",
"/home/cos/bags/2.bag",
"/home/cos/bags/3.bag"
]
}
```



- 启动 coBridge 前需 source **数据录制节点** 的 workspace 环境变量。
- 示例启动脚本(请根据实际情况修改):
```bash
Expand Down
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const config = {
{ href: 'https://www.coscene.cn', label: '官方网站', position: 'right' },
{ href: 'https://github.com/coscene-io', label: 'GitHub', position: 'right' },
{
href: 'https://petstore.swagger.io/?url=https://coscene-download.s3.us-east-1.amazonaws.com/openapi/openapi.yaml',
href: 'https://petstore.swagger.io/?url=https://download.coscene.cn/openapi/openapi.yaml',
label: 'OpenAPI',
position: 'right',
},
Expand Down