https://github.com/anujsainarain/kinematic-inversion_scara
This repository contains MATLAB/Simulink simulations for implementing second-order algorithms for kinematic inversion with Jacobian inverse and Jacobian pseudo-inverse, along with obstacle avoidance in operational space.
https://github.com/anujsainarain/kinematic-inversion_scara
inverse-kinematics matlab matlab-script scara-robot simulink
Last synced: 7 months ago
JSON representation
This repository contains MATLAB/Simulink simulations for implementing second-order algorithms for kinematic inversion with Jacobian inverse and Jacobian pseudo-inverse, along with obstacle avoidance in operational space.
- Host: GitHub
- URL: https://github.com/anujsainarain/kinematic-inversion_scara
- Owner: anujsainarain
- License: mit
- Created: 2024-02-28T06:20:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-28T07:26:01.000Z (over 1 year ago)
- Last Synced: 2024-07-19T09:42:15.969Z (over 1 year ago)
- Topics: inverse-kinematics, matlab, matlab-script, scara-robot, simulink
- Language: MATLAB
- Homepage:
- Size: 1.43 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kinematic Inversion with Obstacle Avoidance
This repository contains MATLAB/Simulink simulations for implementing second-order algorithms for kinematic inversion with Jacobian inverse(part 1) and Jacobian pseudo-inverse(part 2), along with obstacle avoidance in operational space.
## Overview
The simulation project consists of two parts, each addressing different aspects of kinematic inversion and obstacle avoidance.
### Part 1: Kinematic Inversion with Jacobian Inverse
Implement a second-order algorithm for kinematic inversion with Jacobian inverse along a given trajectory using Euler integration with a time step of 1 ms.
### Part 2: Kinematic Inversion with Jacobian Pseudo-Inverse and Obstacle Avoidance
Relax one component (z-component) in the operational space and implement a second-order algorithm for kinematic inversion with Jacobian pseudo-inverse along the given trajectory. Additionally, maximize the distance from an obstacle, which is a sphere centered at p = [0.4, -0.7, 0.5]^T with a radius of 0.2 m.
## Files
1. **Part1**: MATLAB script for implementing kinematic inversion with Jacobian inverse.
2. **Part2**: MATLAB script for implementing kinematic inversion with Jacobian pseudo-inverse and obstacle avoidance.
## Usage
1. Clone the repository to your local machine.
2. Open MATLAB and navigate to the repository directory.
3. Run the `init.m` file in either `Part1` or `Part2` folder depending on what you're trying to implement.
The `init.m` script loads a pre-defined kinematic trajectory and simulates closed-loop inverse kinematics (CLIK) using the trajectory data. It then visualizes the trajectory tracking of a SCARA robot in a virtual reality environment and displays operational space errors and joint values graph upon completion of the visualization. The script provides an integrated approach to analyze and visualize the kinematic trajectory tracking process in a concise and interactive manner.
## Visualization
#### SCARA Manipulator Motion Video
[Video demonstration](https://github.com/Amenephous/Kinematic-Inversion_SCARA/assets/48127920/128061cc-653a-476e-8ad1-a8d4ad30c890)
#### Errors and Joint Positions
### Part 2: Kinematic Inversion with Jacobian Pseudo-Inverse Kinematics with Obstacle Avoidance
#### Errors and Joint Positions
## Dependencies
The simulations require MATLAB and Simulink.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.