From 48c04254944a9077e0fc66275a9c41248075611c Mon Sep 17 00:00:00 2001 From: eatfishfish <124665442+eatfishfish@users.noreply.github.com> Date: Sat, 25 May 2024 17:58:11 +0800 Subject: [PATCH] Update README.md readme for english --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/README.md b/README.md index 06442da..b95088c 100644 --- a/README.md +++ b/README.md @@ -32,3 +32,38 @@ exec ./launch_openpilot.sh #### 3. 下载文件 (1) 浏览器中打开 http://laolang.duckdns.org:7898/op/DongleId DongleId替换成你的ID。 DongleId可以在你的c3/c3x设备上查看。 + +# openpilot-server for english + +#### 1. Configuration File +(1) In the config.txt file, + IP and port of the websocket server. + IP and port of the http server. + The domain name of the server. + The the domain name of the server. +(2) Launch +Launch opserver.exe on your windows server. + +#### 2. Configuration in c3/c3x +(1) SSH into the c3/c3x device. +(2) In "/data/continue.sh" file, export and . +export ATHENA_HOST='ws://laolang.duckdns.org:7899' +export API_HOST=' http://laolang.duckdns.org:7898 ' +like this: +/-----/data/continue.sh file----------------- +#!/usr/bin/bash + +export ATHENA_HOST='ws://laolang.duckdns.org:7899' +export API_HOST='http://laolang.duckdns.org:7898' + +cd /data/openpilot +exec ./launch_openpilot.sh + +/---------------------- + +(3) rm -rf /data/params/d/DongleId +sudo reboot #Restart your c3/c3x + +#### 3. Download the file +(1) Open http://laolang.duckdns.org:7898/op/DongleId in your browser +and replace DongleId with your ID. DongleId can be viewed on your c3/c3x device.