Skip to content

haningrisha/ev3simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ev3Simulator

Build Status

Ev3Simaulator is an easy solution for coding and debugging your ev3 pyhton script.

  • Debugging
  • Codding
  • No need in actual ev3

Installation

Ev3Simulator requars a pip and python to run.

Install the dependencies and devDependencies and start the server.

$ pip -install ev3simulator

Components

  • LargeMotor- the simulation of LargeMotor from basic ev3 Librery
  • UltrasonicSensor- the simulation of UltrasonicSensor from basic ev3 Librery

Use sample

This is the exaple how to creat the realisation of Largemotor class. It's absolutly the same as using LargeMotor in basic ev3 libery.

mL = LargeMotor("outA")

Things are getting trickier than you are adding an UltrasonicSensor. You shoud yuse the add_wall method to add the start and finish coordinats of your wall. And of course you can set the angle between sensor and robot vector.

usR = UltrasonicSensor("in1", angle=-40)
usR.add_wall(x_start=0, y_start=60, x_finish=130, y_finish=60)

License

MIT

Free Software, Hell Yeah!

About

Simulator of engine and ultrasonic sensor of ev3. Simplifies coding and debugging.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages