Skip to content

Commit 6e31249

Browse files
erez-tomcopybara-github
authored andcommitted
Fix includes.
PiperOrigin-RevId: 602741134 Change-Id: Ic1c28a2e73aa049c469e50d1cff115d153e1a535
1 parent 71b360c commit 6e31249

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

mjpc/testspeed.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include "third_party/mujoco_mpc/mjpc/testspeed.h"
15+
#include "mjpc/testspeed.h"
1616

1717
#include <chrono>
1818
#include <cmath>

mjpc/testspeed_app.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515
#include <string>
1616

17-
#include "base/init_google.h"
17+
#include <absl/flags/parse.h>
1818
#include <absl/flags/flag.h>
1919

20-
#include "third_party/mujoco_mpc/mjpc/testspeed.h"
20+
#include "mjpc/testspeed.h"
2121
#include "mjpc/utilities.h"
2222

2323
ABSL_FLAG(std::string, task, "Cube Solving", "Which model to load on startup.");
@@ -28,7 +28,7 @@ ABSL_FLAG(int, steps_per_planning_iteration, 4,
2828
ABSL_FLAG(double, total_time, 10, "Total time to simulate (seconds).");
2929

3030
int main(int argc, char** argv) {
31-
InitGoogle(argv[0], &argc, &argv, true);
31+
absl::ParseCommandLine(argc, argv);
3232
std::string task_name = absl::GetFlag(FLAGS_task);
3333
int planner_thread_count = absl::GetFlag(FLAGS_planner_thread);
3434
int steps_per_planning_iteration =

mjpc/testspeed_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include "third_party/mujoco_mpc/mjpc/testspeed.h"
15+
#include "mjpc/testspeed.h"
1616

17-
#include "testing/base/public/gunit.h"
17+
#include "gtest/gtest.h"
1818

1919
namespace {
2020

0 commit comments

Comments
 (0)