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

can you elaborate one part of the code? #19

Open
mrgransky opened this issue Jun 20, 2019 · 0 comments
Open

can you elaborate one part of the code? #19

mrgransky opened this issue Jun 20, 2019 · 0 comments

Comments

@mrgransky
Copy link

mrgransky commented Jun 20, 2019

Hi,

could you please explain this part of the code?

if((scale>0.1) 	&& (t.at<double>(2) > t.at<double>(0)) 
					&& (t.at<double>(2) > t.at<double>(1))) 
	{
		t_f = t_f + scale*(R_f*t);
		R_f = R*R_f;
	}
	else 
	{
		cout << "scale below 0.1, or incorrect translation" << endl;
	}

when I apply this code to my own dataset, I get unreasonable results.
Is there any theoretical logic written in any textbooks you might know about rotation and translation concatenation to build the trajectory?
Cheers,

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

1 participant