a tool for showing radar info
Project description
DataShow
author: andy.yang, lan.zhang
show the data(include detections-mem, targets-mem, warning-signal) in one ui, and also display the camera at the same time in the future.
---------------------Attention:-----------------------------
the current IO is uart, so you can't use peak-can or usbcan2.
For user, you just obey rule one and five.
Must: you shoudl set the baudrate of uart to 115200 in calterah sdk.
一、environment and dependencies
- python: 3.7.9
- os: win10(not test in linux, but this software should be cross-platform).
- see ./requrements.txt which is generated with the command: pip freeze > requirements.txt
Besides, i use Peakcan(not can-use box) to get the data from radar. So in order to show data by CAN-BUS(inline or record), you also need to install Peakcan driver. See link: https://www.peak-system.com/
二、How to install DataShow?
- install the Peak-Can driver. See link: https://www.peak-system.com/, and dowload, install PEAK-System_Driver-Setup.zip.
- pip install DataShow
- go to the python scripts directory and find DataShow_gui.exe, then click and enjoy it.
Notice: the recorded data will be stored in C:\data_records\
三、develop in virtual environment
comply the commands below:
- python3 -m venv env
- set the above virtual environment as your work environment
- pip install -r requirements.txt
- create a file which its type(or suffix) should be ".pth" in ./env/Lib/site-packages.For example, the file names my.pth.
- fill the above file with the path of this project.For example, "C:\Projects\data_replay" in my PC.
- enjoy yourself.
四、package-commands
- python setup.py bdist_wheel
- twine upload dist/*
五、Install
Please choose 5.1 or 5.2 depending on first install or upgrade.
5.1 first install
- create a directory which name "pip" if not in path: C:\Users\andy\AppData\Roaming. notice: change the andy to your user-name
- create a file which name "pip.ini" in path: C:\Users\andy\AppData\Roaming\pip.notice: change the andy to your user-name
- write the lines below in pip.ini
[global]
index-url = https://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
- open a shell and inpurt commands: pip install --upgrade DataShow
- input commands: ip install -i https://pypi.org/simple --upgrade DataShow
5.2 upgrade
- pip install -i https://pypi.org/simple --upgrade DataShow
六、Use
- go to directory: C:\Users\andy\AppData\Local\Programs\Python\Python37\Scripts. notice: change the andy to your user-name
- create a desktop shortcut of DataShow_gui.exe
- then enjoy youself.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for DataShow-6.10.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 164afd1d1d17a0b599ad3d334a2f87018648aa5b4f843b494f98c4a36853cdab |
|
MD5 | 4e21596b0de7874885301306ec890a5a |
|
BLAKE2b-256 | d6b6031dda70fe5c626d91dd58ae9e1f11f604440d60182027f85a8b187676e9 |