View Single Post
  #1   Spotlight this post!  
Unread 01-07-2016, 01:31 PM
InsaneBeaver InsaneBeaver is offline
Registered User
AKA: Olivier Lalonde
FRC #3990 (T4K)
Team Role: Student
 
Join Date: Dec 2015
Rookie Year: 2015
Location: Montreal, Quebec, Canada
Posts: 1
InsaneBeaver is an unknown quantity at this point
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!
Reply With Quote