- Yashveer Jain : 119252864
- Mayank Sharma : 119203859
With Uncertainty in state dynamics and input matrix, for Robot Manipulator, the controlling become difficult and there different ways to design controller, either using Robust Control Approach or Optimal Control Approach. Here we're implementing the paper which uses Optimal Control Approach i.e LQR controller to solve the Robust Control problem of Robot Manipulator.
pip install -r requirements.txt
python3 code/scara.py <path/to/store/result image file> <epsilon value b/w (0,1)>
- example:
python3 code/scara.py results/e_0.png 0
- If
path
argument are not given, then script will exit. - By default
epsilon = 0
ifepsilon
argument is not given.- animation output =
True
, and need to set it toFalse
manually in line 228 in the file, if animation is not needed.
dt
should be very small, currently we are using dt = 0.01.total time
taken as50 sec
instead of100 sec
because of higher code runtime.- for changing
total_time
, in line 233, when calling methodrun_controller
, you can givetotal_time
as argument, [file](code/ scara.py).
- for changing
Interactive code can be found here
click here
click here
- Feng Lin and R. D. Brandt, "An optimal control approach to robust control of robot manipulators," in IEEE Transactions on Robotics and Automation, vol. 14, no. 1, pp. 69-77, Feb. 1998, doi: 10.1109/70.660845.
- https://automaticaddison.com/linear-quadratic-regulator-lqr-with-python-code-example/