Skip to content

Python 3 robot that gets sensor data from V-REP simulator and takes decisions by making queries to a SWI-Prolog program.

License

Notifications You must be signed in to change notification settings

agnsal/prothonics-vrep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prothonics-vrep

Python 3 robot that gets sensor data from V-REP simulator and takes decisions by making queries to a SWI-Prolog program (act method has not been implemented yet). I used Pioneer P3-DX V-REP model for the robot, but you can easily replace it with the model you prefer just changing the names and the arrangement of the sensors (both in Python and in Prolog program).

V-REP robot simulator, SWI-Prolog and PySWIP Python library are needed:

Like any V-REP project, you have to put the following files in "SWIPrologPythonRobotForVREP" directory, in order to run it:

  • vrep.py
  • vrepConst.py
  • the appropriate remote API library: "remoteApi.dll" (Windows), "remoteApi.dylib" (Mac) or "remoteApi.so" (Linux)
  • simpleTest.py (or any other example file)

Contacts

Agnese Salutari – agneses92@hotmail.it

Distributed under the Apache License 2.0. See LICENSE for more information.

https://github.com/agnsal

Contributing

  1. Fork it (https://github.com/yourname/yourproject/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

Python 3 robot that gets sensor data from V-REP simulator and takes decisions by making queries to a SWI-Prolog program.

Resources

License

Stars

Watchers

Forks

Packages

No packages published