Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
thowell authored and nkhosh committed Jun 17, 2024
1 parent fbc4158 commit d7481b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions mjpc/tasks/humanoid/interact/contact_keyframe.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "mjpc/tasks/humanoid/interact/contact_keyframe.h"

namespace mjpc::humanoid {

void ContactPair::Reset() {
body1 = kNotSelectedInteract;
body2 = kNotSelectedInteract;
Expand Down
4 changes: 2 additions & 2 deletions mjpc/tasks/humanoid/interact/contact_keyframe.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
#ifndef MJPC_TASKS_HUMANOID_INTERACT_CONTACT_KEYFRAME_H_
#define MJPC_TASKS_HUMANOID_INTERACT_CONTACT_KEYFRAME_H_

#include <mujoco/mujoco.h>

#include <map>
#include <string>
#include <vector>

#include "mujoco/mujoco.h"

namespace mjpc::humanoid {

// ---------- Constants ----------------- //
Expand Down
8 changes: 4 additions & 4 deletions mjpc/tasks/humanoid/interact/interact.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ enum TaskMode : int {

// ----------- Default weights for the residual terms ----------------- //
const std::vector<std::vector<double>> default_weights = {
{10., 10., 5., 5., 0., 20., 30., 0., 0., 0., 0.01, 0.1, 80.}, // sit
{10., 0., 1., 1., 80., 0., 0., 100., 0., 0., 0.01, 0.025, 0.}, // stand
{0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.01, 0.8, 80.}, // relax
{0., 0., 0., 0., 0., 0., 0., 0., 0., 50., 20., 0.025, 80.}, // stay still
{10, 10, 5, 5, 0, 20, 30, 0, 0, 0, 0.01, .1, 80.}, // to sit
{10, 0, 1, 1, 80, 0, 0, 100, 0, 0, 0.01, 0.025, 0.}, // to stand
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.01, .8, 80.}, // to relax
{0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 20, .025, 80.}, // to stay still
};

// ----------- Default colors for the contact pair points ------------ //
Expand Down

0 comments on commit d7481b9

Please sign in to comment.