WB-Toolbox  6.0.0
ASimulinkToolboxforWholeBodyControl
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
wbt::block::OSQP Class Referencefinal

The wbt::OSQP class. More...

#include <OSQP.h>

Inheritance diagram for wbt::block::OSQP:
[legend]

Detailed Description

The wbt::OSQP class.

Parameters

In addition to block_parameters, wbt::OSQP requires:

Type Index Rows Cols Name
ParameterType::BOOL 0 + Block::NumberOfParameters 1 1 "UseLba"
ParameterType::BOOL 1 + Block::NumberOfParameters 1 1 "UseUbA"
ParameterType::BOOL 2 + Block::NumberOfParameters 1 1 "UseLb"
ParameterType::BOOL 3 + Block::NumberOfParameters 1 1 "UseUb"
ParameterType::BOOL 4 + Block::NumberOfParameters 1 1 "ComputeObjVal"
ParameterType::BOOL 5 + Block::NumberOfParameters 1 1 "StopWhenFails"
ParameterType::BOOL 6 + Block::NumberOfParameters 1 1 "AdaptiveRho"
ParameterType::BOOL 7 + Block::NumberOfParameters 1 1 "Polish"
ParameterType::BOOL 8 + Block::NumberOfParameters 1 1 "MaxIterations"

Classes

class  impl
 

Public Member Functions

 OSQP ()
 
 ~OSQP () override
 
unsigned numberOfParameters () override
 
bool parseParameters (blockfactory::core::BlockInformation *blockInfo) override
 
bool configureSizeAndPorts (blockfactory::core::BlockInformation *blockInfo) override
 
bool initialize (blockfactory::core::BlockInformation *blockInfo) override
 
bool initializeInitialConditions (const blockfactory::core::BlockInformation *blockInfo) override
 
bool output (const blockfactory::core::BlockInformation *blockInfo) override
 

Private Member Functions

bool solverInitialization (const blockfactory::core::BlockInformation *blockInfo)
 

Private Attributes

std::unique_ptr< implpImpl
 

Constructor & Destructor Documentation

◆ OSQP()

wbt::block::OSQP::OSQP ( )

◆ ~OSQP()

wbt::block::OSQP::~OSQP ( )
overridedefault

Member Function Documentation

◆ configureSizeAndPorts()

bool wbt::block::OSQP::configureSizeAndPorts ( blockfactory::core::BlockInformation *  blockInfo)
override

◆ initialize()

bool wbt::block::OSQP::initialize ( blockfactory::core::BlockInformation *  blockInfo)
override

◆ initializeInitialConditions()

bool wbt::block::OSQP::initializeInitialConditions ( const blockfactory::core::BlockInformation *  blockInfo)
override

◆ numberOfParameters()

unsigned wbt::block::OSQP::numberOfParameters ( )
override

◆ output()

bool wbt::block::OSQP::output ( const blockfactory::core::BlockInformation *  blockInfo)
override

◆ parseParameters()

bool wbt::block::OSQP::parseParameters ( blockfactory::core::BlockInformation *  blockInfo)
override

◆ solverInitialization()

bool wbt::block::OSQP::solverInitialization ( const blockfactory::core::BlockInformation *  blockInfo)
private

Member Data Documentation

◆ pImpl

std::unique_ptr<impl> wbt::block::OSQP::pImpl
private

The documentation for this class was generated from the following files: