Skip to content

Commit e98a151

Browse files
erez-tomcopybara-github
authored andcommitted
Disambiguate two Panda tasks: pick vs. pick+place. Also, fix cmake.
PiperOrigin-RevId: 607650685 Change-Id: Ib95febae22ffb7e7896e0cb99f7dae9ba4c9b858
1 parent 12363a2 commit e98a151

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

mjpc/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,8 @@ add_library(
4444
tasks/bimanual/bimanual.h
4545
tasks/cartpole/cartpole.cc
4646
tasks/cartpole/cartpole.h
47-
tasks/cube/solve.cc
48-
tasks/cube/solve.h
4947
tasks/fingers/fingers.cc
5048
tasks/fingers/fingers.h
51-
tasks/hand/hand.cc
52-
tasks/hand/hand.h
5349
tasks/humanoid/stand/stand.cc
5450
tasks/humanoid/stand/stand.h
5551
tasks/humanoid/tracking/tracking.cc
@@ -66,6 +62,10 @@ add_library(
6662
tasks/panda/panda.h
6763
tasks/particle/particle.cc
6864
tasks/particle/particle.h
65+
tasks/rubik/solve.cc
66+
tasks/rubik/solve.h
67+
tasks/shadow_reorient/hand.cc
68+
tasks/shadow_reorient/hand.h
6969
tasks/quadrotor/quadrotor.cc
7070
tasks/quadrotor/quadrotor.h
7171
tasks/quadruped/quadruped.cc

mjpc/tasks/manipulation/manipulation.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,17 @@
1616

1717
#include <string>
1818

19-
#include <absl/container/flat_hash_map.h>
2019
#include <absl/random/random.h>
2120
#include <mujoco/mjmodel.h>
2221
#include <mujoco/mujoco.h>
23-
#include "mjpc/task.h"
2422
#include "mjpc/tasks/manipulation/common.h"
2523
#include "mjpc/utilities.h"
2624

2725
namespace mjpc {
2826
std::string manipulation::Bring::XmlPath() const {
2927
return GetModelPath("manipulation/task_panda_bring.xml");
3028
}
31-
std::string manipulation::Bring::Name() const { return "Panda Robotiq Bring"; }
29+
std::string manipulation::Bring::Name() const { return "PickAndPlace"; }
3230

3331
void manipulation::Bring::ResidualFn::Residual(const mjModel* model,
3432
const mjData* data,

mjpc/tasks/panda/panda.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace mjpc {
2525
std::string Panda::XmlPath() const {
2626
return GetModelPath("panda/task.xml");
2727
}
28-
std::string Panda::Name() const { return "Panda"; }
28+
std::string Panda::Name() const { return "Pick"; }
2929

3030
// ---------- Residuals for in-panda manipulation task ---------
3131
// Number of residuals: 5

0 commit comments

Comments
 (0)