V-ART
offsetmodifier.h
Go to the documentation of this file.
1 
5 #ifndef VART_OFFSETMODIFIER_H
6 #define VART_OFFSETMODIFIER_H
7 
8 #include "vart/joint.h"
9 #include "vart/dmmodifier.h"
10 #include <map>
11 #include <string>
12 
13 namespace VART {
18  class OffsetModifier : public DMModifier
19  {
20  public:
21  // PUBLIC STATIC METHODS
22  // PUBLIC METHODS
24  virtual void Modify(NoisyDofMover* moverPtr);
25  void LoadFromFile(const std::string& fileName);
26  float weight;
27  protected:
28  typedef std::map<Joint::DofID, float> DofID2Offset;
29  typedef std::map<std::string, DofID2Offset> Joint2DofIDs;
30  // PROTECTED STATIC METHODS
31  // PROTECTED METHODS
32  // PROTECTED STATIC ATTRIBUTES
33  // PROTECTED ATTRIBUTES
35  }; // end class declaration
36 } // end namespace
37 
38 #endif
Joint2DofIDs offsetMap
An object that modifies noisy dof movers.
Definition: dmmodifier.h:15
Header file for V-ART class "Joint".
virtual void Modify(NoisyDofMover *moverPtr)
std::map< Joint::DofID, float > DofID2Offset
Noisy Controller for DOF movement.
Definition: noisydofmover.h:17
std::map< std::string, DofID2Offset > Joint2DofIDs
void LoadFromFile(const std::string &fileName)