You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears to be a bug. Could you open a PR to fix it? I guess it is because the group agents are not useful for getting global_minimap anyway that this bug could never cause fatal exceptions on some machines.
search text in gridworld.py with "_LIB.env_get_info(self.game, -1",it appears 5 times
I fix it in c++ as follow
void GridWorld::get_info(GroupHandle group, const char *name, void *void_buffer) {
// for more information from the engine, add items here
if (group<0 || group>=groups.size())
{
//LOG(FATAL) << "index group out of range " << name;
//return;
group = 0;
}
gridworld.py
420行
_LIB.env_get_info(self.game, -1, b"global_minimap",
buf.ctypes.data_as(ctypes.POINTER(ctypes.c_float)))
c++ 712行
void GridWorld::get_info(GroupHandle group, const char *name, void *void_buffer) {
// for more information from the engine, add items here
The text was updated successfully, but these errors were encountered: