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.
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
- Python 3
- OpenCV (
pip install opencv-python
) - numpy (
pip install numpy
) - CoppeliaSim
- Start CoppeliaSim and load your scene.
- Adjust the vision sensor handles (
v_0_handle
andv_1_handle
) to match your scene. - Run the script and enter the simulation time in seconds when prompted.
- The script will track the green object in the vision sensor and save images with rectangles to the
output
directory.
This project is licensed under the MIT License - see the LICENSE file for details.