generated from LCAS/ros2-teaching-ws
-
Notifications
You must be signed in to change notification settings - Fork 6
Path Planning
francescodelduchetto edited this page Mar 27, 2025
·
5 revisions
In this task, you will implement a very simple path planning algorithm for a set of target Cartesian coordinates.
▶️ 🧑💻 Open the scriptweek8/trajectory_planning.py
and go to the functionplan_cartesian_trajectory(self)
which contains a template for solving the task.▶️ 🧑💻 Complete the missing parts of the code. NOTE 1: the functionalities for plotting your path are already implemented. NOTE 2: you can use the functioncompute_ik(target_P, target_R, elbow_up)
frominverse_kinematics_analytic.py
in order to compute the joint positions.
In this task you will implement a very simple path planning algorithm for a set of target joint coordinates.
▶️ 🧑💻 Similarly as before, open the scriptweek8/trajectory_planning.py
and go to the functionplan_joint_trajectory(self)
which contains a template for solving the task.▶️ 🧑💻 Complete the missing parts of the code. NOTE 1: the functionalities for plotting your path are already implemented. NOTE 2: you can use the functioncompute_dk(q1,q2,q3,q4,q5,q6)
fromdirect_kinematics.py
in order to compute the end effector position.
Parts for the workshops are extracted, edited from and/or inspired by the following sources.
- Official ROS humble tutorials: https://docs.ros.org/en/humble/Tutorials.html
- Elephant Robotics docs: https://docs.elephantrobotics.com/docs/gitbook-en/