test swarm table
This commit is contained in:
parent
8f0b4dd79b
commit
c5df7e00a4
|
@ -470,13 +470,13 @@ namespace buzz_utility{
|
||||||
buzz_error_info());
|
buzz_error_info());
|
||||||
buzzvm_dump(VM);
|
buzzvm_dump(VM);
|
||||||
}
|
}
|
||||||
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
|
|
||||||
/* look into this currently we don't have swarm feature tested */
|
|
||||||
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
|
|
||||||
// usleep(10000);
|
// usleep(10000);
|
||||||
/*Print swarm*/
|
/*Print swarm*/
|
||||||
buzzswarm_members_print(stdout, VM->swarmmembers, VM->robot);
|
buzzswarm_members_print(stdout, VM->swarmmembers, VM->robot);
|
||||||
/* Check swarm state */
|
int SwarmSize = buzzdict_size(VM->swarmmembers)+1;
|
||||||
|
fprintf(stderr, "Real Swarm Size: %i\n",SwarmSize);
|
||||||
|
|
||||||
|
/* Check swarm state -- SOMETHING CRASHING HERE!! */
|
||||||
/* int status = 1;
|
/* int status = 1;
|
||||||
buzzdict_foreach(VM->swarmmembers, check_swarm_members, &status);
|
buzzdict_foreach(VM->swarmmembers, check_swarm_members, &status);
|
||||||
if(status == 1 &&
|
if(status == 1 &&
|
||||||
|
|
Loading…
Reference in New Issue