Skip to content

Conversation

@krazycoder2k
Copy link
Contributor

This PR is effectively the suggested fix in the GH issue below. Thank you @ankyur.

#7276

I've validated the fix works using the following code:

// Reproduces T265 Hand on Exit.
int main(int, char**)
{
constexpr std::chrono::seconds timeout{ 1 };

while (true)
{
	// Start
	rs2::config config;
	rs2::pipeline pipeline;

	std::cout << "Entering pipeline.start()" << std::endl;
	pipeline.start();
	std::cout << "Exiting pipeline.start()" << std::endl;

	std::cout << "Sleeping for 1 second..." << std::endl;
	std::this_thread::sleep_for(timeout);
	
	std::cout << "Entering pipeline.stop()" << std::endl;
	pipeline.stop();
	std::cout << "Exiting pipeline.stop()" << std::endl;
}

return 0;

}

Suspect this fix potentially addresses the following open T265 issues as well:

#7553
#5807
#6272
#7555
#7750

This PR is effectively the suggested fix in the GH issue below. Thank you @ankyur.
  
IntelRealSense#7276 

I've validated the fix works using the following code:

// Reproduces T265 Hand on Exit.
int main(int, char**)
{
	constexpr std::chrono::seconds timeout{ 1 };

	while (true)
	{
		// Start
		rs2::config config;
		rs2::pipeline pipeline;

		std::cout << "Entering pipeline.start()" << std::endl;
		pipeline.start();
		std::cout << "Exiting pipeline.start()" << std::endl;

		std::cout << "Sleeping for 1 second..." << std::endl;
		std::this_thread::sleep_for(timeout);
		
		std::cout << "Entering pipeline.stop()" << std::endl;
		pipeline.stop();
		std::cout << "Exiting pipeline.stop()" << std::endl;
	}

	return 0;
}

Suspect this fix potentially addresses the following open T265 issues as well:

IntelRealSense#7553
IntelRealSense#5807
IntelRealSense#6272
IntelRealSense#7555
IntelRealSense#7750
Copy link
Collaborator

@ev-mp ev-mp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@krazycoder2k , thanks for the contribution.
Much appreciated!

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

Successfully merging this pull request may close these issues.

2 participants