2
* Robot3D Physical realistic 3D simulator for robots
4
* @license GNU Lesser General Public License
7
* @author Anne C. van Rossum
10
#include <srFactory/actuatorFactory.h>
15
dtCore::RefPtr<ActuatorBase> ActuatorFactory::createActuator(actuatortype type,
16
dtCore::RefPtr<BodyBase> body1, dtCore::RefPtr<BodyBase> body2,
17
float anchorX, float anchorY, float anchorZ,
18
float axisX, float axisY, float axisZ,
19
const std::string &name)
27
return new HingeUniKarl(
29
anchorX, anchorY, anchorZ,
30
axisX, axisY, axisZ, name);
33
return new WheelUniKarl(
35
anchorX, anchorY, anchorZ,
36
axisX, axisY, axisZ, name);
45
ActuatorFactory::~ActuatorFactory() {