how to configure camera?

Requests regarding how to set up experiments in ARGoS.
AlanCalderon
Posts: 2
Joined: Sat Feb 20, 2021 2:27 am

how to configure camera?

Postby AlanCalderon » Sat Feb 20, 2021 5:28 pm

Hello, this might be quite an easy issue, but I couldn't find how to edit xml configuration for Argos camera. From Argos "Camera" option its configuration shows like this:
<camera>
<placements>
<placement index="0" position="707.124,0,7.5" look_at="0,0,0" up="0,0,1" lens_focal_length="65" />
</placements>
</camera>

but it should be something like this:

<camera>
<placement idx="0" position="-2,0,2" look_at="0,0,0" up="0.707107,0,0.707107" lens_focal_length="20" /> </camera>

I added this configuration to <visualization> node but it didn't work. I also tried each other node except <controller> but couldn't fixed it. It seems as this configuration must be added in another file, but after checking documentation I couldn't find any reference about this issue. Thank you in advance,

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

Re: how to configure camera?

Postby pincy » Sat Feb 20, 2021 8:55 pm

Have you checked the ARGoS examples? There you find the new camera format we introduced in beta57. The old format does not work anymore.
I made ARGoS.

AlanCalderon
Posts: 2
Joined: Sat Feb 20, 2021 2:27 am

Re: how to configure camera?

Postby AlanCalderon » Fri Mar 05, 2021 2:24 am

Yes it worked! Sorry for answering so late, I forgot to close the issue.


Return to “How to... ?”