moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
online_signal_smoothing::CSCWrapper Struct Reference

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

Public Member Functions

 CSCWrapper (Eigen::SparseMatrix< double > &M)
void update (Eigen::SparseMatrix< double > &M)
 Update the the data point to by sparse_matrix without reallocating memory.

Public Attributes

std::vector< OSQPIntrow_indices
 row indices, size nzmax starting from 0
std::vector< OSQPIntcolumn_pointers
 column pointers (size n+1); col indices (size nzmax)
std::vector< double > elements
 holds the non-zero values in Compressed Sparse Column (CSC) form
OSQPCscMatrix csc_sparse_matrix
 osqp C sparse_matrix type

Detailed Description

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

Definition at line 63 of file acceleration_filter.cpp.

Constructor & Destructor Documentation

◆ CSCWrapper()

online_signal_smoothing::CSCWrapper::CSCWrapper ( Eigen::SparseMatrix< double > & M)
inline

Definition at line 74 of file acceleration_filter.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ update()

void online_signal_smoothing::CSCWrapper::update ( Eigen::SparseMatrix< double > & M)
inline

Update the the data point to by sparse_matrix without reallocating memory.

Definition at line 93 of file acceleration_filter.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ column_pointers

std::vector<OSQPInt> online_signal_smoothing::CSCWrapper::column_pointers

column pointers (size n+1); col indices (size nzmax)

Definition at line 68 of file acceleration_filter.cpp.

◆ csc_sparse_matrix

OSQPCscMatrix online_signal_smoothing::CSCWrapper::csc_sparse_matrix

osqp C sparse_matrix type

Definition at line 72 of file acceleration_filter.cpp.

◆ elements

std::vector<double> online_signal_smoothing::CSCWrapper::elements

holds the non-zero values in Compressed Sparse Column (CSC) form

Definition at line 70 of file acceleration_filter.cpp.

◆ row_indices

std::vector<OSQPInt> online_signal_smoothing::CSCWrapper::row_indices

row indices, size nzmax starting from 0

Definition at line 66 of file acceleration_filter.cpp.


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