acados_solver_ros2  main
Acados-based NMPC controllers for ROS2 control
Functions
acados_solver_plugins.utils Namespace Reference

Functions

def ensure_dir_exists (dir_path)
 
def delete_dir_recursively (dir_path, keep_empty_folder=True)
 
str uppercase_to_underscore (str string)
 

Function Documentation

◆ ensure_dir_exists()

def acados_solver_plugins.utils.ensure_dir_exists (   dir_path)

◆ delete_dir_recursively()

def acados_solver_plugins.utils.delete_dir_recursively (   dir_path,
  keep_empty_folder = True 
)

◆ uppercase_to_underscore()

str acados_solver_plugins.utils.uppercase_to_underscore ( str  string)
Reformat a camel case string to snake case.

:param string: The string to reformat
:type string: str
:return: Snake case reformated string
:rtype: str

>>> uppercase_to_underscore("TestClass")
"test_class"