Skip to content

Commit 495bd71

Browse files
authored
Update coBridge guide(#317)
* remove the installation to source the single installation guide * remove duplicates and put back launch code after install
1 parent 41cfec0 commit 495bd71

File tree

11 files changed

+4
-164
lines changed

11 files changed

+4
-164
lines changed

docs/client/1-connect-by-cobridge.md

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,9 @@ sidebar_position: 1
66

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

9-
## 安装 coBridge
9+
## 准备 coBridge {#prepare-cobridge}
1010

11-
在机器端,打开 terminal,依照以下流程安装 coBridge。
12-
13-
1. 导入公钥。
14-
15-
```bash
16-
wget https://download.coscene.cn/cobridge/coscene.gpg && sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/coscene.gpg coscene.gpg
17-
```
18-
19-
2. 添加源。
20-
21-
```bash
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
23-
```
24-
25-
3. 更新apt并安装。
26-
27-
```bash
28-
sudo apt update
29-
# 注意: 如果 ROS_DISTRO 没有在你的环境变量里面,${ROS_DISTRO} 需要被 'noetic', 'foxy' or 'humble' 替换
30-
sudo apt install ros-${ROS_DISTRO}-cobridge -y
31-
```
32-
33-
4. 运行 coBridge。
11+
请参照 [使用 APT 安装 coScene 软件](./2-apt-source-install.md) 安装 `coBridge` 软件,安装完成后,启动 `coBridge`
3412

3513
```bash
3614
source /opt/ros/${ROS_DISTRO}/setup.bash

i18n/en/docusaurus-plugin-content-docs/current/client/1-connect-by-cobridge.md

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,9 @@ sidebar_position: 1
66

77
[coBridge](https://github.com/coscene-io/coBridge) is an open-source edge software provided by coScene, currently supporting **ros1** `noetic`, **ros2** `foxy` and `humble` versions. coBridge runs as a ros node on the robot side and interacts with the cloud through websocket connections. After establishing a connection with the cloud, coBridge can subscribe to ros topics and call ros services based on cloud commands, enabling real-time robot status monitoring, remote command deployment, and other functionalities.
88

9-
## Install coBridge
9+
## Prepare coBridge {#prepare-cobridge}
1010

11-
On the device side, open a terminal and follow these steps to install coBridge.
12-
13-
1. Import the public key.
14-
15-
```bash
16-
wget https://download.coscene.cn/cobridge/coscene.gpg && sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/coscene.gpg coscene.gpg
17-
```
18-
19-
2. Add the source.
20-
21-
```bash
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
23-
```
24-
25-
3. Update apt and install.
26-
27-
```bash
28-
sudo apt update
29-
# Note: If ROS_DISTRO is not in your environment variables, ${ROS_DISTRO} should be replaced with 'noetic', 'foxy' or 'humble'
30-
sudo apt install ros-${ROS_DISTRO}-cobridge -y
31-
```
32-
33-
4. Run coBridge.
11+
Please refer to [Install coScene Software Using APT](./2-apt-source-install.md) to install coBridge. Launch the ROS node afterwards.
3412

3513
```bash
3614
source /opt/ros/${ROS_DISTRO}/setup.bash

i18n/en/docusaurus-plugin-content-docs/current/costudio/1-connect-by-cobridge.md

Lines changed: 0 additions & 58 deletions
This file was deleted.

i18n/en/docusaurus-plugin-content-docs/current/costudio/2-apt-source-install.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

i18n/en/docusaurus-plugin-content-docs/current/costudio/_category_.json

Lines changed: 0 additions & 9 deletions
This file was deleted.
-277 KB
Binary file not shown.
-309 KB
Binary file not shown.
-437 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-14.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)