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

100% CPU usage issues #48

Open
mhkabir opened this issue May 21, 2015 · 6 comments
Open

100% CPU usage issues #48

mhkabir opened this issue May 21, 2015 · 6 comments
Assignees

Comments

@mhkabir
Copy link

mhkabir commented May 21, 2015

The driver causes nearly 100% CPU usage under some conditions:

  • The camera is unplugged while the driver is running
  • External triggering is used

Camera : PointGrey FireFly MV
OS : Ubuntu 14.04.02 LTS
ROS version : Indigo

@jack-oquin jack-oquin self-assigned this May 26, 2015
@jack-oquin
Copy link
Member

Thanks for the report. I will try to reproduce it.

@mhkabir
Copy link
Author

mhkabir commented May 27, 2015

I'm using trigger parameters :

  • external_trigger = true
  • trigger_polarity = ACTIVE_LOW

@mhkabir
Copy link
Author

mhkabir commented May 27, 2015

You should just be able to unplug the camera while the driver is running and monitor the system load in htop to easily reproduce.
Also another issue, the driver cannot be shutdown cleanly. Ctrl+C results in a lot of corrupted linked-list errors before it's eventually terminated. ( I will follow up on this later today, after updating to latest master)

@mhkabir
Copy link
Author

mhkabir commented Jun 17, 2015

@jack-oquin ping.

@mhkabir
Copy link
Author

mhkabir commented Jun 18, 2015

@jack-oquin This commit is causing it : d279c2d The camera is polled way excessively.

@jack-oquin
Copy link
Member

Thanks for figuring that out.

I am still having trouble finding time for maintaining this package, but don't give up.

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