open-v2x / cerebrum Goto Github PK
View Code? Open in Web Editor NEWOpenV2X Data Processing
License: Apache License 2.0
OpenV2X Data Processing
License: Apache License 2.0
In the Central Portal, the vehicles at the intersection are sometimes not displayed, and the algorithm service needs to be restarted to recover
Steps to reproduce the behavior:
Each time the data is sent, the vehicle is seen at the intersection
Sometimes you can't see the vehicle driving at the intersection, only see the vehicle data information
N/A
N/A
Cerebrum will show error logs when starting up if a RSU missing lane info
Steps to reproduce the behavior:
2022-09-20 12:55:21 | ERROR | Missing required field data in RSU with serial number :RSU_19f2c00f
No error logs during cerebrum starting up
N/A
oot@lab-u2004:~/local/github-openv2x/openv2x-cerebrum# source /root/local/github-openv2x/openv2x-cerebrum/.venv/bin/activate
(.venv) root@lab-u2004:~/local/github-openv2x/openv2x-cerebrum# /usr/bin/env /root/local/github-openv2x/openv2x-cerebrum/.venv/bin/python /root/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 35677 -- /root/local/github-openv2x/openv2x-cerebrum/main.py
2022-09-20 00:55:21,855 INFO sqlalchemy.engine.Engine SELECT DATABASE()
2022-09-20 00:55:21,856 INFO sqlalchemy.engine.Engine [raw sql] {}
2022-09-20 00:55:21,859 INFO sqlalchemy.engine.Engine SELECT @@sql_mode
2022-09-20 00:55:21,859 INFO sqlalchemy.engine.Engine [raw sql] {}
2022-09-20 00:55:21,862 INFO sqlalchemy.engine.Engine SELECT @@lower_case_table_names
2022-09-20 00:55:21,862 INFO sqlalchemy.engine.Engine [raw sql] {}
2022-09-20 00:55:21,869 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2022-09-20 00:55:21,880 INFO sqlalchemy.engine.Engine SELECT rsu.rsu_esn AS rsu_rsu_esn, rsu.location AS rsu_location, rsu.bias_x AS rsu_bias_x, rsu.bias_y AS rsu_bias_y, rsu.rotation AS rsu_rotation, rsu.reverse AS rsu_reverse, rsu.scale AS rsu_scale, rsu.lane_info AS rsu_lane_info
FROM rsu
2022-09-20 00:55:21,880 INFO sqlalchemy.engine.Engine [generated in 0.00052s] {}
2022-09-20 12:55:21 | ERROR | Missing required field data in RSU with serial number :RSU_19f2c00f
2022-09-20 00:55:21,891 INFO sqlalchemy.engine.Engine ROLLBACK
2022-09-20 00:55:24,360 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2022-09-20 00:55:24,362 INFO sqlalchemy.engine.Engine SELECT system_config.mqtt_config AS system_config_mqtt_config, system_config.node_id AS system_config_node_id
FROM system_config
LIMIT %(param_1)s
N/A
拥堵预警事件详情的经纬度格式不符合标准
Steps to reproduce the behavior:
应该是118.8213963 ° 和 31.9348466 °
If applicable, add more detailed log information to help explain your problem.
Add any other context about the problem here.
根据技术博客,在对cerebrum模块开发环境配置运行main.py时报错
根据技术博客-分分钟搞定beihai版本开发环境配置:
cerebrum服务正常启动
If applicable, add screenshots to help explain your problem.
If applicable, add more detailed log information to help explain your problem.
Add any other context about the problem here.
Describe the bug
Command "tox -e py3" depends on remote mariadb instance rather than sqlite in memory
To Reproduce
Steps to reproduce the behavior:
Expected behavior
unit testing should not depends on network resources
Screenshots
N/A
Log Information
N/A
Desktop (please complete the following information):
Additional context
N/A
It is not supported to analyze cameras' RTSP raw data in data processing module.
数据处理模块当前不支持解析摄像头RTSP原始数据。
The data processing module uses AI training reasoning algorithm to analyze the camera RTSP raw data and generate structured data of traffic participants. Traffic participants should distinguish between motor vehicles, non motor vehicles and pedestrians; Structured data should include ID, timestamp, source, location (longitude, latitude, altitude), speed, heading angle, size (length, width, height) and other information. After the structured data of traffic participants is generated, it is saved to the background relational database and published to MQ message queue in the form of RSM.
数据处理模块采用AI训练推理算法,分析摄像头RTSP原始数据,生成交通参与者结构化数据,交通参与者要区分机动车、非机动车、行人;结构化数据要包括id、时间戳、来源、位置(经纬度、海拔)、速度、航向角、尺寸(长宽高)等信息。交通参与者结构化数据生成后,保存至后台关系数据库,并以RSM的形式发布至MQ消息队列。
None.
None.
紫色圆圈表示发起数据共享的小车,但是紫色圆圈没有和车重合
Steps to reproduce the behavior:
复现步骤:
A clear and concise description of what you expected to happen.
If applicable, add more detailed log information to help explain your problem.
Add any other context about the problem here.
A clear and concise description of what the bug is.
Steps to reproduce the behavior:
A clear and concise description of what you expected to happen.
消息 id 应该是唯一的
If applicable, add screenshots to help explain your problem.
If applicable, add more detailed log information to help explain your problem.
Add any other context about the problem here.
Config file or config settings from API like:
- transformer
- pre-algo:
- 融合
enable:
algo: xxxxxx
- 平滑
- 补全
- specific-aglo:
逆向超车:
enable:
algo: xxxxxx
碰撞预警:
enable:
algo: xxxxxx
- post-algo
N/A
N/A
Describe the bug
Lack of gating workflows: commitlint / dprint, etc...
To Reproduce
N/A
Expected behavior
Adding github actions: gating workflows
Screenshots
N/A
Log Information
N/A
Desktop (please complete the following information):
N/A
Additional context
commitlint & dprint could refer to openv2x-docs
The collision warning message lacks height field which is required by the new four-span format
N/A
N/A
N/A
N/A
N/A
Steps to reproduce the behavior:
正常行驶的车不标注
If applicable, add screenshots to help explain your problem.
If applicable, add more detailed log information to help explain your problem.
Add any other context about the problem here.
tox py3 failed in ubuntu 20.04
Steps to reproduce the behavior:
run tox
N/A
N/A
================================================================= test session starts =================================================================
platform linux -- Python 3.8.10, pytest-7.1.3, pluggy-1.0.0 -- /root/local/github-openv2x/openv2x-cerebrum/.tox/py3/bin/python
cachedir: .tox/py3/.pytest_cache
rootdir: /root/local/github-openv2x/openv2x-cerebrum, configfile: tox.ini
plugins: cov-3.0.0
collected 6 items / 1 error
======================================================================= ERRORS ========================================================================
________________________________________________________ ERROR collecting tests/test_fusion.py ________________________________________________________
ImportError while importing test module '/root/local/github-openv2x/openv2x-cerebrum/tests/test_fusion.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
.tox/py3/lib/python3.8/site-packages/_pytest/python.py:608: in _importtestmodule
mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
.tox/py3/lib/python3.8/site-packages/_pytest/pathlib.py:533: in import_path
importlib.import_module(module_name)
/usr/lib/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
???
<frozen importlib._bootstrap>:991: in _find_and_load
???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:671: in _load_unlocked
???
.tox/py3/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:168: in exec_module
exec(co, module.__dict__)
tests/test_fusion.py:15: in <module>
from pre_process_ai_algo.algo_lib.fusion import Fusion
pre_process_ai_algo/algo_lib/fusion/__init__.py:20: in <module>
from pre_process_ai_algo.algo_lib.fusion.algorithm import Hungarian
pre_process_ai_algo/algo_lib/fusion/algorithm.py:22: in <module>
import cv2 # type: ignore
.tox/py3/lib/python3.8/site-packages/cv2/__init__.py:181: in <module>
bootstrap()
.tox/py3/lib/python3.8/site-packages/cv2/__init__.py:153: in bootstrap
native_module = importlib.import_module("cv2")
/usr/lib/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
E ImportError: libGL.so.1: cannot open shared object file: No such file or directory
refer to: https://blog.csdn.net/weixin_44669966/article/details/122565748
sudo apt-get install libgl1-mesa-glx
or
sudo pip install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python-headless
sudo pip install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-contrib-python-headless
refer to #60
fastapi
N/A
N/A
The manually created RSU has a problem of restarting the algorithm service due to the lack of parameters
Steps to reproduce the behavior:
Observe that the algorithm service container is running normally
Observe that the algorithm service container keeps restarting
N/A
N/A
发送车辆慢行模拟数据,整个路口就2辆车,路口信息显示拥堵
路口信息应为畅通
If applicable, add more detailed log information to help explain your problem.
Add any other context about the problem here.
A clear and concise description of what the bug is.
Steps to reproduce the behavior:
进入 omega 的逆行预警事件页面,列表有数据
If applicable, add screenshots to help explain your problem.
If applicable, add more detailed log information to help explain your problem.
Add any other context about the problem here.
A clear and concise description of what the bug is.
Steps to reproduce the behavior:
复现步骤:
验收步骤:
If applicable, add screenshots to help explain your problem.
If applicable, add more detailed log information to help explain your problem.
Add any other context about the problem here.
交通大屏上看得到慢行小车,慢行事件列表没有收到事件
Steps to reproduce the behavior:
慢行事件列表需要收到事件
If applicable, add screenshots to help explain your problem.
If applicable, add more detailed log information to help explain your problem.
Add any other context about the problem here.
A clear and concise description of what the bug is.
Steps to reproduce the behavior:
正常行驶的小车,不用有逆行提醒
If applicable, add more detailed log information to help explain your problem.
Add any other context about the problem here.
the password of mqtt/redis/mysql does not support @ ' and "
export redis_root=v2x@2022
export mariadb_root=v2x@2022
export mariadb_dandelion=v2x@2022
export emqx_root=v2x@2022
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '[email protected]' ([Errno -2] Name or service not known)")
N/A
前端禁用碰撞预警算法,大屏上看小车,还是有碰撞预警标注
Steps to reproduce the behavior:
禁用碰撞算法,则算法不起效,大屏上的小车无碰撞标注。
其他算法同理。
If applicable, add screenshots to help explain your problem.
If applicable, add more detailed log information to help explain your problem.
Add any other context about the problem here.
Output data units differ from the new four-span format.
N/A
N/A
N/A
N/A
N/A
Performance test, when sending RSM trajectory data, send 4-25 vehicle data according to a frame of 100ms, the actual received data has packet loss problem
Steps to reproduce the behavior:
Received 1000 frames of data, the packet loss rate is 0
The received data is less than 1000 frames, and the packet loss rate is 3%
N/A
N/A
cerebrum(albany version) crash during startup
Steps to reproduce the behavior:
start up in normal
N/A
(.venv-albany) wuwenxiangs-MacBook-Pro:cerebrum wuwenxiang$ python main.py
2022-07-26 03:53:09 | ERROR | unable to fetch data from database
Traceback (most recent call last):
File "/Users/wuwenxiang/local/github-openv2x/cerebrum/main.py", line 2, in <module>
from transform_driver.app import App
File "/Users/wuwenxiang/local/github-openv2x/cerebrum/transform_driver/app.py", line 20, in <module>
from post_process_algo import post_process
File "/Users/wuwenxiang/local/github-openv2x/cerebrum/post_process_algo/post_process.py", line 236, in <module>
_generate_transformation_info()
File "/Users/wuwenxiang/local/github-openv2x/cerebrum/post_process_algo/post_process.py", line 217, in _generate_transformation_info
"epsg:4326", choose_epsg(rsu_info[rsu]["pos"]["lon"])
TypeError: string indices must be integers
(Pdb) p rsu_info
{'R328328': {'pos': '{"lon": 118.840897, "lat": 31.88335}', 'bias_x': 0.0, 'bias_y': 0.0, 'rotation': 0.0, 'reverse': 0, 'scale': 0.09}}
(Pdb) p rsu_info[rsu]["pos"]["lon"]
*** TypeError: string indices must be integers
(Pdb) p rsu
'R328328'
(Pdb) p rsu_info[rsu]
{'pos': '{"lon": 118.840897, "lat": 31.88335}', 'bias_x': 0.0, 'bias_y': 0.0, 'rotation': 0.0, 'reverse': 0, 'scale': 0.09}
(Pdb) p rsu_info[rsu]["pos"]
'{"lon": 118.840897, "lat": 31.88335}'
(Pdb) p rsu_info[rsu]["pos"]["lon"]
*** TypeError: string indices must be integers
(Pdb) import json
(Pdb) json.loads(rsu_info[rsu]["pos"])
{'lon': 118.840897, 'lat': 31.88335}
Add any other context about the problem here.
Dockerhub sometimes pull slow in CN, so add aliyun registry as backup
Adding push to aliyun registry besides dockerhub during CI
N/A
N/A
Describe the bug
Due to database data type changes, the flow of processing data needs to change.
When the RSM data is sent as empty or incorrectly formatted, it continues to send any other data and cannot receive the returned information
Send message:
V2X/RSU/R328328/RSM/UP/DAWNLINE
[{}]
N/A
A clear and concise description of what the bug is.
Steps to reproduce the behavior:
禁用碰撞算法,没有禁用超速和慢行算法,大屏上应该有超速和慢行的标注的
mation
If applicable, add more detailed log information to help explain your problem.
Add any other context about the problem here.
A clear and concise description of what the bug is.
Steps to reproduce the behavior:
Vehicle information, normal display
Vehicle information is not displayed until the algorithm service is restarted
At the same time, after updating the site information, the presentation is also problematic
N/A
N/A
N/A
事件管理能看得到不同的拥堵级别,但从大屏上看小车上只有3级这一个级别的拥堵
Steps to reproduce the behavior:
1级拥堵和2级拥堵应该是红色标注,但是没有看到红色
If applicable, add more detailed log information to help explain your problem.
Add any other context about the problem here.
Describe the bug
fix bug in coordinate transformation of guide lines.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.