Skip to content

leggedrobotics/ocs2

Folders and files

NameName
Last commit message
Last commit date
Dec 2, 2022
Dec 4, 2022
Dec 14, 2022
Dec 12, 2022
Dec 20, 2022
Oct 27, 2021
Dec 20, 2022
Aug 17, 2022
Dec 2, 2022
Aug 8, 2022
Dec 19, 2022
Aug 11, 2022
Sep 4, 2022
Jan 3, 2023
Dec 9, 2022
Dec 2, 2022
Jan 29, 2023
Jul 13, 2022
Dec 9, 2022
Dec 18, 2022
Jan 29, 2023
Jul 28, 2022
Mar 11, 2022
Feb 12, 2020
Apr 21, 2022
Aug 8, 2018
Aug 5, 2021
Jan 29, 2023

Repository files navigation

OCS2 Toolbox

Summary

OCS2 is a C++ toolbox tailored for Optimal Control for Switched Systems (OCS2). The toolbox provides an efficient implementation of the following algorith

  • SLQ: Continuous-time domin DDP
  • iLQR: Discrete-time domain DDP
  • SQP: Multiple-shooting algorithm based on HPIPM
  • PISOC: Path integral stochatic optimal control

legged-robot

OCS2 handles general path constraints through Augmented Lagrangian or relaxed barrier methods. To facilitate the application of OCS2 in robotic tasks, it provides the user with additional tools to set up the system dynamics (such as kinematic or dynamic models) and cost/constraints (such as self-collision avoidance and end-effector tracking) from a URDF model. The library also provides an automatic differentiation tool to calculate derivatives of the system dynamics, constraints, and cost. To facilitate its deployment on robotic platforms, the OCS2 provides tools for ROS interfaces. The toolbox’s efficient and numerically stable implementations in conjunction with its user-friendly interface have paved the way for employing it on numerous robotic applications with limited onboard computation power.

For more information refer to the project's Documentation Page