Installation
At this moment, Lightning doesn´t have support for holonomic drives.
Installing PROS
Lightning works with PROS 4 and futher.
PROS is Open Source C/C++ Development for VEX V5 and VEX Cortex made by SIGBots.
Basically, with PROS,we can program the V5 brain and make our robot work. While Lightning it built with PROS, you still need to have PROS installed.
Don´t have PROS installed? Don´t worry! you can find how to install it on the Getting Started page of the PROS documentation site.
Download Lightning
Once you have installed PROS it is time to install Lightning. Check the last releases of the project here.
Then, install the last version of lightninglib_example_project-x.x.x.zip
.
lightninglib_example_project-x.x.x.zip
it is different to lightninglib@x.x.x.zip
.
Ensure that you are downloading the right one.
Extract the zip file
Extract the zip file using your preferred method. If you don´t know how, check this site.
Open the extrated folder in visual studio code
The easiest way to do it is as follows:
- Open
Visual Studio Code
. - Go to
File
. - Then click on
Open Folder
.
- File explorer will open. Now, Select the extrated folder.
- Most of the times, the folder will be in your
Dowloads
directory.
Having problems? No problem! Check this.
Open main.cpp
You will find the main.cpp by going to the Explorer
, then selecting src -> main.cpp
.
The main.cpp
file is your main file. In this file you will programming the driver period, autonomous period and mainly use lightning!.
You finish the set up!
You are now ready to start using lightning 😊🌩️! Check out the tutorials and documentation on the following pages.