roboticslab-uc3m / openrave-yarp-plugins

OpenRAVE plugins to interface OpenRAVE with YARP.
https://robots.uc3m.es/openrave-yarp-plugins/
GNU Lesser General Public License v2.1
3 stars 1 forks source link

YarpOpenraveRGBDSensor depth consumes too much CPU + units! + image rotated!? #106

Closed jgvictores closed 4 years ago

jgvictores commented 4 years ago

YarpOpenraveRGBDSensor depth consumes too much CPU (makes Chrome, but not Firefox, hang) and has ugly hard-coded lines, see below.

  1. Does it really depend on the plugin, or is it simply due to the presence of the sensor?
  2. If it is not the sensor's fault, the function being called to frequently?
  3. Copy is currently pixel-by-pixel, maybe better bulk copy? Is this possible? Extra important note: image rotated! We did not notice this before because we were seeing it through numpy! :fearful:

PS: Originally from https://github.com/roboticslab-uc3m/openrave-yarp-plugins/issues/103, related to https://github.com/roboticslab-uc3m/openrave-yarp-plugins/issues/105

Also related:

jgvictores commented 4 years ago
  • Does it really depend on the plugin, or is it simply due to the presence of the sensor?

OR without depth sensor: 10% CPU. OR with depth sensor: 10% CPU. OR with depth sensor and publishing plugin: 15% CPU. :+1:

jgvictores commented 4 years ago