Robot Kodunun Oluşturulması ve Yüklenmesi
RoboRIO üzerinde çalışabilmek için, robot projeleri (“built”) ile derlenmeli ve yüklenmelidir. Kod, robot kontrolcüsünde yerel olarak derlenmediğinden, bu “çapraz derleme” olarak bilinir.
Bir robot projesi oluşturmak veyüklemek için şunlardan birini yapın:
Komut Paletini açın ve “Build Robot Code-Robot Kodu Oluştur” seçin
VS Code penceresinin sağ üst köşesindeki üç nokta ile gösterilen kısayol menüsünü açın ve “Build Robot Code-Robot Kodu Oluştur” seçin.
Proje hiyerarşisinde build.gradle dosyasına sağ tıklayın ve “Build Robot Code-Robot Kodu Oluştur” seçin
Deploy robot code by selecting “Deploy Robot Code” from any of the three locations from the previous instructions. That will build (if necessary) and deploy the robot program to the roboRIO.
Uyarı
Avoid powering off the robot while deploying robot code. Interrupting the deployment process can corrupt the roboRIO filesystem and prevent your code from working until the roboRIO is re-imaged.
If successful, we will see a “Build Successful” message (1) and the RioLog will open with the console output from the robot program as it runs (2).