aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/sim.cpp b/sim.cpp
index 95d20d2..e5b2bf0 100644
--- a/sim.cpp
+++ b/sim.cpp
@@ -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){