You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/platform/ecu/protocol.md
+32-40Lines changed: 32 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,25 @@
1
1
# Shassis Controller Communication Protocol
2
2
3
3
## 1. Overview
4
-
This protocol is designed for communication between a ROS2 system running on platforms such as RPI and a chassis controller operating on hardware like BeagleBone Blue or STM32. It supports both TCP and UART, allowing for a seamless future transition between the two communication methods.
4
+
This protocol is designed for communication between a ROS2 system running on platforms such as RPI and a chassis controller operating on hardware like BeagleBone Blue or STM32. It uses UARTfor communication.
5
5
6
6
## 2. Protocol Architecture
7
7
The protocol consists of two layers:
8
-
1.**Frame Layer (Layer 1)** – Ensures data integrity, required only for UART.
9
-
2.**Protocol Layer (Layer 2)** – Defines the core communication commands.
8
+
1.**Data Link Layer** – Ensures data integrity.
9
+
2.**Application Layer** – Defines the core communication commands.
10
10
11
-
### 2.1. Frame Layer (Layer 1) – UART Only
12
-
**(Not used in TCP mode)**
13
-
The frame layer is **only applicable when using UART**, as UART does not guarantee message integrity or completeness.
11
+
### 2.1. Data Link Layer
12
+
The Data Link Layer ensures message integrity and completeness.
0 commit comments