Home Projects ocs2
ocs2
C++

ocs2

Optimal Control for Switched Systems

by leggedrobotics · GitHub
Stars
Forks
Created
Last commit
Category
Language
controlmpcoptimal-controlBSD-3-ClauseC++
View on GitHub
In plain words

Solve complex control problems in robotics using this toolbox for real-time decision-making.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
ocs2 — GitHub preview card
📈 Star history
1 4621 461
2026-07-202026-08-31
📈 Track ocs2

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

Optimal Control for Switched Systems

ocs2 has 1.5k stars on GitHub. It has been forked 330 times. ocs2 is written mainly in C++. It has been in active development since 2021. ocs2 is available under the BSD-3-Clause license. Its main topics are control, mpc, optimal-control, robotics.

Frequently asked questions

What is ocs2?

Optimal Control for Switched Systems

Is ocs2 open source?

ocs2 is an open-source project. It is released under the BSD-3-Clause license.

Is ocs2 free?

Yes. ocs2 is free and open source — you can use, modify and self-host it.

What license does ocs2 use?

ocs2 is available under the BSD-3-Clause license.

What language is ocs2 written in?

ocs2 is written mainly in C++.

🏅 Maintainer of this project?
olud.ai badge — ocs2

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=leggedrobotics-ocs2)](https://olud.ai/project/leggedrobotics-ocs2.html)
More badge options →
🧬 Shares DNA with🧬 View the DNA map →

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.