|
Robowflex
v0.1
Making MoveIt Easy
|
Class for solving a set of TSRs. More...
#include <gui.h>
Inheritance diagram for robowflex::darts::TSRSolveWidget:Classes | |
| struct | ErrorLines |
| Error plots for TSRs. More... | |
Public Member Functions | |
| TSRSolveWidget (const WorldPtr &world, const std::vector< TSRPtr > &tsrs) | |
| Constructor. More... | |
| TSRSolveWidget (const TSRSetPtr &tsrs) | |
| Constructor. More... | |
| void | initialize (Window *window) override |
| Initialization with window context. More... | |
| void | prerefresh () override |
| Called before window refresh. More... | |
| void | render () override |
| Render GUI. More... | |
| void | solve () |
| Solve for a solution to the current TSR. More... | |
Private Attributes | |
| TSRSetPtr | tsrs_ |
| TSR set. More... | |
GUI Values | |
| const float | max_tolerance_ {0.1f} |
| Max tolerance value. More... | |
| const int | max_iteration_ {200} |
| Max iteration value. More... | |
| const float | drag_tolerance_ {0.01f} |
| Slider drag for tolerance. More... | |
| bool | track_tsr_ {false} |
| Track the TSR by solving IK. More... | |
| bool | use_gradient_ {false} |
| Use gradient solving instead of built-in. More... | |
| bool | need_solve_ {false} |
| A solve is requested. More... | |
| float | step_ |
| GUI gradient step size. More... | |
| float | limit_ |
| GUI gradient limit. More... | |
| float | damping_ |
| GUI SVD damping. More... | |
| float | tolerance_ |
| GUI solver tolerance. More... | |
| int | maxIter_ |
| GUI maximum allowed iterations. More... | |
| int | item_ {0} |
| GUI solver. More... | |
GUI Plots | |
| bool | last_solve_ {false} |
| Result of last TSR solve. More... | |
| LinePlotElement | solve_time_ |
| Plot of TSR solve times. More... | |
| std::vector< ErrorLines > | errors_ |
| TSRSolveWidget::TSRSolveWidget | ( | const WorldPtr & | world, |
| const std::vector< TSRPtr > & | tsrs | ||
| ) |
Constructor.
| [in] | world | World to use. |
| [in] | tsrs | Set of TSRs to consider. |
Definition at line 765 of file gui.cpp.
| TSRSolveWidget::TSRSolveWidget | ( | const TSRSetPtr & | tsrs | ) |
|
overridevirtual |
Initialization with window context.
| [in] | window | GUI window. |
Reimplemented from robowflex::darts::Widget.
Definition at line 903 of file gui.cpp.
|
overridevirtual |
Called before window refresh.
Reimplemented from robowflex::darts::Widget.
Definition at line 961 of file gui.cpp.
|
override |
Render GUI.
Definition at line 774 of file gui.cpp.
| void TSRSolveWidget::solve | ( | ) |
Solve for a solution to the current TSR.
Definition at line 883 of file gui.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |