aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/Source/d_output.c
AgeCommit message (Collapse)Author
2011-07-04Merge branch 'jch-import' into jch-mergeNicolas Schodet
Conflicts: AT91SAM7S256/Source/BtTest.inc AT91SAM7S256/Source/Functions.inl AT91SAM7S256/Source/Ui.txt AT91SAM7S256/Source/c_cmd.c AT91SAM7S256/Source/c_input.c AT91SAM7S256/Source/c_output.c AT91SAM7S256/Source/c_ui.c AT91SAM7S256/Source/c_ui.h AT91SAM7S256/Source/d_loader.h AT91SAM7S256/Source/d_lowspeed.r AT91SAM7S256/Source/d_output.c AT91SAM7S256/Source/d_output.h
2011-07-04Added position regulation mode (Nicolas Schodet)John Hansen
git-svn-id: https://mindboards.svn.sourceforge.net/svnroot/mindboards/lms_nbcnxc/branches/version_131@37 c9361245-7fe8-9947-84e8-057757c4e366
2011-07-04motor control and rs485 changesJohn Hansen
git-svn-id: https://mindboards.svn.sourceforge.net/svnroot/mindboards/lms_nbcnxc/branches/version_131@28 c9361245-7fe8-9947-84e8-057757c4e366
2011-07-04regulation mode at limit changestcsadmin
git-svn-id: https://mindboards.svn.sourceforge.net/svnroot/mindboards/lms_nbcnxc/branches/version_131@26 c9361245-7fe8-9947-84e8-057757c4e366
2011-07-04NBCNXC_131John Hansen
git-svn-id: https://mindboards.svn.sourceforge.net/svnroot/mindboards/lms_nbcnxc_128/trunk@21 c9361245-7fe8-9947-84e8-057757c4e366
2011-07-04whitespace changestcsadmin
git-svn-id: https://mindboards.svn.sourceforge.net/svnroot/mindboards/lms_nbcnxc_128/trunk@16 c9361245-7fe8-9947-84e8-057757c4e366
2011-07-04git-svn-id: ↵jhansen
https://mindboards.svn.sourceforge.net/svnroot/mindboards/lms_nbcnxc_128/trunk@6 c9361245-7fe8-9947-84e8-057757c4e366
2011-02-09provide access to the maximum speed and acceleration from user code and iomapNicolas Schodet
2011-02-09add speed and acceleration limit to absolute position regulationNicolas Schodet
When the set position is changed, absolute position regulation will run the motor as fast as possible to reach the requested position. This is not always the needed behaviour. This commit add speed and acceleration filtering to the position change.
2011-02-09slightly change the fractional change algorithm to minimize mean errorNicolas Schodet
2011-02-09move fractional position error code in its own functionNicolas Schodet
2011-02-09factorize code used for PID regulationNicolas Schodet
2011-02-09add option to disable saturation in regulation intermediary valuesNicolas Schodet
When computing PID, the output code limit the value of P and I participation. This is a problem as this introduces non-linearities and limits the efficiency of P and I terms.
2011-01-29add fractional speed support for faster regulationsNicolas Schodet
Original speed ranges from 0 to 100 per 100 ms. To keep the same range while lowering the regulation delay, a scaling must be done. This change scales the speed value and add support for fractional speed in order to keep the same granularity.
2011-01-29replace unused PwnFreq IOMap with RegulationTimeNicolas Schodet
2011-01-29add absolute position controlNicolas Schodet
2011-01-29use SLONG instead of SWORD in output codeNicolas Schodet
The ARM is working in 32 bit; there is no gain in working with 16 bit integers which are actually half words on 32 bit systems.
2011-01-27use a function for bounds checking in output codeNicolas Schodet
2011-01-21replace many array indexes with pointer access, remove duplicated codeJohn Hansen
Imported from NXT Enhanced Firmware.
2010-08-19import firmware from LEGO v1.29lego-1.29legoNicolas Schodet
2010-08-19import firmware from LEGO v1.05lego-1.05Nicolas Schodet