Demo of the V-REP remote API.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.adoc
remoteApi.dll
remote_demo-fast.gif
remote_demo.gif
remote_demo.py
remote_demo.ttt
vrep.py
vrepConst.py

README.adoc

V-REP Remote API Demo

Introduction

This is a demo of how to use the V-REP remote API to control a robot model during simulation. The robot is a simple line follower and the logic is written in Python.

Requirements

This demo was creating using the following:

  • V-REP 3.3.2

  • Python 2.7

  • Windows 7

While originally developed on Windows, this demo should work on any OS that supports V-REP by replacing remoteApi.dll with the platform-specific remote API library. Refer to the V-REP documentation for more information.

Usage

To run this demo:

  1. Open remote_demo.ttt in V-REP.

  2. Once the scene has loaded, run remote_demo.py.

  3. A simulation should start automatically and the robot will execute the line following logic.

  4. The robot logic runs in an infinite loop. Stopping the simulation will cause remote_demo.py to exit.

Here’s the demo in action:

V-REP Remote API Demo

It take a few minutes for the robot to follow the full path. Here’s a sped up recording:

V-REP Remote API Demo