Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamPettinger committed Mar 29, 2023
1 parent 6f34aff commit d9d86d6
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,30 @@
# ap_planning_examples
# AP Planning Examples
This is an examples package for planning with Affordance Primitives. See [here](https://github.com/UTNuclearRoboticsPublic/ap_planning) for the main repo.

# Installing and Running Examples
Make sure you follow the install instructions in the [ap_planning repo](https://github.com/UTNuclearRoboticsPublic/ap_planning).

To install the demonstrations:
```sh
git clone https://github.com/TAMS-Group/bio_ik.git
git clone https://github.com/UTNuclearRoboticsPublic/ap_planning_examples.git
rosdep install --from-paths . --ignore-src -y
catkin build --cmake-args -DCMAKE_BUILD_TYPE=Release
```

After you source the workspace, you should be able to run a number of demonstrations:
```sh
# This one starts a simulation Franka Emika Panda manipulator with single screw axis motions
roslaunch ap_planning_examples panda_demo.launch

# This one is the same arm, with multiple chained screw constraints
roslaunch ap_planning_examples chained_screws.launch

# Same arm, but with multiple independent screw axes
roslaunch ap_planning_examples unchained_screws.launch
```

This repository also contains a tool for visualizing the screw-constraint function working, debugging future improvements to it, etc. The following launch file will open RViz and let you drag around an "initial guess" coordinate frame. Every few seconds, the constraint function will be called to solve the closest pose to the initial guess that satisfies the constraints
```sh
roslaunch ap_planning_examples multiple_constraint_tester.launch
```

0 comments on commit d9d86d6

Please sign in to comment.