Skip to content

This Repo aims to provide a good start for any one who wants to integrate python projects utilizing image processing or/and Deep learning with robotics simulations in Coppeliasim (Vrep formally).

Notifications You must be signed in to change notification settings

python-arch/Coppeliasim_simulation_projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Introduction

This repository showcases how Python can be integrated with CoppeliaSim, a versatile robotics simulation software, using its remote API. The remote API allows Python scripts to interact with CoppeliaSim, enabling a wide range of applications such as robot control, simulation automation, Autonomous and Deep learning related tasks.

Green Object Tracker

This Python script uses the CoppeliaSim remote API to track a green object in a vision sensor and overlay a rectangle marker around it. If you are a beginner to Coppeliasim this project will be a good start for you to get familiar with the primitive shapes objects , Vision Sensors , interacting with coppeliasim through zmqremoteAPI

Requirements

  • Python 3
  • OpenCV (pip install opencv-python)
  • numpy (pip install numpy)
  • CoppeliaSim

Usage

  1. Start CoppeliaSim and load your scene.
  2. Adjust the vision sensor handles (v_0_handle and v_1_handle) to match your scene.
  3. Run the script and enter the simulation time in seconds when prompted.
  4. The script will track the green object in the vision sensor and save images with rectangles to the output directory.

Sample Output

Example Image

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This Repo aims to provide a good start for any one who wants to integrate python projects utilizing image processing or/and Deep learning with robotics simulations in Coppeliasim (Vrep formally).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages