adsb-overlay:ADS-B摄像机覆盖物,用于跟踪和显示飞机信息

  • W8_925774
    了解作者
  • 79.7KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-23 08:42
    上传日期
adsb重叠式广告 ADS-B摄像机覆盖物,用于跟踪和显示飞机信息 设置 配置中 将文件src/config.example.js复制到src/config.js并设置相机参数 import LatLon from "geodesy/latlon-nvector-ellipsoidal" ; export const AVR_WS = "ws://127.0.0.1:9999" ; //websocket connection for AVR messages export const CAM_W = 3840 ; //Camera resolution in pixels export const CAM_H = 2160 ; export const CAM_POS = new LatLon ( 0.0 , 0.0 , 0.0 ) ; //GPS Position of camera
adsb-overlay-master.zip
  • adsb-overlay-master
  • .github
  • FUNDING.yml
    130B
  • src
  • DeviceCamera.js
    993B
  • config.example.js
    537B
  • main.js
    6.1KB
  • Debug.js
    1.1KB
  • Const.js
    93B
  • HudElement.js
    327B
  • demo.js
    393B
  • Camera.js
    2.3KB
  • Hud.js
    1.3KB
  • Compass.js
    2.1KB
  • index.html
    1.2KB
  • yarn.lock
    152.3KB
  • webpack.config.js
    308B
  • README.md
    2.6KB
  • .gitignore
    42B
  • package.json
    323B
  • LICENSE
    34.3KB
  • demo.html
    317B
内容介绍
# adsb-overlay ADS-B Camera overlay for tracking and displaying aircraft information ![demo.webp](https://v0l.io/adsb_overlay_2.webp) https://www.youtube.com/watch?v=869Ap32wEqw # Setup ## Configuring Copy the file `src/config.example.js` to `src/config.js` and set your camera parameters ```js import LatLon from "geodesy/latlon-nvector-ellipsoidal"; export const AVR_WS = "ws://127.0.0.1:9999"; //websocket connection for AVR messages export const CAM_W = 3840; //Camera resolution in pixels export const CAM_H = 2160; export const CAM_POS = new LatLon(0.0, 0.0, 0.0); //GPS Position of camera and altitude in meters export const CAM_BEARING = 0.00; //Direction camera is facing in degrees export const CAM_HFOV = 110.0; //110 deg horizontal export const CAM_VHOV = (CAM_HFOV / CAM_W) * CAM_H; //Vertical FOV matches aspect ratio ``` Notes: * Camera incline is currently not supported, your camera MUST be centered on the horizon ## Building `node.js` is requred to build. ``` git clone https://github.com/v0l/adsb-overlay cd adsb-overlay npx yarn install npx webpack ``` ## Websocat Download from [here](https://github.com/vi/websocat/releases) Run the command `nc my-adsb-feeder-ip 30002 | websocat -s 9999`. This will pipe the AVR output from your feeder to any clients that connect to `ws://localhost:9999` ## OBS 1. Add your camera as a video source 2. Add a browser source - Set the browser source to `Local File` - Select the file `/path/to/adsb-overlay/index.html` - You should now see the horizon marker with the heading markers - Set the resolution so it matches your camera resolution 3. The browser source and the video source should be the same size in OBS # Why is this so awkward? This is more of a POC than anything else, the last time I worked on it I was making a much better version but I had already moved onto some other projects. Feel free to contribute (complete) the newer organised version, and if you feel like it please consdier supporting this project. # Known issues For me the vertical angle is wrong when planes are higher on the camera view so the marker box is way off, I dont know if this is because of something funky with my camera or not. I have yet to devise a way to calibrate the FOV.. # TODO 1. Finish cleaner new version 2. Stop using `netcat` and `websocat`, could easily use a simple `node.js` script to replace this part. 3. Convert the project to use something like `OpenCV` so the overlay could be used in a more portable way, i dont like that its using a browser source or that you have to use OBS, ideally this could just run standalone..
评论
    相关推荐
    • webSocket
      NULL 博文链接:https://zaq369cde.iteye.com/blog/1908461
    • websocket
      NULL 博文链接:https://bruce-king.iteye.com/blog/2095677
    • WebSocketDemo
      WebSocket演示 我写的博客文章的演示代码: 该演示看起来不太漂亮: 但是,如果您尝试编写WebSocket处理程序并且想要将代码与某些正在运行的代码进行比较,则可能会对您有所帮助。 出发点 看一下 。 其他感兴趣的...
    • Jmeter WebSocket
      Jmeter添加WebSocket Sampler,下载后放到/lib/ext文件夹下,再次添加Sampler会多出WebSocket Sampler
    • websocket
      多人游戏Websocket Web套接字服务器,它将从多个客户端获取游戏数据。 直播制作此项目 设置网络套接字 Websocket自动部署到云端运行 Websocket上具有客户端渲染功能的多人游戏 游戏服务器 Web套接字已设置为自动...
    • WebSocket
      Dimagine WebSocket 本地运行 运行服务器: php -S localhost:8081 -t public 运行聊天: php bin/chat-server.php 运行ngrok: ngrok http 8080 指令 要发送消息: {"command":"message","message":"testMessage...
    • JMETER WEBSOCKET
      比较新的JMETER WEBSOCKET插件,给有需要的人用~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • WebSocket
      websocket演示 介绍 娱乐应用网络聊天室功能的实现,前端简单实现,用于验证功能。 软件架构 一个用来学习websocket的演示。
    • websocket
      什么是WebSocket WebSocket是一种在单个TCP连接上进行全双工通信的协议。它使得客户端和服务器之间的数据交换变得更加简单,允许服务端主动向客户端推送数据。在WebSocket API中,客户端和服务器只需要完成一次握手...
    • websocket源码
      这里特别说明下因为WebSocket服务端是公司线上项目所以这里url和具体协议我全部抹去了,但我会尽力给大家讲明白并且demo我都是测试过,还望各位看官见谅 我们先粗犷的讲下流程,掌握个大概的方向,然后在深入讲解细节的...