sierra.plugins.engine.argos.variables.cameras#

Classes for specifying ARGoS cameras.

Positions, timeline, and interpolation, for manipulating the frame capture/rendering perspective.

Classes#

QTCameraOverhead

Defines a single overhead camera perspective within ARGoS.

QTCameraTimeline

Defines when/how to switch between camera perspectives within ARGoS.

Module Contents#

class sierra.plugins.engine.argos.variables.cameras.QTCameraOverhead(extents: list[sierra.core.utils.ArenaExtent])[source]#
Inheritance diagram of sierra.plugins.engine.argos.variables.cameras.QTCameraOverhead

Defines a single overhead camera perspective within ARGoS.

extents#

List of (X,Y,Z) tuple of dimensions of arena areas to generate camera definitions for.

gen_attr_changelist() list[sierra.core.experiment.definition.AttrChangeSet][source]#

No effect.

All tags/attributes are either deleted or added.

gen_element_addlist() list[sierra.core.experiment.definition.ElementAddList][source]#

Generate expdef elelemnts to add to the batch experiment definition.

Modifications are lists, one per experiment in the batch, because the order you apply them matters.

gen_files() None[source]#

Generate files to add to the batch experiment definition.

Presumably, the created files will be referenced in the --expdef-template file by path.

gen_tag_rmlist() list[sierra.core.experiment.definition.ElementRmList][source]#

Remove the <camera> tag if it exists.

Obviously you must call this function BEFORE adding new definitions.

class sierra.plugins.engine.argos.variables.cameras.QTCameraTimeline(setup: sierra.plugins.engine.argos.variables.exp_setup.ExpSetup, cmdline: str, extents: list[sierra.core.utils.ArenaExtent])[source]#
Inheritance diagram of sierra.plugins.engine.argos.variables.cameras.QTCameraTimeline

Defines when/how to switch between camera perspectives within ARGoS.

interpolate#

Should we interpolate between camera positions on our timeline ?

setup#

Simulation experiment definitions.

extents#

List of (X,Y,Zs) tuple of dimensions of arena areas to generate camera definitions for.

gen_attr_changelist() list[sierra.core.experiment.definition.AttrChangeSet][source]#

No effect.

All tags/attributes are either deleted or added.

gen_element_addlist() list[sierra.core.experiment.definition.ElementAddList][source]#

Generate expdef elelemnts to add to the batch experiment definition.

Modifications are lists, one per experiment in the batch, because the order you apply them matters.

gen_files() None[source]#

Generate files to add to the batch experiment definition.

Presumably, the created files will be referenced in the --expdef-template file by path.

gen_tag_rmlist() list[sierra.core.experiment.definition.ElementRmList][source]#

Remove the <camera> tag if it exists.

Obviously you must call this function BEFORE adding new definitions.