Functions | Variables
cphidgetmotorcontrol.c File Reference
#include <string.h>
#include <assert.h>
#include "stdafx.h"
#include "cphidgetmotorcontrol.h"
#include "cusb.h"
#include "csocket.h"
#include "cthread.h"
Include dependency graph for cphidgetmotorcontrol.c:

Go to the source code of this file.

Functions

return CPhidgetMotorControl_getInputCount (phid, pVal)
return CPhidgetMotorControl_getMotorCount (phid, pVal)
return CPhidgetMotorControl_getVelocity (phid, Index, pVal)
return CPhidgetMotorControl_setVelocity (phid, Index, newVal)
 for (i=0;i< MOTORCONTROL_MAXINPUTS;i++)
 for (i=0;i< phid->phid.attr.motorcontrol.numInputs;i++)
 if ()
TESTATTACHED TESTATTACHED
TESTATTACHED 
if (CPhidget_statusFlagIsSet(phid->phid.status, PHIDGET_REMOTE_FLAG))
 switch (phid->phid.deviceIDSpec)
 TESTPTR (phid)
 TESTPTRS (phid, buffer)
 while (readtries-- > 0)

Variables

int accel = 0
phid accelerationMax = PUNI_DBL
phid accelerationMin = PUNI_DBL
int braking = 0
unsigned char dir = 0
else phid encoderPositionDelta [Index] = phid->encoderPositionEcho[Index] + newVal
return EPHIDGET_OK
int i = 0
int j = 0
phid lastPacketCount = PUNK_INT
phid lastVoltage = PUNK_DBL
phid outputPacketLen = 0
TESTATTACHED TESTATTACHED
TESTATTACHED TESTATTACHED
pVal = (phid->encoderPositionEcho[Index] - phid->encoderPositionDelta[Index])
phid ratiometric = PUNK_BOOL
phid ratiometricEcho = PUNI_BOOL
int readtries = 0
phid supplyVoltage = PUNI_DBL
int velocity = 0

Function Documentation

return CPhidgetMotorControl_setVelocity ( phid  ,
Index  ,
newVal   
)
for ( )

Definition at line 18 of file cphidgetmotorcontrol.c.

for ( i  = 0; i<phid->phid.attr.motorcontrol.numInputs; i++)

Definition at line 94 of file cphidgetmotorcontrol.c.

if ( )

Definition at line 185 of file cphidgetmotorcontrol.c.

Definition at line 705 of file cphidgetmotorcontrol.c.

switch ( phid->phid.  deviceIDSpec)

Definition at line 68 of file cphidgetmotorcontrol.c.

TESTPTR ( phid  )
TESTPTRS ( phid  ,
buffer   
)
while ( readtries--  ,
 
)

Definition at line 152 of file cphidgetmotorcontrol.c.


Variable Documentation

int accel = 0

Definition at line 596 of file cphidgetmotorcontrol.c.

Definition at line 15 of file cphidgetmotorcontrol.c.

Definition at line 16 of file cphidgetmotorcontrol.c.

int braking = 0

Definition at line 596 of file cphidgetmotorcontrol.c.

unsigned char dir = 0

Definition at line 597 of file cphidgetmotorcontrol.c.

else phid encoderPositionDelta[Index] = phid->encoderPositionEcho[Index] + newVal

Definition at line 934 of file cphidgetmotorcontrol.c.

return EPHIDGET_OK

Definition at line 53 of file cphidgetmotorcontrol.c.

int i = 0

Definition at line 13 of file cphidgetmotorcontrol.c.

int j = 0

Definition at line 183 of file cphidgetmotorcontrol.c.

Definition at line 137 of file cphidgetmotorcontrol.c.

Definition at line 123 of file cphidgetmotorcontrol.c.

Definition at line 65 of file cphidgetmotorcontrol.c.

Definition at line 919 of file cphidgetmotorcontrol.c.

Definition at line 51 of file cphidgetmotorcontrol.c.

Definition at line 50 of file cphidgetmotorcontrol.c.

int readtries = 0

Definition at line 60 of file cphidgetmotorcontrol.c.

Definition at line 38 of file cphidgetmotorcontrol.c.

int velocity = 0

Definition at line 596 of file cphidgetmotorcontrol.c.



pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:21