You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Conception/drake-master/examples/planar_gripper
王京 14fe3d1429
中期检验所用代码以及文档
2 years ago
..
test 中期检验所用代码以及文档 2 years ago
BUILD.bazel 中期检验所用代码以及文档 2 years ago
README.md 中期检验所用代码以及文档 2 years ago
brick_static_equilibrium_constraint.cc 中期检验所用代码以及文档 2 years ago
brick_static_equilibrium_constraint.h 中期检验所用代码以及文档 2 years ago
gripper_brick.cc 中期检验所用代码以及文档 2 years ago
gripper_brick.h 中期检验所用代码以及文档 2 years ago
gripper_brick_planning_constraint_helper.cc 中期检验所用代码以及文档 2 years ago
gripper_brick_planning_constraint_helper.h 中期检验所用代码以及文档 2 years ago
planar_brick.sdf 中期检验所用代码以及文档 2 years ago
planar_gripper.sdf 中期检验所用代码以及文档 2 years ago
planar_gripper.xacro 中期检验所用代码以及文档 2 years ago
planar_gripper_common.cc 中期检验所用代码以及文档 2 years ago
planar_gripper_common.h 中期检验所用代码以及文档 2 years ago
planar_gripper_lcm.cc 中期检验所用代码以及文档 2 years ago
planar_gripper_lcm.h 中期检验所用代码以及文档 2 years ago
planar_gripper_simulation.cc 中期检验所用代码以及文档 2 years ago
planar_manipuland_lcm.cc 中期检验所用代码以及文档 2 years ago
planar_manipuland_lcm.h 中期检验所用代码以及文档 2 years ago
postures.txt 中期检验所用代码以及文档 2 years ago
run_planar_gripper_trajectory_publisher.cc 中期检验所用代码以及文档 2 years ago

README.md

Planar Gripper Example

This directory contains an example for simulating a planar-gripper (three two-degree-of-freedom fingers moving in a plane) which reorients a brick through contact interactions.

Prerequisites

All instructions assume that you are launching from the drake workspace directory.

cd drake

Open a visualizer window

bazel run //tools:meldis -- --open-window &

Build the example in this directory

bazel build //examples/planar_gripper/...

Example

Run Trajectory Publisher

bazel-bin/examples/planar_gripper/run_planar_gripper_trajectory_publisher

Sends desired joint positions over LCM. Requires a suitable LCM based simulator (such as the example in this directory) listening for lcmt_planar_gripper_command messages and publishing lcmt_planar_gripper_status messages. If successful, the program will display Waiting for first lcmt_planar_gripper_status, indicating it is waiting for the simulation to start publishing status messages.

Simulation

Run the following example of an (LCM based) simulation of a planar-gripper:

bazel-bin/examples/planar_gripper/planar_gripper_simulation

This simulates a planar-gripper with a position-based inverse dynamics controller (by default), communicating via LCM.