bug:factorGraph object function addFactor returns less one than normal return value
Mostra commenti meno recenti
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)
Risposta accettata
Più risposte (1)
Zheng Dong
il 5 Gen 2023
Modificato: Zheng Dong
il 6 Gen 2023
0 voti
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 Commenti
Zheng Dong
il 6 Gen 2023
Hi Cui,
Please check my updated answer.
Thanks
Zheng
xingxingcui
il 7 Gen 2023
Modificato: xingxingcui
il 7 Gen 2023
Categorie
Scopri di più su Lengths and Angles in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!