diff options
-rw-r--r-- | sim.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -48,7 +48,14 @@ int parseInt(const char *str){ } void usage(char **argv){ - cerr<<"Usage: "<<argv[0]<<" [-r <fname>]* [-p <fname> <x> <y> <heading>]* [-s <sleeptime>] [-t] [-B]"<<endl; + cerr<<"Usage: "<<argv[0]<<" [-r <fname>]* [-p <fname> <x> <y> <heading>]* " + <<"[-s <sleeptime>] [-t] [-B]"<<endl + <<" -r Place robot at random position"<<endl + <<" -p Place robot at specified position"<<endl + <<" -s Modify usecs to sleep between frames"<<endl + <<" -t Don't sleep between frames but wait until keypress"<<endl + <<" -B Batch mode: simulate until no more active robots, then robot locations;"<<endl + <<" columns: team x y heading"<<endl; } int main(int argc,char **argv){ |