UWB
bohanleng edited this page 2 years ago

40 Commits 1 Branches

Contributors: Bohan Leng, Zizhuo Wang, Tianhao He

Repository for UWB (Ultra-Wide Band) Indoor Personnel Positioning & Digital Renovation of Old Lathes

Architecture

Modules

PyUWB

Run on a Raspberry Pi. Connect to the main UWB base station with USB, read the data from all stations and writes the data to the self-hosted Redis service.

UWBProxy

Fetches raw data from Redis service, and calculates positioning results by performing tri-lateration or multi-lateration algorithm on data from all UWB sensors. The results are sent to Unreal Engine for visulisation.

LatheProxy

We equiped an old antique lathe with sensors and established the data acquisition and visualisation for its operation. LatheProxy collects data from sensors and send them to Unreal Engine.

Old Lathe

File Overview

       5 .gitignore
      69 LatheProxy/LatheHandler.cpp
      36 LatheProxy/LatheHandler.h
     169 LatheProxy/LatheProxy.vcxproj
      49 LatheProxy/LatheProxy.vcxproj.filters
      29 LatheProxy/LatheSensoring.cpp
      19 LatheProxy/LatheSensoring.h
      94 LatheProxy/RedisHandler2.cpp
      48 LatheProxy/RedisHandler2.h
      66 LatheProxy/main.cpp
      41 UWB.sln
      94 UWBProxy/RedisHandler.cpp
      48 UWBProxy/RedisHandler.h
      72 UWBProxy/UWBHandler.cpp
      36 UWBProxy/UWBHandler.h
     112 UWBProxy/UWBPositioning.cpp
      20 UWBProxy/UWBPositioning.h
     171 UWBProxy/UWBProxy.vcxproj
      55 UWBProxy/UWBProxy.vcxproj.filters
      68 UWBProxy/main.cpp
     718 UWBProxy/trilateration.cpp
      55 UWBProxy/trilateration.h
     125 include/CPSAPI/CPSAPI.h
      33 include/CPSAPI/CPSDef.h
      93 include/MonitorAPI.h
     530 include/ProductionLineMonitorDef.h
      18 pyUWB/DeviceReader.py
       2 pyUWB/DeviceReader.pyc
      31 pyUWB/Redisservice.py
       6 pyUWB/Redisservice.pyc
       7 pyUWB/cfg_load.py
       2 pyUWB/cfg_load.pyc
      43 pyUWB/main.py
       8 pyUWB/uwb_cfg.json
      34 share/BusMsg.h
      17 share/DevUser.h
      24 share/Device.h
       4 share/MonitorErrorInfo.h
      10 share/MonitorServerDef.h
      68 share/MsgDef.h
      37 share/PLCConnector.h
      34 share/RawMsg.h
      37 share/TCPCon.h
      44 share/TCPServer.h
      91 share/URCon.h
      31 share/buscfg.h
      91 share/hiredis/alloc.h
     147 share/hiredis/async.h
      75 share/hiredis/async_private.h
     126 share/hiredis/dict.h
      12 share/hiredis/fmacros.h
     336 share/hiredis/hiredis.h
     127 share/hiredis/hiredis_ssl.h
      56 share/hiredis/net.h
     129 share/hiredis/read.h
     278 share/hiredis/sds.h
      44 share/hiredis/sdsalloc.h
      92 share/hiredis/sockcompat.h
      56 share/hiredis/win32.h
      65 share/jsonutil.h
      41 share/logapi.h
      34 share/mbasecfg.h
     360 share/modulebasedef.h
    5472 total