Skip to content

Commit

Permalink
Merge pull request RobotLocomotion#9989 from jwnimmer-tri/attic-diffik
Browse files Browse the repository at this point in the history
manipulation/planner: Move DiffIK out of the attic
  • Loading branch information
jwnimmer-tri authored Nov 10, 2018
2 parents a48a1fd + 4545a7a commit 4726e49
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 27 deletions.
27 changes: 0 additions & 27 deletions attic/manipulation/planner/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ drake_cc_package_library(
name = "planner",
deps = [
":constraint_relaxing_ik",
":differential_inverse_kinematics",
":robot_plan_interpolator",
],
)
Expand All @@ -33,18 +32,6 @@ drake_cc_library(
],
)

drake_cc_library(
name = "differential_inverse_kinematics",
srcs = ["differential_inverse_kinematics.cc"],
hdrs = ["differential_inverse_kinematics.h"],
deps = [
"//attic/multibody/parsers",
"//multibody:rigid_body_tree",
"//multibody/multibody_tree/multibody_plant",
"//solvers:mathematical_program",
],
)

drake_cc_library(
name = "robot_plan_interpolator",
srcs = ["robot_plan_interpolator.cc"],
Expand Down Expand Up @@ -79,20 +66,6 @@ drake_cc_googletest(
],
)

drake_cc_googletest(
name = "differential_inverse_kinematics_test",
data = [
"//manipulation/models/iiwa_description:models",
],
deps = [
":differential_inverse_kinematics",
"//attic/manipulation/util:world_sim_tree_builder",
"//common/test_utilities:eigen_matrix_compare",
"//examples/kuka_iiwa_arm:iiwa_common",
"//multibody/multibody_tree/parsing",
],
)

drake_cc_googletest(
name = "robot_plan_interpolator_test",
data = [
Expand Down
50 changes: 50 additions & 0 deletions manipulation/planner/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# -*- python -*-

load(
"@drake//tools/skylark:drake_cc.bzl",
"drake_cc_googletest",
"drake_cc_library",
"drake_cc_package_library",
)
load("//tools/lint:lint.bzl", "add_lint_tests")

package(
default_visibility = ["//visibility:public"],
)

drake_cc_package_library(
name = "planner",
deps = [
":differential_inverse_kinematics",
],
)

drake_cc_library(
name = "differential_inverse_kinematics",
srcs = ["differential_inverse_kinematics.cc"],
hdrs = ["differential_inverse_kinematics.h"],
deps = [
"//attic/multibody:rigid_body_tree",
"//attic/multibody/parsers",
"//multibody/multibody_tree/multibody_plant",
"//solvers:mathematical_program",
],
)

# === test/ ===

drake_cc_googletest(
name = "differential_inverse_kinematics_test",
data = [
"//manipulation/models/iiwa_description:models",
],
deps = [
":differential_inverse_kinematics",
"//attic/manipulation/util:world_sim_tree_builder",
"//common/test_utilities:eigen_matrix_compare",
"//examples/kuka_iiwa_arm:iiwa_common",
"//multibody/multibody_tree/parsing",
],
)

add_lint_tests()
1 change: 1 addition & 0 deletions tools/install/libdrake/build_components.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ LIBDRAKE_COMPONENTS = [
"//geometry/query_results",
"//lcm",
"//manipulation/perception",
"//manipulation/planner",
"//manipulation/schunk_wsg",
"//manipulation/util",
"//math",
Expand Down

0 comments on commit 4726e49

Please sign in to comment.