Giter Club home page Giter Club logo

network-rc's Introduction

树莓派网络遥控车

依赖

  • ffmpeg: 运行前请确保树莓派上安装了 ffmpeg,安装方法 sudo apt install ffmpeg -y
  • nodejs

使用教程

开始

git clone https://github.com/itiwll/network-rc.git
cd network-rc/front-end
yarn # or npm install
yarn build # or npm run build
cd ..
yarn # or npm install
sudo node index.js

打开 http://[你的树莓派 ip 地址]:8080

使用

# 基本使用
node index.js

# 设置密码
node index.js -p password

# 启用网络穿透
node index.js -f -o 9088

# 自定义网络穿透服务器
node index.js -f -o 9088 --frpServer xxxxxxxxxx --frpServerPort xxx --frpServerToken xxxxx

接线图

GPIO

安装包地址

最新版本

https://esonwong.synology.me:5012/network-rc.tar.gz

老版本

https://esonwong.synology.me:5012/network-rc-v0.9.9.tar.gz

ToDo

  • 支持手柄
  • 网络穿透
  • Ai 控制(暂时移除)
  • 支持车辆麦克风
  • 使用 webrtc 点对点音视频控制信号传输(延迟高已弃用)
  • 使用 MSE (延迟高已弃用))
  • 掉线、大延迟自动处理
  • 支持多摄像头
    • 编辑/锁定状态
    • 检测摄像头数量

更新记录

0.9.8

  • 支持多摄像头
  • websocket 连接支持车子麦克风

0.9.3

  • 支持语音播报
  • 支持发送文字语音

0.9.1

  • 手柄功能布局
    • 右摇杆云台控制改为增量
    • 左摇杆按下改为校准重力感应
    • 0 号按钮切换电调电源
    • 1 号按钮切换车灯

按键布局: https://w3c.github.io/gamepad/#fig-visual-representation-of-a-standard-gamepad-layout

0.9.0

  • 支持 webrtc 视频传输和语音对讲
  • 支持 USB 摄像头和麦克风
  • 支持 双轴云台
  • 增加树莓派关机和重启功能
  • 更新 操控 UI
    • 虚拟按钮改为滑杆
  • 更新 手柄控制
    • 右摇杆改为云台控制
  • 暂时移除 AI 自动驾驶

0.7.6

  • 优化手柄按键
    • 按下左摇杆开关车灯
    • 按下右摇杆开关电调电源
    • 按下 start 开关摄像头

0.7.5

  • 添加电调电源控制, GPIO 17(BOARD 11) 控制继电器
  • 添加车灯电源控制, GPIO 27(BOARD 13) 控制继电器

0.7.4

  • 优化对象跟踪逻辑和界面

0.7.1

  • 添加对象跟踪 AI

0.7.0

  • 更新 AI

0.6.3

  • 兼容 树莓派4
  • 优化网络穿透
  • 优化 UI

0.5.8

  • 支持游戏手柄
  • 支持视频画面大小调整
  • 支持隐藏虚拟按钮
  • UI 优化

0.5.0

  • 添加网络穿透

0.4.0

  • 添加控制密码
  • 触碰控制添加震动

0.3.0

  • 相机模式切换
  • 舵机微调

链接

Credits

network-rc's People

Contributors

itiwll avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.