Distributing lights doesn't work

Discussions regarding ARGoS bugs. Report bugs here.
Elendurwen
Posts: 41
Joined: Sat Aug 24, 2013 5:08 pm
Contact:

Distributing lights doesn't work

Postby Elendurwen » Wed Jun 06, 2018 2:33 pm

I am trying to use the distribute tag in order to randomly placed some lights:

Code: Select all

<distribute> <position method="uniform" min="-2,-2,0" max="2,2,0" /> <orientation method="uniform" min="0,0,0" max="360,0,0" /> <entity quantity="5" max_trials="100"> <light id="wallLight" color="yellow" intensity="1.0" medium="leds" /> </entity> </distribute>
However, this gives an error

Code: Select all

Error inserting a light entity with id "wallLight0". An entity with that id already exists.

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

Re: Distributing lights doesn't work

Postby pincy » Wed Jun 06, 2018 2:40 pm

Can you post this bugreport on GitHub? I'll have a look at it today.
I made ARGoS.

Elendurwen
Posts: 41
Joined: Sat Aug 24, 2013 5:08 pm
Contact:

Re: Distributing lights doesn't work

Postby Elendurwen » Wed Jun 06, 2018 4:30 pm

Done

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

Re: Distributing lights doesn't work

Postby pincy » Wed Jun 06, 2018 6:01 pm

beta51 solves this issue.
I made ARGoS.


Return to “Bugs”