Skip to main content

Package related to the paper https://doi.org/10.1109/ICRA48891.2023.10160795.

Project description

ICRA2023 Autonomous Orbital Manipulation using Vector-Field Inequalities Example

Orbital manipulation code and minimal example for our ICRA2023 paper:

@InProceedings{koyama2023vitreoretinal,
  author       = {Koyama, Y. and Marinho, M. M. and Harada, K.},
  title        = {Vitreoretinal Surgical Robotic System with Autonomous Orbital Manipulation using Vector-Field Inequalities},
  booktitle    = {2023 IEEE International Conference on Robotics and Automation (ICRA)},
  year         = {2023},
  month        = may,
  organization = {IEEE},
  pages        = {1--7},
}

In this example, I have implemented the main code of the paper in orbital_manipulation.py. By moving xd1 and xd2, the user can see the optimization handling the orbital manipulation constraint in real time.

To make this example simpler to users outside my lab, I have decided to use the KUKA LBR4+ robots available by default in CoppeliaSim.

The "eye" is in this simulation is much bigger than in the real experiments for easier visualization and operation on CoppeliaSim.

Screenshot 2023-02-08 at 20 01 44

Configuration

Supposing you have a suitable Python3 installation, do as follows.

  1. Download this repository
git clone https://github.com/mmmarinho/icra2023_orbitalmanipulation.git
cd icra2023_orbitalmanipulation
  1. Create a virtual environment
python3 -m venv venv
source venv/bin/activate
  • These instructions are for bash-enabled systems, for other terminal programs, check the venv documentation linked below.
  • Remember to always activate this virtual env again when you want to reuse it.
  • For more info on how to use venv [click here].
  1. Install the prerequisites
python3 -m pip install -r requirements.txt

Running this code

  1. Open the orbital_manipulation.ttt scene in CoppeliaSim

  2. Run the main.py script. Example

python3 main.py
  1. The simulation will start automatically. You can click and drag the xd1 and xd2 to change each robot's setpoint. Then, the robots will move accordingly to keep the orbital manipulation constraint.

  2. You can stop the script with CTRL+C.

TODO

  • Add the motion of the eye in the simulation. The real eye will naturally move in reaction to the motion enacted by the moving RCM points of each instrument.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file marinholab_papers_icra2023_orbitalmanipulation-0.0.1.tar.gz.

File metadata

File hashes

Hashes for marinholab_papers_icra2023_orbitalmanipulation-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5b1abf1b7800a3d738b159690a8a52be6c06c6b281bbe17c0031b5094d594126
MD5 1077ef54b0424b879a03e7a311b33c82
BLAKE2b-256 47f2c8eafd0e80a1efa883ca0e144d248aac65fac671db523b6e602e69e7bd92

See more details on using hashes here.

Provenance

The following attestation bundles were made for marinholab_papers_icra2023_orbitalmanipulation-0.0.1.tar.gz:

Publisher: python-publish.yml on mmmarinho/icra2023_orbitalmanipulation

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file marinholab_papers_icra2023_orbitalmanipulation-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for marinholab_papers_icra2023_orbitalmanipulation-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 97fcacca0f224fb20e1c41b6b3b3c91cceaeb79e8a29e18fc7801c57a84ca76b
MD5 0155aba0cd3654089bca3d0318759dce
BLAKE2b-256 a188faf74ee79be02d762c81e8ee49ff67b9ab1cf13b1e878e773e3d2c5fc990

See more details on using hashes here.

Provenance

The following attestation bundles were made for marinholab_papers_icra2023_orbitalmanipulation-0.0.1-py3-none-any.whl:

Publisher: python-publish.yml on mmmarinho/icra2023_orbitalmanipulation

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page