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't find pointcloud.txt #95

Open
batuhan007 opened this issue Jan 8, 2018 · 0 comments
Open

Can't find pointcloud.txt #95

batuhan007 opened this issue Jan 8, 2018 · 0 comments

Comments

@batuhan007
Copy link

batuhan007 commented Jan 8, 2018

Hi , i want to use map points from ptam map in PTAMWrapper.hpp file https://github.com/tum-vision/tum_ardrone/blob/master/src/stateestimation/PTAMWrapper.cpp#L560 , i cant find that pointcloud.txt file , sorry if this is a newbie question but i'm quite new for this. Simply ı just want to obtain map points in PTAM Drone Map View window. `

	// flush map keypoints
	if(flushMapKeypoints)
	{
		std::ofstream* fle = new std::ofstream();
		fle->open("pointcloud.txt");

		for(unsigned int i=0;i<mapPointsTransformed.size();i++)
		{
			(*fle) << mapPointsTransformed[i][0] << " "
				   << mapPointsTransformed[i][1] << " "
				   << mapPointsTransformed[i][2] << std::endl;
		}

		fle->flush();
		fle->close();

		printf("FLUSHED %d KEYPOINTS to file pointcloud.txt\n\n",mapPointsTransformed.size());

		flushMapKeypoints = false;
	}`
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