#include <PPDRodLength.h>
Public Member Functions | |
PPDRodLength () | |
virtual void | getValues (PropertySink *outValues) |
virtual void | setValues (PropertySource *inValues) |
![]() | |
PhysicsParameterDescriptor () | |
virtual | ~PhysicsParameterDescriptor () |
Protected Member Functions | |
virtual void | init (BodyParamInfo *bpi) |
Private Attributes | |
std::string | propertyName |
RcsShape * | rodShape |
double | rodDirection [3] |
double | rodOffset [3] |
RcsJoint * | childJoint |
double | jointOffset [3] |
Additional Inherited Members | |
![]() | |
BodyParamInfo * | bodyParamInfo |
Adjusts a rod's / cylinder's length and shift it accordingly. It assumes that the rod is aligned with the body's z axis. This class has be written with the QuanserQube in mind The mass properties are not adjusted automatically, so you should put a PPDMassProperties behind this descriptor.
Definition at line 45 of file PPDRodLength.h.
Rcs::PPDRodLength::PPDRodLength | ( | ) |
Definition at line 38 of file PPDRodLength.cpp.
|
virtual |
Read values from graph and put them into the given dict.
Implements Rcs::PhysicsParameterDescriptor.
Definition at line 122 of file PPDRodLength.cpp.
|
protectedvirtual |
Setup descriptor to work on the given body reference. Override for more custom initialization.
Reimplemented from Rcs::PhysicsParameterDescriptor.
Definition at line 46 of file PPDRodLength.cpp.
|
virtual |
Read values from the given dict and apply them to the graph. The parameter names need to be the same as in Rcs, e.g. rolling_friction_coefficient.
Implements Rcs::PhysicsParameterDescriptor.
Definition at line 102 of file PPDRodLength.cpp.
|
private |
Definition at line 59 of file PPDRodLength.h.
|
private |
Definition at line 61 of file PPDRodLength.h.
|
private |
Definition at line 49 of file PPDRodLength.h.
|
private |
Definition at line 54 of file PPDRodLength.h.
|
private |
Definition at line 56 of file PPDRodLength.h.
|
private |
Definition at line 51 of file PPDRodLength.h.