Skip to content

Commit

Permalink
Remove move_to_waypoint example
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhansenbot committed Aug 26, 2024
1 parent dd78cd4 commit 73e4a24
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 83 deletions.
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ ros2 service list
You should see a list of MoveIt Pro services.

Let's now test the SDK to see if we can execute and cancel MoveIt Pro Objectives.
There are three example scripts provided:
There are two example scripts provided:
* `start_blocking.py`: starts an Objective and waits until the Objective finishes execution.
* `start_stop_async.py`: starts an Objective, waits for a user-defined number of seconds, and then cancels the running Objective.
* `move_to_waypoint.py`: runs the "Move to Waypoint" Objective, using a parameter override to set the waypoint to move to.

To run the `Open Gripper` Objective, let's use `start_blocking.py` since this Objective shouldn't take long to complete:

Expand All @@ -57,12 +56,4 @@ We will let this Objective run for 10 seconds:
ros2 run moveit_studio_py start_stop_async.py "3 Waypoints Pick and Place" 10
```

To run the `move_to_waypoint.py` example, a valid waypoint must be provided.
A list of pre-defined waypoints can be found in the ui's "Endpoint" tab.
The following command would move the robot arm to the `Look at Left Table` waypoint:

```
ros2 run moveit_studio_py move_to_waypoint.py "Look at Left Table"
```

If you look at the `Objectives` tab in the web app, you should see these Objectives starting and stopping successfully.
1 change: 0 additions & 1 deletion moveit_studio_py/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ ament_python_install_package(
install(PROGRAMS
examples/start_blocking.py
examples/start_stop_async.py
examples/move_to_waypoint.py
DESTINATION lib/${PROJECT_NAME}
)

Expand Down
72 changes: 0 additions & 72 deletions moveit_studio_py/examples/move_to_waypoint.py

This file was deleted.

0 comments on commit 73e4a24

Please sign in to comment.