Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions on the code acg_node_localization.cpp #13

Open
ljjTYJR opened this issue Mar 25, 2023 · 1 comment
Open

Questions on the code acg_node_localization.cpp #13

ljjTYJR opened this issue Mar 25, 2023 · 1 comment

Comments

@ljjTYJR
Copy link
Collaborator

ljjTYJR commented Mar 25, 2023

In the line

AASS::acg::AutoCompleteGraphLocalization oacg(g2o::SE2(0.2, 0.1, -0.1), ln,

Where does the param come from? g2o::SE2(0.2, 0.1, -0.1), it seems the offset of the sensor?

@MalcolmMielle
Copy link
Owner

Yep after looking in the code, I belive it's an offset used in the graph optimization in g2o:

// add the parameter representing the sensor offset
_sensorOffset = new g2o::ParameterSE2Offset;
_sensorOffset->setOffset(_sensorOffsetTransf);
_sensorOffset->setId(0);
this->addParameter(_sensorOffset);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants