RobWorkProject  24.12.4-
Static Public Member Functions | List of all members
BeamStartGuess Class Reference

Utility functions for setting starting guesses for a beam model. More...

#include <BeamStartGuess.hpp>

Static Public Member Functions

static void setZeroStartingGuess (Eigen::VectorXd &avec, std::shared_ptr< ModRusselBeamBase > beamPtr)
 sets a starting guess with all elements of avec initialized to zero More...
 
static void setEulerStartingGuess (Eigen::VectorXd &avec, std::shared_ptr< rwlibs::softbody::BeamGeometryCuboid > beamGeomPtr)
 sets starting guess angles for a cuboid beam initialized to that of an analytical Euler-Bernoulli beam model More...
 

Detailed Description

Utility functions for setting starting guesses for a beam model.

Note
These functions only set the angle of the deformation (contained in avec). Be sure to integrate this yourself should you need the deformation vector!.

Member Function Documentation

◆ setEulerStartingGuess()

static void setEulerStartingGuess ( Eigen::VectorXd &  avec,
std::shared_ptr< rwlibs::softbody::BeamGeometryCuboid beamGeomPtr 
)
static

sets starting guess angles for a cuboid beam initialized to that of an analytical Euler-Bernoulli beam model

Parameters
avecreference to starting guess vector containing angles to be set
beamGeomPtrpointer to the beam geometry

◆ setZeroStartingGuess()

static void setZeroStartingGuess ( Eigen::VectorXd &  avec,
std::shared_ptr< ModRusselBeamBase beamPtr 
)
static

sets a starting guess with all elements of avec initialized to zero

Parameters
avecreference to starting guess vector to be set
beamPtrpointer to the beam

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