|
trajectory_optimization v1.3.1
|
Namespace for trajectory_optimization package. More...
Classes | |
| struct | is_vector |
| struct | is_vector< std::vector< T, A > > |
| class | PerformanceLogger |
| struct | PerformanceMetrics |
| class | TrajectoryOptimizationAckermannNode |
| class | TrajectoryOptimizationNode |
| class | TrajectoryOptimizationRWSNode |
Typedefs | |
| typedef std::variant< karl_solver_capsule *, shuttle_solver_capsule * > | ocp_model_capsule_t |
Functions | |
| ocp_model_capsule_t | acados_create_capsule (const std::string &model_name) |
| Creates the model-specific acados capsule selected by the configured model name. | |
| int | acados_create (ocp_model_capsule_t capsule) |
| Wrapper around the generated acados create function for the selected model. | |
| int | acados_create_with_discretization (ocp_model_capsule_t capsule, int n_time_steps, double *new_time_steps) |
| Wrapper around the generated acados create function with custom discretization. | |
| int | acados_free_capsule (ocp_model_capsule_t capsule) |
| Wrapper around the generated acados capsule cleanup function. | |
| int | acados_free (ocp_model_capsule_t capsule) |
| Wrapper around the generated acados solver cleanup function. | |
| int | acados_solve (ocp_model_capsule_t capsule) |
| Wrapper around the generated acados solve function. | |
| void | acados_evaluate_dynamics (ocp_model_capsule_t capsule, int stage, double *x, double *u, double *x_dot) |
| Evaluates the explicit model dynamics for a shooting stage. | |
| int | acados_reset (ocp_model_capsule_t capsule, int reset_qp_solver_mem, int reset_numerical_values, int reset_solver_options, int reset_x_to_x0_bar) |
| Resets selected solver memory without freeing and recreating the capsule. | |
| int | acados_update_params_sparse (ocp_model_capsule_t capsule, int stage, int *idx, double *p, int n_update) |
| Wrapper around the generated sparse parameter update function. | |
| int | acados_set_p_global_and_precompute_dependencies (ocp_model_capsule_t capsule, double *data, int data_len) |
| Wrapper around the generated global-parameter update function. | |
| void | acados_print_stats (ocp_model_capsule_t capsule) |
| Wrapper around the generated acados statistics printer. | |
| ocp_nlp_in * | acados_get_nlp_in (ocp_model_capsule_t capsule) |
| Wrapper around the generated accessor for the OCP input structure. | |
| ocp_nlp_out * | acados_get_nlp_out (ocp_model_capsule_t capsule) |
| Wrapper around the generated accessor for the OCP output structure. | |
| ocp_nlp_solver * | acados_get_nlp_solver (ocp_model_capsule_t capsule) |
| Wrapper around the generated accessor for the OCP solver instance. | |
| ocp_nlp_config * | acados_get_nlp_config (ocp_model_capsule_t capsule) |
| Wrapper around the generated accessor for the OCP configuration. | |
| void * | acados_get_nlp_opts (ocp_model_capsule_t capsule) |
| Wrapper around the generated accessor for the OCP solver options. | |
| ocp_nlp_dims * | acados_get_nlp_dims (ocp_model_capsule_t capsule) |
| Wrapper around the generated accessor for the OCP dimensions. | |
Variables | |
| template<typename C > | |
| constexpr bool | is_vector_v = is_vector<C>::value |
Namespace for trajectory_optimization package.
| typedef std::variant<karl_solver_capsule*, shuttle_solver_capsule*> trajectory_optimization::ocp_model_capsule_t |
Definition at line 23 of file ocp_model_handler.hpp.
|
inline |
Wrapper around the generated acados create function for the selected model.
| [in] | capsule | Variant holding the model-specific acados capsule. |
Definition at line 57 of file ocp_model_handler.hpp.
|
inline |
Creates the model-specific acados capsule selected by the configured model name.
| [in] | model_name | Name of the generated acados model. |
| std::invalid_argument | If no generated model matches the given name. |
Definition at line 32 of file ocp_model_handler.hpp.
|
inline |
Wrapper around the generated acados create function with custom discretization.
| [in] | capsule | Variant holding the model-specific acados capsule. |
| [in] | n_time_steps | Number of shooting intervals. |
| [in] | new_time_steps | Time-step array passed through to acados. |
Definition at line 67 of file ocp_model_handler.hpp.
|
inline |
Evaluates the explicit model dynamics for a shooting stage.
| [in] | capsule | Variant holding the model-specific acados capsule. |
| [in] | stage | Shooting stage whose dynamics function is evaluated. |
| [in] | x | State vector at which to evaluate the dynamics. |
| [in] | u | Control vector at which to evaluate the dynamics. |
| [out] | x_dot | Evaluated state derivative. |
Definition at line 104 of file ocp_model_handler.hpp.
|
inline |
Wrapper around the generated acados solver cleanup function.
| [in] | capsule | Variant holding the model-specific acados capsule. |
Definition at line 85 of file ocp_model_handler.hpp.
|
inline |
Wrapper around the generated acados capsule cleanup function.
| [in] | capsule | Variant holding the model-specific acados capsule. |
Definition at line 77 of file ocp_model_handler.hpp.
|
inline |
Wrapper around the generated accessor for the OCP configuration.
| [in] | capsule | Variant holding the model-specific acados capsule. |
ocp_nlp_config. Definition at line 196 of file ocp_model_handler.hpp.
|
inline |
Wrapper around the generated accessor for the OCP dimensions.
| [in] | capsule | Variant holding the model-specific acados capsule. |
ocp_nlp_dims. Definition at line 212 of file ocp_model_handler.hpp.
|
inline |
Wrapper around the generated accessor for the OCP input structure.
| [in] | capsule | Variant holding the model-specific acados capsule. |
ocp_nlp_in. Definition at line 172 of file ocp_model_handler.hpp.
|
inline |
Wrapper around the generated accessor for the OCP solver options.
| [in] | capsule | Variant holding the model-specific acados capsule. |
Definition at line 204 of file ocp_model_handler.hpp.
|
inline |
Wrapper around the generated accessor for the OCP output structure.
| [in] | capsule | Variant holding the model-specific acados capsule. |
ocp_nlp_out. Definition at line 180 of file ocp_model_handler.hpp.
|
inline |
Wrapper around the generated accessor for the OCP solver instance.
| [in] | capsule | Variant holding the model-specific acados capsule. |
ocp_nlp_solver. Definition at line 188 of file ocp_model_handler.hpp.
|
inline |
Wrapper around the generated acados statistics printer.
| [in] | capsule | Variant holding the model-specific acados capsule. |
Definition at line 164 of file ocp_model_handler.hpp.
|
inline |
Resets selected solver memory without freeing and recreating the capsule.
Definition at line 125 of file ocp_model_handler.hpp.
|
inline |
Wrapper around the generated global-parameter update function.
| [in] | capsule | Variant holding the model-specific acados capsule. |
| [in] | data | Global parameter buffer. |
| [in] | data_len | Number of entries in data. |
Definition at line 155 of file ocp_model_handler.hpp.
|
inline |
Wrapper around the generated acados solve function.
| [in] | capsule | Variant holding the model-specific acados capsule. |
Definition at line 93 of file ocp_model_handler.hpp.
|
inline |
Wrapper around the generated sparse parameter update function.
| [in] | capsule | Variant holding the model-specific acados capsule. |
| [in] | stage | Shooting stage to update. |
| [in] | idx | Indices of the parameters to overwrite. |
| [in] | p | Parameter values written to the selected indices. |
| [in] | n_update | Number of updated parameter entries. |
Definition at line 143 of file ocp_model_handler.hpp.
|
inlineconstexpr |
Definition at line 43 of file trajectory_optimization_node.hpp.