V-REP Remote API Demo
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.
This demo was creating using the following:
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.
To run this demo:
Once the scene has loaded, run
A simulation should start automatically and the robot will execute the line following logic.
The robot logic runs in an infinite loop. Stopping the simulation will cause
Here’s the demo in action:
It take a few minutes for the robot to follow the full path. Here’s a sped up recording: