-
Notifications
You must be signed in to change notification settings - Fork 7
Trajectory Planning
In this task you will need to define the Jacobian Matrix for your robot.
▶️ 🧑💻 Open the scriptweek8/jacobian.pyand and complete the functionsJ1,J2,J3,J4,J5,J6which calculates the jacobian components of the full jacobian matrix.
Once the you have defined your jacobian matrix, you can go back to the trajectory planning code week8/trajectory_planning.py you have implemented in tasks 1 and 2 to compute also joints and end-effector velocities.
-
▶️ 🧑💻 Go to the functionplan_cartesian_trajectory(). -
▶️ 🧑💻 Assuming 1m/s linear velocity along the cartesian path, compute the joint velocities at each viapoint using the Jacobian matrix. -
▶️ 🧑💻 Plot the cartesian and joint velocities -
▶️ 🧑💻 Go to the functionplan_joint_trajectory(). -
▶️ 🧑💻 Assuming 0.1 rad/s velocity along the joint paths, compute the cartesian velocity at each viapoint using the inverse Jacobian matrix. -
▶️ 🧑💻 Plot the joint and cartesian velocities
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/