bug:factorGraph object function addFactor returns less one than normal return value
이전 댓글 표시
this is minor bug, addFactor should return 1-based positive integer node index value,but in matlab R2022b return 0-base index value.
f = factorTwoPoseSE3([1 2])
g = factorGraph;
nodeId = addFactor(g,f)
채택된 답변
추가 답변 (1개)
Zheng Dong
2023년 1월 5일
편집: Zheng Dong
2023년 1월 6일
0 개 추천
Hi Cui,
Referring to the doc page for addFactor, the return value of addFactor is factorID not nodeID, and factorID will start from 0. I am sorry for the confusion here.
Thanks,
Zheng
댓글 수: 3
Zheng Dong
2023년 1월 6일
Hi Cui,
Please check my updated answer.
Thanks
Zheng
xingxingcui
2023년 1월 7일
편집: xingxingcui
2023년 1월 7일
카테고리
도움말 센터 및 File Exchange에서 Lengths and Angles에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!