Error in distributing lights

Requests regarding how to set up experiments in ARGoS.
sissi961
Posts: 3
Joined: Mon Oct 04, 2021 12:45 pm

Error in distributing lights

Postby sissi961 » Thu Dec 09, 2021 11:25 am

Good morning, I had this error (shown on the image) when I tried to distribute lights random. I attach also the code.
This is the configuration of the arena:

Code: Select all

<arena size="6, 3, 0" center="0,0,0" positional_grid_size="8,8,1"> <floor id="f" source="image" path="floor.PNG" pixels_per_meter="100"/> <!-- 4 walls to delimit arena --> <box id="bn" size="0.05, 3, 0.2" movable="false"> <body position="3, 0, 0" orientation="0,0,0" /> </box> <box id="bs" size="0.05, 3, 0.2" movable="false"> <body position="-3,0,0" orientation="0,0,0" /> </box> <box id="be" size="6, 0.05, 0.2" movable="false"> <body position="0,-1.49,0" orientation="0,0,0" /> </box> <box id="bw" size="6, 0.05, 0.2" movable="false"> <body position="0,1.49,0" orientation="0,0,0" /> </box>
Attachments
environment.jpg
positioning of lights
environment.jpg (16.71 KiB) Viewed 5610 times
error.png
error
error.png (28.76 KiB) Viewed 5610 times

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

Re: Error in distributing lights

Postby pincy » Thu Dec 09, 2021 1:12 pm

The arena has a height of zero, and the orientation should be distributed using a constant.
I made ARGoS.


Return to “How to... ?”