Changeset 658 for branches/atorf/NXC/MotorControl2/ControllerCore.nxc
- Timestamp:
- 07/14/09 20:00:47 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/atorf/NXC/MotorControl2/ControllerCore.nxc
r657 r658 1 //#!C 1 2 /* 2 3 % Part of MotorControl containing the main PD-controller function, to be … … 134 135 // * tacholimit already... 135 136 136 //TODO optimization: instead of passing speedreg and doing calculations THEN,137 // do the if before and use MotorCmdSingleNoReg / MotorCmdSingleReg138 137 // do not yet enable speedreg 139 138 #ifdef RUNMOTOR2_SYNCMODE … … 144 143 145 144 146 //TODO remove this debug info...147 145 #ifdef ENABLEDEBUGGING_OLDLCDTIMING 148 motorStartedTime = CurrentTick() - receivedMsgTime; // NEW DEBUG149 #endif146 motorStartedTime = CurrentTick() - receivedMsgTime; // NEW DEBUG 147 #endif 150 148 151 149
