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

AAAI-DISIM-UnivAQ/prothonics-vrep

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 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 the working 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) to test basic functionality

License

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

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 91.9%
  • Prolog 8.1%