Fix testspeed argument count check
PiperOrigin-RevId: 844128965 Change-Id: I3089c7e71efde1ee6fe7c24903d634ed44dfd6eb
This commit is contained in:
committed by
Copybara-Service
parent
e3a860de69
commit
e7077b5a05
+2
-2
@@ -138,10 +138,10 @@ void simulate(int id, int nstep, mjtNum* ctrl) {
|
||||
int main(int argc, char** argv) {
|
||||
|
||||
// print help if arguments are missing
|
||||
if (argc < 2 || argc > 6) {
|
||||
if (argc < 2 || argc > 7) {
|
||||
return finish(
|
||||
"\n"
|
||||
"Usage: testspeed modelfile [nstep nthread ctrlnoise npoolthread]\n"
|
||||
"Usage: testspeed modelfile [nstep nthread ctrlnoisestd ctrlnoiserate npoolthread]\n"
|
||||
"\n"
|
||||
" argument default semantic\n"
|
||||
" -------- ------- --------\n"
|
||||
|
||||
Reference in New Issue
Block a user