当前位置:网站首页>Driverless learning (4): Bayesian filtering
Driverless learning (4): Bayesian filtering
2022-07-02 20:04:00 【biter0088】
notes : Learning notes , Refer to others more , Accumulate gradually
One 、 Occupy the grid map -- Binary Bayesian filtering
1.1 Binary Bayesian filtering background
Each small grid has three possible states at a certain time -- occupy occupied、 Free free, Among them, the small grid scanned by lidar points is the occupied grid 、 What is not swept is the idle grid . Suppose a single lidar scan , Sweep to a small space , The occupancy probability of this small cell is 0.9, The probability of being idle is 0.1; When you don't scan a small space , The probability of occupation is 0.2, The probability of being idle is 0.8.( These figures are assumed values )
Next, a small cell is scanned several times in succession / No scanned problems , That is, some of the several scans have scanned the small cell , After these times , What is the probability of the small cell being occupied . Let's change the expression of the occupancy probability of the lattice , The box “ Degree of confidence ” Express .
p(x)/p(-x)=p(x)/(1-p(x)) among x Indicates that the small cell is occupied ,p(x) Indicates the probability of being occupied
Take the natural logarithm on both sides at the same time :
l(x)=ln(p(x)/(1-p(x))) among l(x) Indicates the confidence that the small cell is occupied
In turn, , The probability that the small cell is occupied can be expressed as :
p(x)=1-1/(1+e^(l(x)))
1.2 Bayesian filtering
Bayesian filtering calculation routine :
l(t)=l(t-1)+ln(p(x|zt)/(1-p(x|zt)))-ln(p(x)/(1-p(x)))
among :
l(t) by t The confidence that time is occupied ,
l(t-1) by t-1 The confidence that time is occupied ,
zt by t Observations at the moment ,
p(x|zt) For in t moment , At the observed value ( Occupied or idle ) The probability of occupation in the case of
p(x) In order not to consider the actual situation , The probability of any small lattice being occupied , In this case 0.5
hypothesis 1.1 When a small cell is occupied, it is scanned three times in succession , Then it was not scanned , The confidence is calculated as follows :
initial value :L0=ln(0.5/0.5)=0
It was scanned for the first time :L1=L0+ln(0.9/0.1)-L0=ln9
It was scanned for the second time :L2=L1+ln(0.9/0.1)-L0=ln9+ln9
It was scanned for the third time :L3=L2+ln(0.9/0.1)-L0=ln9+ln9+ln9
It was scanned for the fourth time :L4=L3+ln(0.2/0.8)-L0=ln9+ln9+ln9-log4≈5.2
Then the probability of being occupied after four scans p(4)=1-1/(1+e^5.2)≈0.9945
1.3 Reference link :
边栏推荐
- Kt148a voice chip IC software reference code c language, first-line serial port
- AcWing 1128. Messenger solution (shortest path Floyd)
- Why do I have a passion for process?
- [NLP] a detailed generative text Abstract classic paper pointer generator
- Summary of interview experience, escort your offer, full of knowledge points
- Istio1.12: installation and quick start
- Implementation of online shopping mall system based on SSM
- c语言链表--待补充
- 【QT】QPushButton创建
- 【Hot100】23. 合并K个升序链表
猜你喜欢

Génération automatique de fichiers d'annotation d'images vgg

API文档工具knife4j使用详解

CS5268完美代替AG9321MCQ Typec多合一扩展坞方案

Motivation! Big Liangshan boy a remporté le prix Zhibo! Un article de remerciement pour les internautes qui pleurent

Conscience summary! Jupyter notebook from Xiaobai to master, the nanny tutorial is coming!

台湾SSS鑫创SSS1700替代Cmedia CM6533 24bit 96KHZ USB音频编解码芯片

「 工业缺陷检测深度学习方法」最新2022研究综述

How to do interface testing? After reading this article, it will be clear

KT148A语音芯片ic的开发常见问题以及描述

Jetson XAVIER NX上ResUnet-TensorRT8.2速度与显存记录表(后续不断补充)
随机推荐
【每日一题】241. 为运算表达式设计优先级
[JS] get the search parameters of URL in hash mode
burp 安装 license key not recognized
Development skills of rxjs observable custom operator
Solution: vs2017 cannot open the source file stdio h main. H header document [easy to understand]
CRM Customer Relationship Management System
R language uses econcharts package to create microeconomic or macroeconomic maps, and indifference function to visualize indifference curve
Spark source code compilation, cluster deployment and SBT development environment integration in idea
[real case] trap of program design - beware of large data
for(auto a : b)和for(auto &a : b)用法
KT148A语音芯片ic的硬件设计注意事项
Exemple complet d'enregistrement du modèle pytoch + enregistrement du modèle pytoch seuls les paramètres d'entraînement sont - ils enregistrés? Oui (+ Solution)
JASMINER X4 1U深度拆解,揭开高效省电背后的秘密
Detailed explanation of VBScript (I)
[NLP] a detailed generative text Abstract classic paper pointer generator
Start practicing calligraphy
Postman接口测试实战,这5个问题你一定要知道
What is the Bluetooth chip ble, how to select it, and what is the path of subsequent technology development
JS如何取整数
Outsourcing for three years, abandoned
https://blog.csdn.net/haishaoli/article/details/79647594