8000 GitHub - Muminisko/probot_sim: Probot Simulator
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Muminisko/probot_sim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lego ev3 simulator

p:ROBOT logo

This is a part of the [p]:ROBOT edu project run by the University of Silesia and Foundation for the development of the Silesian Centre for Education and Interdisciplinary Research in Chorzów EDU-RES. For detailed informations please visit us at the official project website.

How to start with the simulator

  1. Get latest vrep software (not CoppeliaSim). Go for latest V-REP 3.6.2 version. During download, use the "V-REP PRO EDU" file for your operating system. This link will get you to the desired download page.

Note: if you will use one of the scenes provided in this repo, you can skip point 2

  1. Get Lego EV3 device on github and copy it to [vrep dir]/models/robots/mobile/ directory. Alternatively you can use this link to get the robot model.

  2. Copy scenes/probot_square.ttt scene to [vrep dir]/scenes

Note: if you will use this repo, you can skip point 4

  1. Copy [vrep dir]/programming/remoteApiBindings/python vrep.py vrepConst.py to main probot_sim directory (or any other where you are going to code)

  2. Copy [vrep dir]/programming/remoteApiBindings/lib/lib to main probot_sim directory (or any other where you are going to code). Note that you need specific remote API library: "remoteApi.dll" (Windows), "remoteApi.dylib" (Mac) or "remoteApi.so" (Linux)

  3. Run vrep.

  4. Open scene (File->Open scene)

  • probot_color_sensor.ttt
  • probot_empty.ttt
  • probot_detection.ttt
  1. Run your Python code. You can start from one of the provided examples:
  • empty scene
    • probot_button.py
    • probot_display.py
    • probot_leds.py
    • probot_move_tank.py
    • probot_regular_polygon.py
    • probot_regular_polygon_gyro.py
    • probot_regular_polygon_ev3dev.py
  • wall detection
    • probot_ir_proximity_sensor.py
    • probot_touch_sensor.py
    • probot_ultrasonic_sensor.py
  • color
    • probot_color_calibrate_white.py
    • probot_color_sensor.py

About

Probot Simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0