Question: Please use the class structure below, and make sure your code can run the two tests included. You may not use any
Please use the class structure below, and make sure your code can run the
two tests included. You may not use any kinematics libraries in your solution,
although you may find it helpful to compare the outputs you calculate with the
results from those libraries.
import numpy as np
class Robot:
def initself:
TODO: write code to initialize your robot
pass
def forwardkinematicsselfjoints:
TODO: define this method to calculate the end effector position with
respect to the reference frame of the base. It accepts a list or numpy
array of joint angles theta theta thetaas drawn above as input,
and returns the x y z position of the end effector in D space'
pass
def inversekinematicsself pos:
TODO: define this method to calculate the robot's joint angles that yield
a desired position pos x y z in D space. This method should
return an array of joint angles, theta theta theta You may use
either of the numerical methods for IK introduced in the course in your
implementation. Tune the number of update steps and step sizes ie values
of lr or alpha so that your code passes the test cases.
pass
Describe any limitations of LQR and its extensions. For which classes of control problems are LQRbased methods useful, and for which might we need to look to another family of methods?
Suppose that you are presented with a robot manipulator and asked to write a numerical LQR solver from scratch for a balancing problem with this manipulator. Describe all of the steps that you will need to take to accomplish this task.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
