Files
PathPlanning/Model-free Control/__pycache__/motion_model.cpython-37.pyc
T

16 lines
974 B
Plaintext
Raw Normal View History

2020-06-19 17:25:37 -07:00
B
Mí^Üã@s&dZddlZddddgZd
dd „ZdS) z
@author: huiming zhou
éN)ér)éÿÿÿÿr)rr)rrçš™™™™™É?cCd||d|dg}g}|dkr.dddg}n2|dkrBdddg}n|dkrVdddg}n
dddg}xb|D]Z}|d|d|d|df|krš| |¡qf| |d|d|d|df¡qfW||fS)
Motion model of robots,
:param x: current state (node)
:param u: input
:param obs: obstacle map
:param eta: noise in motion model
:return: next states and corresponding probability
ré)rr)rr)rr)rrr)Úappend)ÚobsÚetaZp_nextÚx_nextZu_realZact©r úYC:\Users\Huiming Zhou\Desktop\path planning algorithms\Model-free Control\motion_model.pyÚ move_prob s    

$ *r)r)Ú__doc__ÚnumpyÚnpÚmotionsrr r r r