Skip to content

对于方向的疑问 #42

@wuhen777

Description

@wuhen777

非常感谢大佬的开源工作,在进行代码的阅读过程中,遇到了下面的问题
image
车位角点 xval: 0.27262189239263535, yval: 0.13740230910480022
车位角点 xval: 0.2751057632267475, yval: 0.4092598520219326
车位角点 xval: 0.2728566341102123, yval: 0.5492633581161499
车位角点 xval: 0.2700930554419756, yval: 0.8163648657500744
总标记点数量Total marking points detected: 4
两个点平方距离 Checking points 0 and 1: Distance = 0.07391269325526102
当前点坐标: (0.27262189239263535, 0.13740230910480022)
vec_direct: 89.47652232038021°
vec_direct_up: -0.5234776796198°
vec_direct_down: 179.4765223203802°
两个方向间的角度差异 Direction Difference: 0.16854491851558803 degrees
point.direction:89.30797740186462°
point.shape:0.9999167919158936
point.shape:PointShape.l_down
当前点坐标: (0.2751057632267475, 0.4092598520219326)
vec_direct: -90.5234776796198°
vec_direct_up: 179.4765223203802°
vec_direct_down: -0.5234776796198°
两个方向间的角度差异 Direction Difference: 270.23374744009584 degrees
两个方向间的角度差异 Direction Difference: 0.2337474400958375 degrees
point.direction:179.71026976047605°
point.shape:0.00020074844360351562
point.shape:PointShape.t_up
车位索引位置反转 Detected parking slot: (1, 0) - Reversed Order
这里在输出vec_direct,vec_direct_up和vec_direct_down的时候,为什么会出现旋转180°的情况
image
从论文当中得到T型和L型的方向是这样的,但是在代码的输出当中却对不上
能否告知一下在这张图里面这些参数所指的方向

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions