Trajectory planning for robot manipulator

  • Hello again!

    How to do trajectory planning via MATLAB?

    What is the best way to do this?

    I have computed by hand the forward kinematics via D-H, also the forward differential kinematics (Jacobian matrix) and inverse differential kinematics, but I'm not sure if inverse kinematics is correct.

    So I don't want to use inverse kinematics for trajectory planning.


    Thanks in advance!

  • AD
  • For example here is a sample of the creation of a RigidBody joint for the MCP joint on an index finger that is attached to a body called "hand"

  • I tried it and manage to create rigidbodytree and find inverse kinematics, but I don't know how to do trajectory planning.

    This is my code so far

  • So you now have an inverse kinematics solver for your robot but the trajectory planning depends on how you want to do it because it can be as complicated or as simple as you want to make it, it just depends on what you are trying to achieve.

    You could define a path in point space and then use your IK solver to get the joint angles at that target point and then compute the difference between your current position and your target location on the path, then step through the robot joint angles until you reach that point, putting certain constraints around them so you define the direction the axis is to move +/- and so you don't have two axis' come into contact with each other or don't rotate past the limits of the simulated motors.

    With a multi DoF robot you will also have the possibility of reaching a point in various different ways so you will need to consider adding in parameters to define the way in which you want the robot to reach the point e.g. imagine reaching your hand out to grab something on your desk, you could reach the object with your elbow facing toward the ceiling but could also reach it with your elbow facing the floor.

    Then to add further to that you can then dive into optimization techniques on how to optimize your path planning based on specific parameters.


    Check out this video and it will help you:

    https://www.mathworks.com/vide…lators-1556705635398.html

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now