moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
online_signal_smoothing::OSQPDataWrapper Struct Reference

Wrapper struct to make memory management easier for using osqp's C API. More...

Collaboration diagram for online_signal_smoothing::OSQPDataWrapper:
Collaboration graph
[legend]

Public Member Functions

 OSQPDataWrapper (Eigen::SparseMatrix< double > &objective_sparse, Eigen::SparseMatrix< double > &constraints_sparse)
 
void updateA (OSQPWorkspace *work, Eigen::SparseMatrix< double > &constraints_sparse)
 Update the constraint matrix A without reallocating memory.
 

Public Attributes

CSCWrapper P
 
CSCWrapper A
 
Eigen::VectorXd q
 
Eigen::VectorXd l
 
Eigen::VectorXd u
 
OSQPData data {}
 

Detailed Description

Wrapper struct to make memory management easier for using osqp's C API.

Definition at line 107 of file acceleration_filter.cpp.

Constructor & Destructor Documentation

◆ OSQPDataWrapper()

online_signal_smoothing::OSQPDataWrapper::OSQPDataWrapper ( Eigen::SparseMatrix< double > &  objective_sparse,
Eigen::SparseMatrix< double > &  constraints_sparse 
)
inline

Definition at line 109 of file acceleration_filter.cpp.

Member Function Documentation

◆ updateA()

void online_signal_smoothing::OSQPDataWrapper::updateA ( OSQPWorkspace *  work,
Eigen::SparseMatrix< double > &  constraints_sparse 
)
inline

Update the constraint matrix A without reallocating memory.

Definition at line 125 of file acceleration_filter.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ A

CSCWrapper online_signal_smoothing::OSQPDataWrapper::A

Definition at line 133 of file acceleration_filter.cpp.

◆ data

OSQPData online_signal_smoothing::OSQPDataWrapper::data {}

Definition at line 137 of file acceleration_filter.cpp.

◆ l

Eigen::VectorXd online_signal_smoothing::OSQPDataWrapper::l

Definition at line 135 of file acceleration_filter.cpp.

◆ P

CSCWrapper online_signal_smoothing::OSQPDataWrapper::P

Definition at line 132 of file acceleration_filter.cpp.

◆ q

Eigen::VectorXd online_signal_smoothing::OSQPDataWrapper::q

Definition at line 134 of file acceleration_filter.cpp.

◆ u

Eigen::VectorXd online_signal_smoothing::OSQPDataWrapper::u

Definition at line 136 of file acceleration_filter.cpp.


The documentation for this struct was generated from the following file: