|
acados_solver_ros2 main
Acados-based NMPC controllers for ROS2 control
|
Functions | |
| ensure_dir_exists (dir_path) | |
| delete_dir_recursively (dir_path, keep_empty_folder=True) | |
| str | uppercase_to_underscore (str string) |
Variables | |
| _uppercase_part = re.compile('[A-Z][^A-Z]*') | |
| acados_solver_plugins.utils.ensure_dir_exists | ( | dir_path | ) |
| acados_solver_plugins.utils.delete_dir_recursively | ( | dir_path, | |
keep_empty_folder = True |
|||
| ) |
| 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"
|
protected |