RotateMotorPID simultaneously: 3 motors, 3 different targets

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
linusa
Posts: 228
Joined: 16 Oct 2010, 11:44
Location: Aachen, Germany
Contact:

Re: RotateMotorPID simultaneously: 3 motors, 3 different targets

Post by linusa »

doc-helmut wrote: In the "custom PID control" thread I needed only the PID controller code, not the whole chunk of motor control code, a link to the whole RWTH library is not very helpful.
...
no, it's not free of side effects (as I described before): I only was using RotationCount but also had issues with memory effects of RotateMotorPID!
The link was to the MotorControl program! The file ControllerCore.nxc has the PD controller inside. The relevant code starts at line 585.

Could you please show the side effects you mean in either the firmware sourcecode or in the code of RotateMotorPID?
RWTH - Mindstorms NXT Toolbox for MATLAB
state of the art in nxt remote control programming
http://www.mindstorms.rwth-aachen.de
MotorControl now also in Python, .net, and Mathematica
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 2 guests