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::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< c_int > row_indices
 row indices, size nzmax starting from 0
 
std::vector< c_int > column_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
 
csc 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 56 of file acceleration_filter.cpp.

Constructor & Destructor Documentation

◆ CSCWrapper()

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

Definition at line 67 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 86 of file acceleration_filter.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ column_pointers

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

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

Definition at line 61 of file acceleration_filter.cpp.

◆ csc_sparse_matrix

csc online_signal_smoothing::CSCWrapper::csc_sparse_matrix

osqp C sparse_matrix type

Definition at line 65 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 63 of file acceleration_filter.cpp.

◆ row_indices

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

row indices, size nzmax starting from 0

Definition at line 59 of file acceleration_filter.cpp.


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