mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
Update docs for C++ (fixes artf3761 and artf3953)
Change-Id: Ic0c4ac8494cadff13461d9bb8b5943cd87619f0a
This commit is contained in:
@@ -17,6 +17,11 @@
|
||||
* the deadband or inability to saturate the controller in either direction, calibration is recommended.
|
||||
* The calibration procedure can be found in the VictorSP User Manual available from Vex.
|
||||
*
|
||||
* 2.004ms = full "forward"
|
||||
* 1.52ms = the "high end" of the deadband range
|
||||
* 1.50ms = center of the deadband range (off)
|
||||
* 1.48ms = the "low end" of the deadband range
|
||||
* 0.997ms = full "reverse"
|
||||
*/
|
||||
void VictorSP::InitVictorSP() {
|
||||
SetBounds(2.004, 1.52, 1.50, 1.48, .997);
|
||||
@@ -29,7 +34,8 @@ void VictorSP::InitVictorSP() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param channel The PWM channel that the VictorSP is attached to.
|
||||
* Constructor for a VictorSP
|
||||
* @param channel The PWM channel that the VictorSP is attached to. 0-9 are on-board, 10-19 are on the MXP port
|
||||
*/
|
||||
VictorSP::VictorSP(uint32_t channel) : SafePWM(channel)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user