User Tools

Site Tools


vrep:socket-com-with-robot

This is an old revision of the document!


Th socket communication allows for an external program to control the robot inside V-REP. The external program is a Python script. We will use for the socket a server/client communication. The server is written in Lua inside a threaded script in V-REP. The client is written in Python, It will :

  • connect to the server
  • send commands to the robot
  • read data from the robot (sensors, status, …)
  • disconnect from the server

On the server side of the socket, we use a threaded script in Lua as we want to listen to the client's commands synchronously with the V-REP simulation loop.

vrep/socket-com-with-robot.1584438100.txt.gz · Last modified: 2020/03/17 10:41 by admin