Page 1 of 1

e-puck perspective camera?

Posted: Fri Oct 14, 2022 9:14 pm
by Eksander
Hi Carlo,

I want to detect blobs which are in front of the robot, i.e., as if from a camera that is installed looking directly ahead.

However the sensor
[ colored_blob_perspective_camera (default) ]
A generic perspective camera sensor to detect colored blobs.

Does not seem to function with the e-pucks, only with spiro?

[FATAL] Failed to initialize the space.
[FATAL] Error while trying to distribute entities
[FATAL] Failed to initialize entity "bc0".
[FATAL] Failed to initialize controllable entity "controller_0".
[FATAL] Can't set controller for controllable entity "controller_0"
[FATAL] While getting a component from a composable entity
[FATAL] Component "perspective_camera" does not exist in "bc0"

Is there a work around this or another clever way to detect blobs located in a cone in front of the robot?

Cheers,

Re: e-puck perspective camera?

Posted: Mon Oct 17, 2022 6:12 am
by pincy
There's an extended version of the e-puck that replaces the default one: https://github.com/demiurge-project/argos3-epuck

In this version, I think that they do support the camera.

Re: e-puck perspective camera?

Posted: Mon Oct 17, 2022 9:59 am
by Eksander
I think they only support the omnidirectional camera. The front camera is missing the .cpp file.

https://github.com/demiurge-project/arg ... a_sensor.h

Re: e-puck perspective camera?

Posted: Mon Oct 17, 2022 12:27 pm
by Blake77
There's an extended version of the e-puck that replaces the default one: https://github.com/demiurge-project/argos3-epuck

In this version, I think that they do support the camera.
Hello,

I have already tested this version and I think I remember that it supports the camera well.

Re: e-puck perspective camera?

Posted: Mon Oct 17, 2022 2:29 pm
by Eksander
There's an extended version of the e-puck that replaces the default one: https://github.com/demiurge-project/argos3-epuck

In this version, I think that they do support the camera.
Hello,

I have already tested this version and I think I remember that it supports the camera well.
front-camera or omnidirectional camera?