Skip to content

Commit 39edb6f

Browse files
heqiyujingzzhexuanyxiranyu01yu xiran
authored
release v25.15.0 (#270)
* init dev deploy action * update dev bucket trigger update deployment target url Add development environment indicator to Docusaurus config * Restructure docs toc * fix building * remove number prefix from folder's name in docs * reorg docs structures * rm unused img files * undo changes in i18n * undo changes in i18n * continue to reorg structure * continue reorg the structure of docs * finish record * cleanup temp img files * finish task and comment * finish client apps * finish concepts * finish coscene command line * finish openapi * finish docs * finish device * finish image * finish data diagnosis * tmp saving * i18n building pass * Configure docs as landing page and remove unused pages * Update deployment notification message in GitHub Actions workflow * Localize deployment notification text to Chinese * Add emoji for better visual clarity * Improve readability of deployment information * add cursor rules for some repo knowledge * Hide navbar title in both light and dark themes * Update Changelog * Update i18n translations for Docusaurus theme and sidebar categories - Add new translations for search-related UI elements in code.json - Update sidebar category translations in current.json - Modify footer and navbar translations - Specify English locale for write-translations script in package.json * feat: doc url fragment * Backport Panel Updates to Dev (#230) * Add documentation for Publish, Service Call, and Teleop Panels - Create new markdown files for three visualization panels in Chinese and English - Add corresponding panel screenshots in both language directories - Document panel features, configuration options, and usage instructions - Cover panels for publishing messages, calling services, and remote robot control * Update image paths and alt text for Publish, Service Call, and Teleop Panel docs * Sync Upstream Changes (#231) * Update Rules Docs * adding rules file to master * finish i18n * fix anchors error * Update Changelog 0208 (#224) * update: changelog for version 25.6.0 * update: changelog for version 25.6.0 * slight tweak --------- Co-authored-by: yu xiran <[email protected]> Co-authored-by: Yujing Zheng <[email protected]> * Remove empty data diagnosis rule documentation file * Update Adding Rules (#226) * update: changelog for version 25.6.0 * update: changelog for version 25.6.0 * docs: update rule content structure * remove the extra packagejson lock --------- Co-authored-by: yu xiran <[email protected]> * feat: add `teleop panel`, `service panel`, `publish panel` docs (#220) * I must enjoy torturing myself * some stuff working haha * I'm sorry. * Refactor and improve documentation for Publish, Service, and Teleop panels - Enhanced clarity and readability of panel documentation - Updated configuration and usage instructions - Improved technical descriptions and formatting - Added more precise explanations of panel functionalities - Synchronized Chinese and English documentation --------- Co-authored-by: Yujing Zheng <[email protected]> * docs: update rule content structure & coBridge (#227) * docs: update rule content structure & coBridge * chore(deps): bump dependencies in package.json and pnpm-lock.yaml - Update postcss from 8.5.1 to 8.5.2 - Update prettier from 3.4.2 to 3.5.0 - Update various Algolia and Babel-related dependencies - Minor version bumps for other development dependencies * update add rule * fix: resolve merge conflicts in data diagnosis rule documentation * Update 2-get-started.md * Update 3-add-rule.md * Update 2-get-started.md --------- Co-authored-by: yu xiran <[email protected]> Co-authored-by: Yujing Zheng <[email protected]> * docs: update data diagnosis documentation images and configuration * refactoring names --------- Co-authored-by: Zhexuan Yang <[email protected]> Co-authored-by: xiranyu <[email protected]> Co-authored-by: yu xiran <[email protected]> Co-authored-by: fei.gao <[email protected]> * feat: add home page (#235) * add home page * docs * move CATALOGUE * add link * update CATALOGUE * update category * update link * update code.json * action i18n * sidebar i18n * update width * panel folder * panel i18n * build fix * overview * feat: home page header (#237) * add header image * i18n * update font size * image url * Remove unused assets (#238) * remove unused zhcn images * remove a few en dup images * remove unused en images * update changelog (#241) * feat: update logo svg (#240) * feat: update record doc (#242) * update record * hide image * update link * fix image --------- Co-authored-by: xiran.yu <[email protected]> * add teambition integration (#243) * add teambition integration * delete npm * feat: batch remote command doc (#245) * feat: batch remote command doc * update doc sidebar position * rename md * update doc title * add tag * update image * remote command * en markdown * i18n * clean up * device en * translate * remote cmd * fix link * update doc * feat: add legel and data security docs (#244) * feat: add legel and data security docs * fix: announcementBar site_url (#246) * fix: development announcement bar (#247) * test process.env.environment * output env * add DEPLOY_ENV * update content * fix content * feat: use html link to download json file (#250) * feat: use html link to download json file * Feat/record viz (#252) * feat: update record&viz * docs:updated record & viz * fix doc catalogue * update doc name --------- Co-authored-by: Qi He <[email protected]> * Feat:add `coStudio` usage docs (#254) * feat: add coStudio realtime viz docs * Update: device docs (#255) * Add rules (#222) * Feat/update terms (#257) * fix: 更新隐私政策页面的最后更新日期 (#249) * feat: update terms * I'm just going to blame Copilot for that one. * Update cloud test (#259) * proper naming things * sprint 25.12 changelog (#261) * Create GH Pages Release for Oversea Access (#263) * Add github aciton to deploy to gh-pages * fix lockfile * add test trigger * deploy to gh pages * adjust notification hook * cleanup workflow * refactor * fix homepage catealoug naming * rename part1 * rename part2 * init translation for costudio * update some assets * refactoring * Feat/doc project (#264) * updated project * docs: update collaboration, getting started * fix link * docs: update title * fix md link --------- Co-authored-by: Qi He <[email protected]> * chore: update configuration for Algolia and add .env to .gitignore (#266) * chore: update configuration for Algolia and add .env to .gitignore - Moved Algolia configuration to environment variables for better security. - Added .env file to .gitignore to prevent sensitive information from being tracked. - Updated GitHub Actions workflow to include environment variables for deployment. * update with vars: * try new index * Add cname for io build * cleanup * feat: add rule related docs concerning cel and timestamp conversion and format (#234) * feat: add rule related docs concerning cel and timestamp conversion and format * nit --------- Co-authored-by: Yujing Zheng <[email protected]> * feat: add rule en screenshot (#267) * feat: update rule image * update image * update image * update image * updated workfolw, some rules (#268) * updated workfolw, some rules * update catalogue * remove doc * link fix --------- Co-authored-by: Qi He <[email protected]> * feat: add docs of apt install (#265) * feat: general data collection - en screenshot (#269) * feat: general data collection - en screenshot * update text --------- Co-authored-by: Yujing Zheng <[email protected]> Co-authored-by: Zhexuan Yang <[email protected]> Co-authored-by: Yujing Zheng <[email protected]> Co-authored-by: xiranyu <[email protected]> Co-authored-by: yu xiran <[email protected]> Co-authored-by: fei.gao <[email protected]> Co-authored-by: xiran.yu <[email protected]> Co-authored-by: Woodii <[email protected]> Co-authored-by: Zhexuan Yang <[email protected]> Co-authored-by: ShuhaoQing <[email protected]>
1 parent 66227c0 commit 39edb6f

File tree

515 files changed

+10945
-8141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

515 files changed

+10945
-8141
lines changed
+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
deploy:
14+
name: Deploy to GitHub Pages
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 2
21+
22+
- uses: pnpm/action-setup@v4
23+
with:
24+
version: 9
25+
26+
- name: Setup Node env
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: '20'
30+
cache: 'pnpm'
31+
32+
- name: Install Dependencies
33+
run: pnpm install --frozen-lockfile
34+
35+
- name: Build website with English locale
36+
run: |
37+
# Temporarily modify the default locale to English
38+
sed -i 's/defaultLocale: '\''zh'\''/defaultLocale: '\''en'\''/' docusaurus.config.js
39+
40+
# Uncomment and update Algolia search path for GitHub Pages deployment
41+
sed -i '/replaceSearchResultPathname: {/,/},/ s/^ \/\/ / /' docusaurus.config.js
42+
sed -i 's|from: '\''/docs/'\''|from: '\''/en/'\''|' docusaurus.config.js
43+
44+
pnpm build
45+
echo "docs.coscene.io" > ./build/CNAME
46+
47+
- name: Deploy to GH Pages
48+
uses: peaceiris/actions-gh-pages@v4
49+
with:
50+
github_token: ${{ secrets.GITHUB_TOKEN }}
51+
publish_dir: ./build
52+
53+
- name: Notification to Feishu
54+
uses: foxundermoon/feishu-action@v2
55+
with:
56+
url: ${{ secrets.FEISHU_BOT_WEBHOOK_URL_RHODE_ISLAND }}
57+
msg_type: text
58+
content: |
59+
text: |
60+
🚀 coScene Docs 海外版本部署完成
61+
👨‍💻 部署人员:${{ github.actor }}
62+
🔗 访问地址:https://docs.coscene.io

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,6 @@ yarn-error.log*
3030

3131
# generated pdf files
3232
/pdf
33+
34+
# env
35+
.env

docs/coStudio/1-connect-by-cobridge.md renamed to docs/client/1-connect-by-cobridge.md

+17-10
Original file line numberDiff line numberDiff line change
@@ -7,45 +7,52 @@ sidebar_position: 1
77
[coBridge](https://github.com/coscene-io/coBridge) 是刻行时空提供的一款开源机端软件,目前支持 **ros1** `noetic`**ros2** `foxy``humble` 版本。cobridge 会以 ros node 的方式运行在机器人端,并通过 websocket 方式与云端进行交互。cobridge 与云端建立链接后,根据云端指令可以实现订阅 ros topic,调用 ros service,实现实时监控机器人状态、远程下发指令等功能。
88

99
## 安装 coBridge
10+
1011
在机器端,打开 terminal,依照以下流程安装 coBridge。
12+
1113
1. 导入公钥。
14+
1215
```bash
13-
wget https://coscene-download.oss-cn-hangzhou.aliyuncs.com/cobridge/coscene.gpg && sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/coscene.gpg coscene.gpg
16+
wget https://download.coscene.cn/cobridge/coscene.gpg && sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/coscene.gpg coscene.gpg
1417
```
1518

1619
2. 添加源。
20+
1721
```bash
18-
echo "deb [signed-by=/etc/apt/trusted.gpg.d/coscene.gpg] https://coscene-download.oss-cn-hangzhou.aliyuncs.com/cobridge $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/cobridge.list
22+
echo "deb [signed-by=/etc/apt/trusted.gpg.d/coscene.gpg] https://download.coscene.cn/cobridge $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/cobridge.list
1923
```
2024

2125
3. 更新apt并安装。
26+
2227
```bash
2328
sudo apt update
2429
# 注意: 如果 ROS_DISTRO 没有在你的环境变量里面,${ROS_DISTRO} 需要被 'noetic', 'foxy' or 'humble' 替换
2530
sudo apt install ros-${ROS_DISTRO}-cobridge -y
2631
```
2732

2833
4. 运行 coBridge。
34+
2935
```bash
3036
source /opt/ros/${ROS_DISTRO}/setup.bash
31-
37+
3238
# for ros 1 distribution
3339
roslaunch cobridge cobridge.launch
34-
40+
3541
# for ros 2 distribution
36-
ros2 launch cobridge cobridge_launch.xml
42+
ros2 launch cobridge cobridge_launch.xml
3743
```
3844

3945
## 使用 coStudio 对机器进行实时可视化
46+
4047
1. 下载 [coStudio](https://www.coscene.cn/download)
4148
2. 开启 coStudio 后,选择 “打开连接” 功能。
42-
![打开连接](./img/1-1-open-connection-cn.png)
49+
![打开连接](./img/1-open-connection.png)
4350
3. 选择 coScene Websocket 选项,在 WebSocket URL 中输入连接地址。`ws://localhost:21274` **( 21274 为 coBridge 的默认端口号 )**
44-
![选择连接](./img/1-2-select-connection-cn.png)
51+
![选择连接](./img/1-select-connection.png)
4552
4. 打开后即可使用不同面板对机器数据进行实时可视化。
46-
![实时可视化](./img/1-3-realtime-viz-cn.png)
53+
![实时可视化](./img/1-realtime-viz.png)
4754

4855
## 可视化相关参考链接
49-
* 面板相关设置:[面板设置](https://docs.coscene.cn/docs/category/panel)
50-
* 布局相关设置:[布局](https://docs.coscene.cn/docs/viz/layout)
5156

57+
- 面板相关设置:[面板设置](https://docs.coscene.cn/docs/category/panel)
58+
- 布局相关设置:[布局](https://docs.coscene.cn/docs/viz/layout)

docs/client/2-apt-source-install.md

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
sidebar_position: 2
3+
---
4+
5+
# 通过 APT 安装 coScene 软件
6+
7+
## 添加 coScene GPG key
8+
9+
``` bash
10+
curl -fsSL https://apt.coscene.cn/coscene.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/coscene.gpg
11+
```
12+
13+
## 添加仓库到源列表
14+
15+
``` bash
16+
echo "deb [signed-by=/etc/apt/trusted.gpg.d/coscene.gpg] https://apt.coscene.cn $(. /etc/os-release && echo $UBUNTU_CODENAME) main stable" | sudo tee /etc/apt/sources.list.d/coscene.list
17+
```
18+
19+
## 更新 APT 仓库
20+
21+
```bash
22+
sudo apt update
23+
```
24+
25+
## 安装软件
26+
27+
APT 仓库更新后,你就可以安装 coScene 的软件了。
28+
29+
* coStudio
30+
31+
![安装coStudio](./img/2-install-costudio.png)
32+
```bash
33+
sudo apt install coStudio
34+
```
35+
36+
* coBridge
37+
38+
![安装coBridge](./img/2-install-cobridge.png)
39+
```bash
40+
sudo apt install ros-${ROS_DISTRO}-cobridge
41+
```
42+
43+
* coListener
44+
45+
![安装coListener](./img/2-install-colistener.png)
46+
```bash
47+
sudo apt install ros-${ROS_DISTRO}-colistener
48+
```
49+

docs/client/_category_.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"label": "客户端",
3+
"position": 12,
4+
"collapsible": true,
5+
"link": {
6+
"type": "generated-index",
7+
"slug": "/category/client"
8+
}
9+
}

docs/client/img/1-open-connection.png

264 KB
Loading
219 KB
Loading
15.1 KB
Loading
14.4 KB
Loading
10.2 KB
Loading

docs/coStudio/_category_.json

-10
This file was deleted.
-77.8 KB
Binary file not shown.
-62.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)