Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequence Tutorial for Pilz Industrial Motion Planner #801

Closed
ravijo opened this issue Oct 27, 2023 · 4 comments · Fixed by #917
Closed

Sequence Tutorial for Pilz Industrial Motion Planner #801

ravijo opened this issue Oct 27, 2023 · 4 comments · Fixed by #917
Labels
ros1 ROS 1 migration needed

Comments

@ravijo
Copy link

ravijo commented Oct 27, 2023

Description

I am looking for Sequence Tutorial for Pilz Industrial Motion Planner in MoveIt 2.

Your environment

  • ROS Distro: Humble
  • OS Version: Ubuntu 22.04
  • Source or Binary build: Source

Additional Info

Below is the code snippet showing sequence tutorial in Python for ROS Melodic:

    # Repeat the previous steps with a sequence command
    sequence = Sequence()
    sequence.append(Lin(goal=Pose(position=Point(0.2, 0, 0.8)), vel_scale=0.1, acc_scale=0.1))
    sequence.append(Circ(goal=Pose(position=Point(0.2, -0.2, 0.8)), center=Point(0.1, -0.1, 0.8), acc_scale=0.1))
    sequence.append(Ptp(goal=pose_after_relative, vel_scale=0.2))

    r.move(sequence)

    # Move to start goal for sequence demonstration
    r.move(Ptp(goal=start_joint_values))

    # Blend sequence
    blend_sequence = Sequence()
    blend_sequence.append(Lin(goal=Pose(position=Point(0.2, 0, 0.7)), acc_scale=0.05), blend_radius=0.01)
    blend_sequence.append(Lin(goal=Pose(position=Point(0.2, 0.1, 0.7)), acc_scale=0.05))

    r.move(blend_sequence)

Source: https://docs.ros.org/en/melodic/api/pilz_robot_programming/html/

@sea-bass
Copy link
Contributor

I don't think this part of the tutorial has been ported over, so you're welcome to give it a shot! I'd suggest looking at the integration test in the moveit2 repo that does a sequence with Pilz:

https://github.com/ros-planning/moveit2/blob/main/moveit_planners/pilz_industrial_motion_planner/test/integration_tests/src/integrationtest_sequence_action.cpp

@tylerjw tylerjw added the ros1 ROS 1 migration needed label Dec 1, 2023
@thanh7040
Copy link

@ravijo Did you able to implement it?. Can you give me a hint?

@sea-bass
Copy link
Contributor

sea-bass commented Aug 1, 2024

We had someone recently contribute this tutorial, and the PR is a few small comments away from being merged!
#917

@ravijo
Copy link
Author

ravijo commented Aug 1, 2024

Thanks for the update @sea-bass

@ravijo ravijo closed this as completed Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ros1 ROS 1 migration needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants