[JdeRobot] (sin asunto)

JoseMaria Cañas Plaza jmplaza at gsyc.es
Tue Nov 10 17:36:14 CET 2015


Hi Jessi,

you can see an example, written in Python, of how to request for
images in the introrob.py component [1]. Maybe these lines are
inspiring for you:

self.image = self.cameraProxy.getImageData("RGB8")
self.height= self.image.description.height
self.width = self.image.description.width

....
self.image = self.cameraProxy.getImageData("RGB8")

Cheers,

JoseMaria
[1] https://github.com/RoboticsURJC/JdeRobot/blob/master/src/stable/components/introrob_py/sensors/sensor.py

On Tue, Nov 10, 2015 at 2:27 PM, Aitor Martínez
<aitor.martinez.fernandez en gmail.com> wrote:
> Hi Jessi,
>
> the same error message is telling you what the problem:
>
>
>
> A few months ago there was a change in the interface of image and now you
> can tell the Image format.
>
> http://jderobot-developer-list.2315034.n4.nabble.com/JdeRobot-Compressed-Images-td4642603.html#a4642605
> <http://jderobot-developer-list.2315034.n4.nabble.com/JdeRobot-Compressed-Images-td4642603.html#a4642605>
>
> I hope I've helped.
>  Greetings, Aitor
>
>
>
>
>
> --
> View this message in context: http://jderobot-developer-list.2315034.n4.nabble.com/JdeRobot-sin-asunto-tp4642812p4642813.html
> Sent from the Jderobot Developer List mailing list archive at Nabble.com.
> _______________________________________________
> Jde-developers mailing list
> Jde-developers en gsyc.es
> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers


More information about the Jde-developers mailing list