Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Idea for autonomous mode with lua (http://www.chiefdelphi.com/forums/showthread.php?t=140993)

InsaneBeaver 01-07-2016 01:31 PM

Idea for autonomous mode with lua
 
Hi all,
I have created a new way of operating the robot during the autonomous mode with lua:

https://github.com/team3990/Lua
In my opinion, it's much more efficient than state machines for linear autonomous modes.

The project not only uses a command file, but commands are written in lua, so you don't have to recompile and deploy the whole time every time you want to change something. Please read the README for more information.

To use this on the RoboRIO, download lua's source code, compile it with the FRC toolchain, include liblua.a in your eclipse project and add LuaWrapper.cpp/h. main.cpp is just a demo.

This code is designed for the iterative mode, by the way.

Hope this is helpful and thanks in advance for feedback!


All times are GMT -5. The time now is 10:49 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi