| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
PostureEngine Class Reference#include <PostureEngine.h>
Inheritance diagram for PostureEngine: ![]() Detailed DescriptionA class for storing a set of positions and weights for all the outputs.Handy for any class which wants to deal with setting joints and postures without writing a custom class
Definition at line 21 of file PostureEngine.h.
Constructor & Destructor Documentation
constructor, loads a position from a file
Definition at line 30 of file PostureEngine.h.
Member Function Documentation
returns the average sum squared error between this and pe's output values for outputs which are both not unused
Definition at line 107 of file PostureEngine.cc.
computes a weighted average of this vs. pe, w being the weight towards pe (so w==1 just copies pe)
joints being averaged with weight<=0 have their weights averaged, but not their values (so an output can crossfade properly)
Definition at line 81 of file PostureEngine.cc.
returns the sum squared error between this and pe's output values, but only between outputs which are both not unused
Definition at line 97 of file PostureEngine.cc.
returns the max error between this and pe's output values for outputs which are both not unused
Definition at line 119 of file PostureEngine.cc.
computes a weighted average of this vs. pe, w being the weight towards pe (so w==1 just copies pe)
joints being averaged with unused joints have their weights averaged, but not their values (so an output can crossfade properly)
Reimplemented in PostureMC. Definition at line 57 of file PostureEngine.cc. Referenced by createAverage(), and PostureMC::setAverage().
Performs inverse kinematics to solve for positioning Peff on link j as close as possible to Ptgt (base coordinates); if solution found, stores result in this posture and returns true.
Reimplemented in PostureMC. Definition at line 119 of file PostureEngine.h.
Performs inverse kinematics to solve for positioning Peff on link j as close as possible to Ptgt (base coordinates in homogenous form); if solution found, stores result in this posture and returns true.
Reimplemented in PostureMC. Definition at line 649 of file PostureEngine.cc. Referenced by PostureMC::solveLinkPosition(), solveLinkPosition(), and solveLinkVector().
Performs inverse kinematics to solve for aligning the vector through Peff on link j and the link's origin to point at Ptgt (base coordinates); if solution found, stores result in this posture and returns true.
Reimplemented in PostureMC. Definition at line 152 of file PostureEngine.h.
Performs inverse kinematics to solve for aligning the vector through Peff on link j and the link's origin to point at Ptgt (base coordinates in homogenous form); if solution found, stores result in this posture and returns true.
Reimplemented in PostureMC. Definition at line 663 of file PostureEngine.cc. Referenced by PostureMC::solveLinkVector(), and solveLinkVector().
Called at the beginning of each function which accesses ROBOOP computations - should make sure the ROBOOP structures are up to date with Tekkotsu structures. This class will pull current values from WorldState, but it is expected that subclasses (i.e. PostureEngine) will want to provide their own joint values. Updates from link 1 through link l.
Reimplemented from Kinematics. Definition at line 690 of file PostureEngine.cc. Referenced by solveLinkPosition().
The documentation for this class was generated from the following files: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Tekkotsu v3.0 |
Generated Fri May 11 20:08:34 2007 by Doxygen 1.4.7 |