Skip to content

Commit

Permalink
Fix command-line task loading logic.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 622142702
Change-Id: I06b99b6bd49cb6d81f8a484f127d6e0af15358a9
  • Loading branch information
yuvaltassa authored and copybara-github committed Apr 5, 2024
1 parent 762f7e1 commit 94bb8a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mjpc/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ int main(int argc, char** argv) {
mju_error("Invalid --task flag.");
}

mjpc::StartApp(tasks, 11); // start with quadruped flat
mjpc::StartApp(tasks, task_id); // start with quadruped flat
return 0;
}

0 comments on commit 94bb8a2

Please sign in to comment.