Revision da08d580
ID | da08d5802cc33e68cb62e79cb31686faa907a34f |
Added launch files for the demo and made a little change to the
argument checker to make them work.
scout/libscout/src/BehaviorProcess.cpp | ||
---|---|---|
43 | 43 |
|
44 | 44 |
// Running with no arguments only supports one scout. Check in case |
45 | 45 |
// the user meant to specify a scout in the arguments. |
46 |
if (argc != 3)
|
|
46 |
if (argc < 3)
|
|
47 | 47 |
{ |
48 | 48 |
cout << "You have started this behavior in hardware mode." << endl |
49 | 49 |
<< "To start in software mode, use: " << argv[0] |
Also available in: Unified diff