Skip to content

Can't find pointcloud.txt #95

@batuhan007

Description

@batuhan007

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;
	}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions