source: proiecte/SIMEO/Simeo/src/SimeoEngine/ActuatorProvider.h @ 167

Last change on this file since 167 was 167, checked in by (none), 14 years ago

Simeo: added final project and also older proof of concept code.

We used Git for version control, so look at the Git repo
in SIMEO/Simeo/ for more info.

File size: 561 bytes
Line 
1#ifndef ACTUATORPROVIDER_H
2#define ACTUATORPROVIDER_H
3
4#include "Channel.h"
5#include "XProvider.h"
6#include "btBulletDynamicsCommon.h"
7
8class ActuatorProvider : public XProvider
9{
10private:
11        btHingeConstraint *m_joint;
12        int m_orient;
13        btScalar computeVelocity(btScalar currentAngle, btScalar targetAngle);
14
15public:
16        ActuatorProvider(Channel *chan, btHingeConstraint *joint, int orient);
17        ~ActuatorProvider();
18
19        btHingeConstraint *getConstraint();
20        int getOrient();
21
22        void updatePost();
23
24        void packData(channelData *data, int id);
25};
26
27#endif //ACTUATORPROVIDER_H
Note: See TracBrowser for help on using the repository browser.