A system for running LuaJIT powered FRC and other robots.
- CMake - Build system.
- Python - Required for yaml parsing and benchmarking.
- Ninja - Recommended. The build instructions assume you have it.
- Docker - Required to cross-compile LuaJIT for roboRIO
- CCache - Recommended for faster rebuilds.
This projected includes various dependencies as submodules. Make sure to either clone with submodules.
git clone https://github.com/snidercs/luabot --recurse-submodulesOr if you did a normal clone, initialize them
git submodule update --init --recursiveLuaJIT needs built outside of cmake. We have scripting for that. Linux
sh util/build-luajit-linux.shmacOS
sh util/build-luajit-macos.shWindows TODO: coming soon...
Your system might not have the yaml library for Python.
The steps here are for a Unix based system but should work on any platform with C++.
# Configure the build directory
cmake -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Release
# Compile it
ninja -C build
# Test it
ninja -C build test