Software
LemLib
By LemLib, from github.com/LemLib/LemLib (opens in a new tab)
- Navigation and mapping
- Library
- MIT
LemLib is an open-source PROS template for VEX V5 robots that provides odometry, path following, and motion algorithms for tank-drive robots.
Facts
- GitHub stars
- 258read on 28 Nov 2026
- Last update
- 19 May 2026Newest commit on master
- Maintenance
- Maintaineda commit in the last 12 months
- Difficulty
- Intermediate
- Hardware it needs, as the project states it
- VEX V5 robot running PROS; a tank/differential drivetrain and an inertial sensor are recommended, and tracking wheels are optional.
Checked on GitHub on 28 Nov 2026.
Licenses
- Code
- MIT (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit 9c112b9 (opens in a new tab), on 16 Oct 2026.
- Commercial use
- Yes
At a glance
- What it is
- Provides odometry that can use an inertial sensor and tracking wheels, or work without tracking wheels.
- Offers motion commands such as turning to face a point or heading, swinging, and moving to a pose via boomerang.
- Includes path following using pure pursuit and motion chaining.
- Gives driver control options including arcade, tank, and curvature control, with expo curves and deadzone compensation.
- Includes a generic PID class.
- Only tank or differential drivetrains are supported.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- MIT. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's website (opens in a new tab)
- Maintenance
- Maintained, last commit on 19 May 2026.
Use it
How to install it, in the creator's words: The project's website (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/LemLib/LemLib (opens in a new tab)
- The version Robotheca read9c112b9 (opens in a new tab)
- Latest releasev0.5.6 - Hardware Float ABI (18 Jun 2025)
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by LemLib, at commit 9c112b9, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here

[!IMPORTANT] LemLib is being written from scratch for its upcoming v0.6.0 release. You can find the source code for the latest stable version of LemLib here (opens in a new tab)
Welcome to LemLib! This open-source PROS template aims to introduce common algorithms like Pure Pursuit and Odometry for new and experienced teams alike.
The creation of this template was inspired by EZ-Template (opens in a new tab) and OkapiLib (opens in a new tab). We aim to develop a library that strikes a balance between ease-of-use, akin to that of EZ-Template, and comprehensive functionality, similar to that of OkapiLib.
Want a place to chat with the devs and other users? Join our Discord server (opens in a new tab).
License
This project is licensed under the MIT license. Check LICENSE (opens in a new tab) for more details.
Features
- Generic PID class
- Odometry
- Supports IMU
- Works without tracking wheels
- Supports all tracking wheels configurations
- Turn to face point
- Turn to face heading
- Swing to face point
- Swing to face heading
- Move to Pose via boomerang
- Path Following via pure pursuit
- Motion Chaining
- Driver Control
- Expo drive curves
- Smooth deadzone compensation
- Minimum output
- Arcade control (single or double stick)
- Tank control
- Curvature control (single or double stick)
- turn-steer prioritization
Example Project
You can find a fully annotated example project here (opens in a new tab).
Tutorials
The tutorials (opens in a new tab) provide a detailed walkthrough through all the features of LemLib. It covers everything from installation to Path Following:
FAQ
1. Help! Why is my controller vibrating? If your controller vibrated more than once, your inertial sensor calibration failed. Check if it's connected to the right port and try again.
2. What drivetrains are supported? Only tank/differential. This is not going to change until other drivetrains are competitive.
3. Do I need tracking wheels? No, but it is recommended. You should absolutely have a horizontal tracking wheel if you don't have traction wheels, and you have to spend extra effort tuning your movements to prevent any wheel slip.
4. Do I need an inertial sensor? No, but it is highly recommended. The one exception to this would be if you have 2 parallel tracking wheels which are tuned well and are perfectly square. LemLib will work without it, but the accuracy will be compromised.
5. Do I need an SD card? As of v0.5.0, no SD card is necessary.
6. What are the units? The units are inches and degrees. In a future release, Qunits will be used so you can use whatever units you like.
7. Is LemLib V5RC legal? Yes. Per the RECF student-centred policy, in the context of third-party libraries.
Students should be able to understand and explain the code used on their robots
In other words, you need to know how LemLib works. You don't need to know the details like all the math, just more or less how the algorithm works. If you want to learn more about LemLib, you can look through the documentation and ask questions on our Discord server.
Documentation
Check out the Documentation (opens in a new tab).
Contributing
Want to contribute? Please read CONTRIBUTING.md (opens in a new tab) and join our Discord server (opens in a new tab).
Code of Conduct
See the Code of Conduct (opens in a new tab) on how to behave like an adult.
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.