e-puck perspective camera?

Requests regarding how to set up experiments in ARGoS.
Eksander
Posts: 8
Joined: Sun Jun 20, 2021 10:26 pm

e-puck perspective camera?

Postby Eksander » Fri Oct 14, 2022 9:14 pm

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,

pincy
Site Admin
Posts: 632
Joined: Thu Mar 08, 2012 8:04 pm
Location: Boston, MA
Contact:

Re: e-puck perspective camera?

Postby pincy » Mon Oct 17, 2022 6:12 am

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.
I made ARGoS.

Eksander
Posts: 8
Joined: Sun Jun 20, 2021 10:26 pm

Re: e-puck perspective camera?

Postby Eksander » Mon Oct 17, 2022 9:59 am

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

Blake77
Posts: 1
Joined: Fri Oct 14, 2022 2:55 pm

Re: e-puck perspective camera?

Postby Blake77 » Mon Oct 17, 2022 12:27 pm

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.
My website : Webcam Sex

Eksander
Posts: 8
Joined: Sun Jun 20, 2021 10:26 pm

Re: e-puck perspective camera?

Postby Eksander » Mon Oct 17, 2022 2:29 pm

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?


Return to “How to... ?”