Skip to content

Code examples for using python with RobotMesh and V5

Notifications You must be signed in to change notification settings

VEX-Robotics-AI/Python-V5

 
 

Repository files navigation

Python For V5

By using certain libraries and build tools it is possible to compile and run and python code on V5, EDR and IQ robots.

Build Tool

There is a command line tool available for building/compiling the code if you wish to use your own IDE (eg. VS Code).

https://store.robotmesh.com/downloads/desktop2_0_3_0/RobotMeshStudioRmBuildSetup.msi

The documentation for the command line tool is avialable here:

https://docs.robotmesh.com/rmbuild-usage

However to build and run a file on your V5 brain simply plug it into your computer via USB and run the following line in the CMD:

rmbuild v5 filename.py

RobotMesh IDE

If you wish to use RobotMesh's defualt IDE with built in build and run buttons you can download it here:

https://store.robotmesh.com/downloads/desktop2_0_3_0/RobotMeshStudioDesktopSetup.msi

API & Documentation

For documentation on the vex python library:

https://www.robotmesh.com/docs/vexv5-python/html/annotated.html

For documentation for EDR:

https://www.robotmesh.com/docs/vexcortex-python/html/classvex_1_1_motor.html#details

More Examples

For more examples than the ones provided please check out my main vex robotics repositiory https://github.com/dombarter/choochoochoo where you can see the code for the 2018-2019 Turning Point game.

If you have trouble with the documentation I would also recommend downloading the robot mesh IDE for a little while as this really helps with autocomplete and setting up parameters correctly.

Help

If you need any help with programming or designing robots please don't hesitate to contact me, my email can be found on my profile page: https://github.com/dombarter

About

Code examples for using python with RobotMesh and V5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%