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
Distributed under the Apache License 2.0. See LICENSE
for more information.
- Fork it (https://github.com/yourname/yourproject/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request