#310·slambook2

ch3 3.6.2 实际坐标转换示例 是否有错误

作者: LadissonLai创建于 2024年6月2日更新于 2025年8月19日

In order to verify the correctness of the program, I set the position of carrot number one to (0.5, 0.5, 0) without rotation, and set the position of carrot number two to the origin without rotation (i.e. the world coordinate origin). If carrot number one is seen as p1 = (0.5, 0.5, 0) in its coordinate system, then carrot number two sees p1 as (1, 1, 0). However, the result obtained is (0, 0, 0), so is this example correct? Here is the code modified based on the original coordinateTransform.cpp.

内容来源: gaoxiang12/slambook2