agentcontest / massim_2018

Simulation platform for the Multi-Agent Programming Contest 2016 - 2018
https://multiagentcontest.org/
GNU Affero General Public License v3.0
20 stars 24 forks source link

EIS Types #10

Closed remcollier closed 6 years ago

remcollier commented 6 years ago

Hi guys,

Thanks for the previous fix - we have been playing with the new server - it is very nice.

I just have one thought - I tried to use the EIS method for getting the type of an entity, but it returns "unknown". Is this deliberate, or would it be possible to return the type (e.g. "drone") as this would allow me to assign the correct agent program to each entity without needing to manually map id's to types...

Rem

t-ah commented 6 years ago

Hi Rem,

when do you need this information? We could set the type when eismassim receives the sim-start messages. But this might be too late for you?

Tobias

remcollier commented 6 years ago

this would be too late - i was thinking that might have been the problem (you don't know the type until you receive the first message). I will revert to using id->type mappings (I was trying to generalise the agent code as much as possible so that you only need to know types, but it is not a big deal.

Thanks for the reply, Rem