Skip to content

CoppeliaSim

Tami-32 edited this page Jul 28, 2021 · 5 revisions

CoppeliaSim

The Robobo model is compatible with CoppeliaSim. Instructions about how to download the model and configure it, can be found at:

https://github.com/mintforpeople/robobo-coppelia-simulator

This model has been created and tested with the EDU version of CoppeliaSim, which can be downloaded from:

https://www.coppeliarobotics.com/downloads

Before using the Robobo model, it is recommended to read the user manual and try some basic examples with other robot models:

https://www.coppeliarobotics.com/helpFiles/index.html

Real vs Simulated

To run the same Python script in the real and simulated Robobo is very simple.

For instance, following the example included in the repository at:

https://github.com/mintforpeople/robobo-coppelia-simulator/blob/main/example.py

To run it in the real robot, the main should contain the IP shown in the Robobo app, as explained in https://github.com/mintforpeople/robobo-programming/wiki/python-doc:

if __name__ == '__main__':
    rob = Robobo('10.112.36.167')  # real IP
    rob.connect() 

To run the same script in the CoppeliaSim model, the main should contain:

if __name__ == '__main__':
    rob = Robobo('127.0.0.1')  # localhost
    rob.connect()  

As it can be seen, the only difference is the IP address of the robot.


Empresa subvencionada por el CDTI (Presupuestos Generales del Estado a cargo de la aplicación 27.12.467C.74908) Concretamente, mediante el programa de Ayudas destinadas a nuevos proyectos empresariales de empresas innovadoras (Programa NEOTEC), al amparo de la Orden ECC/1333/2015, de 2 de julio.