5
* This class simulates a steerable wheel. It uses the ode Hinge2 joint.
7
* Note: Currently this class is not in use and therefore not up-to-date or even valid.
16
#include <dtCore/dt.h>
17
#include <dtCore/object.h>
18
#include <dtCore/globals.h>
19
#include <dtCore/transform.h>
20
#include <dtGame/gameactor.h>
21
#include <dtCore/refptr.h>
25
#include <osgDB/ReadFile>
29
#include "actuatorBase.h"
33
class WheelActuator : public ActuatorBase
36
WheelActuator(const std::string name, const std::string type);
37
virtual ~WheelActuator();
39
//! initializes the connector. Needs to be called before using the wheel.
40
void init( dtCore::RefPtr<BodyBase> myBody1, dtCore::RefPtr<BodyBase> myBody2,
41
float anchorX, float anchorY, float anchorZ,
42
float axis1_X, float axis1_Y, float axis1_Z,
43
float axis2_X, float axis2_Y, float axis2_Z);
45
//Todo: one time there should not be the need anymore to access the joint directly:
48
void registerActuator();
50
//! Sets ode parameters for the joint. For more Information, see www.ode.org/ode-latest-user-guide.org.
51
void setODEParameter(int parameter, float value);
59
#endif /*WHEELACTOR_H_*/