BEA
BEA Cedric
BEA(比业电子)产品经理
展开
-
Python 使用serial库、matplotlib库可视化BEA LZR Raw-F激光雷达点云数据
import serial import serial.tools.list_ports import numpy as np import matplotlib.pyplot as plt from matplotlib.animation import FuncAnimation data_lenght_Flatscan= 824 Datalist= [] fresh_data= [] new_frame=[] payload='' read_once= 5000 # once read n byt原创 2021-11-09 10:35:49 · 1062 阅读 · 0 评论 -
Python使用requests库、matplotlib库获取并展示BEA客流统计传感器SIGMA的数据
import requests import matplotlib.pyplot as plt import numpy as np import time as t fig, axs = plt.subplots(3, 1) width = 0.5 # the width of the bars plt.ion() #interactive mode on A_adult = [] a_child = [] B_adult = [] b_child = [] occupency = [] time原创 2021-11-09 10:30:53 · 163 阅读 · 0 评论 -
Python读取BEA激光雷达实时串口数据并写入文件
# 通过‘串口转USB’连接BEA LZR Raw 产品和PC,配置相应的端口号和波特率。 # 运行程序后通过input box发送命令实现与传感器通讯。 import serial import serial.tools.list_ports import numpy as np Datalist= [] DataLength_FS= 824 # 一个rawdata数据包的长度 file_name= 'Rawdata_from_sensor.txt' port_list = list(serial原创 2021-09-01 19:51:42 · 578 阅读 · 0 评论