Revision 1074
Can now add robots through the GUI.
libsim.c | ||
---|---|---|
14 | 14 |
|
15 | 15 |
void dragonfly_init(int config) |
16 | 16 |
{ |
17 |
struct itimerval iv; |
|
18 |
int ret; |
|
19 |
|
|
20 | 17 |
shared_state = shmat(atoi(getenv("memory_id")), NULL, 0); |
21 | 18 |
|
22 | 19 |
if(shared_state < 0) |
... | ... | |
37 | 34 |
{ |
38 | 35 |
if(raise(SIGTSTP)<0) |
39 | 36 |
fprintf(stderr, "ERROR: could not kill self\n"); |
37 |
} |
|
40 | 38 |
|
41 |
} |
Also available in: Unified diff