Page 1 of 1

how to configure camera?

Posted: Sat Feb 20, 2021 5:28 pm
by AlanCalderon
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,

Re: how to configure camera?

Posted: Sat Feb 20, 2021 8:55 pm
by pincy
Have you checked the ARGoS examples? There you find the new camera format we introduced in beta57. The old format does not work anymore.

Re: how to configure camera?

Posted: Fri Mar 05, 2021 2:24 am
by AlanCalderon
Yes it worked! Sorry for answering so late, I forgot to close the issue.